Commit 936654f6 authored by Fabien Morin's avatar Fabien Morin

sorry, create_line property don't exist on Simulation Movement. This property...

sorry, create_line property don't exist on Simulation Movement. This property is set on the model lines (causality)


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27462 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4134e7fb
......@@ -203,6 +203,6 @@ class TradeCondition(Path, Transformation):
# remove movement that should not be created
final_list = []
for movement in result:
if movement.isCreateLine():
if movement.getCausalityValue().getCreateLine():
final_list.append(movement)
return final_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