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

- movement's causality can be a list


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25907 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6855cec8
......@@ -45,7 +45,7 @@ class OrderMovementGroup(MovementGroup):
return property_dict
def test(self, movement, property_dict, **kw):
if movement.getCausality() == property_dict['causality']:
if property_dict['causality'] in 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