Commit 4d53bc8a authored by Jérome Perrin's avatar Jérome Perrin

quantity, start_date and stop_date properties are handled separatly


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20979 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4289ce9f
...@@ -328,7 +328,8 @@ class Rule(Predicate, XMLObject): ...@@ -328,7 +328,8 @@ class Rule(Predicate, XMLObject):
break break
for k, v in prevision.items(): for k, v in prevision.items():
if v != movement.getProperty(k): if k not in ('quantity', 'start_date', 'stop_date') and\
v != movement.getProperty(k):
prop_dict.setdefault(k, v) prop_dict.setdefault(k, v)
# update movement lists # update movement lists
......
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