Commit 1b08c3cf authored by Łukasz Nowak's avatar Łukasz Nowak

- r25907 was resetting movement causality list to only one matched, there...

 - r25907 was resetting movement causality list to only one matched, there shall be no causality change in case of match


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25908 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1fd0f3a2
......@@ -46,6 +46,7 @@ class OrderMovementGroup(MovementGroup):
def test(self, movement, property_dict, **kw):
if property_dict['causality'] in movement.getCausalityList():
property_dict['causality'] = movement.getCausalityList()
return True, property_dict
else:
return False, property_dict
......
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