Commit 36da7010 authored by Romain Courteaud's avatar Romain Courteaud

Remove arbitrary hardcoded property names.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17391 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 870dab1d
......@@ -152,11 +152,6 @@ class InvoicingRule(Rule):
applied_rule._delObject(movement_id)
for movement, prop_dict in modify_dict.items():
#XXX ignore start_date and stop_date if the difference is smaller than a
# rule defined value
for prop in ('start_date', 'stop_date'):
if prop in prop_dict.keys():
prop_dict.pop(prop)
applied_rule[movement].edit(**prop_dict)
for movement_dict in add_list:
......
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