Commit 67d0e767 authored by Jérome Perrin's avatar Jérome Perrin

typo with start_date / stop_date


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4036 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent aa8d5e74
...@@ -73,11 +73,7 @@ class InvoicingRule(Rule): ...@@ -73,11 +73,7 @@ class InvoicingRule(Rule):
security.declareProtected(Permissions.ModifyPortalContent, 'expand') security.declareProtected(Permissions.ModifyPortalContent, 'expand')
def expand(self, applied_rule, **kw): def expand(self, applied_rule, **kw):
""" """ Expands the current movement downward.
Expands the current movement downward.
-> new status -> expanded
An applied rule can be expanded only if its parent movement
is expanded.
""" """
delivery_line_type = 'Simulation Movement' delivery_line_type = 'Simulation Movement'
# Source that movement from the next node / stock # Source that movement from the next node / stock
...@@ -105,7 +101,7 @@ class InvoicingRule(Rule): ...@@ -105,7 +101,7 @@ class InvoicingRule(Rule):
variation_category_list = my_context_movement.\ variation_category_list = my_context_movement.\
getVariationCategoryList(), getVariationCategoryList(),
start_date = my_context_movement.getStartDate(), start_date = my_context_movement.getStartDate(),
stop_date = my_context_movement.getStartDate(), stop_date = my_context_movement.getStopDate(),
source = my_context_movement.getSource(), source = my_context_movement.getSource(),
source_section = my_context_movement.getSourceSection(), source_section = my_context_movement.getSourceSection(),
destination = my_context_movement.getDestination(), destination = my_context_movement.getDestination(),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment