Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Cédric Le Ninivin
erp5
Commits
99d97add
Commit
99d97add
authored
Sep 26, 2023
by
Xiaowu Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_trade: keep date from order
parent
1830bba7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
bt5/erp5_trade/DocumentTemplateItem/portal_components/document.erp5.DeliverySimulationRule.py
...portal_components/document.erp5.DeliverySimulationRule.py
+4
-1
No files found.
bt5/erp5_trade/DocumentTemplateItem/portal_components/document.erp5.DeliverySimulationRule.py
View file @
99d97add
...
@@ -84,7 +84,10 @@ class DeliveryRuleMovementGenerator(MovementGeneratorMixin):
...
@@ -84,7 +84,10 @@ class DeliveryRuleMovementGenerator(MovementGeneratorMixin):
def
_getUpdatePropertyDict
(
self
,
input_movement
):
def
_getUpdatePropertyDict
(
self
,
input_movement
):
# Override default mixin implementation
# Override default mixin implementation
return
{
'order'
:
None
,
return
{
'order'
:
None
,
'delivery'
:
None
,}
'delivery'
:
None
,
'start_date'
:
input_movement
.
getStartDate
(),
'stop_date'
:
input_movement
.
getStopDate
()
}
def
_getInputMovementList
(
self
,
movement_list
=
None
,
rounding
=
None
):
def
_getInputMovementList
(
self
,
movement_list
=
None
,
rounding
=
None
):
return
[
self
.
_applied_rule
.
getParentValue
(),]
return
[
self
.
_applied_rule
.
getParentValue
(),]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment