Commit 0e66ec04 authored by Romain Courteaud's avatar Romain Courteaud 🐸

Revert 157d939d.

Speed up building by preventing builder to visit all movements which are not
buildable (because of completed state configuration on business process).
parent 84815db7
...@@ -63,7 +63,10 @@ if len(rule_trade_phase_list) > 0:\n ...@@ -63,7 +63,10 @@ if len(rule_trade_phase_list) > 0:\n
# If Business Process does not define trade phase do not apply\n # If Business Process does not define trade phase do not apply\n
return False\n return False\n
\n \n
return True\n if movement.getSimulationState() in business_link.getCompletedStateList():\n
return True\n
\n
return False\n
]]></string> </value> ]]></string> </value>
......
97 98
\ No newline at end of file \ No newline at end of file
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