Commit ee7cead4 authored by Xiaowu Zhang's avatar Xiaowu Zhang

Revert "erp5_mrp: Production Order Line interaction doesn't update...

Revert "erp5_mrp: Production Order Line interaction doesn't update Transformation if cancelled or confirmed"

This prevent to update BOM on manufacturing order line correctly
parent 15a1d2a0
if state_change['object'].getSimulationState() not in ("cancelled", "confirmed"):
state_change['object'].ProductionOrderLine_setTransformationFromResource()
state_change['object'].ProductionOrderLine_setTransformationFromResource()
......@@ -52,12 +52,6 @@
<key> <string>_params</string> </key>
<value> <string>state_change</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>script_ProductionOrderLine_setTransformationFromResource</string> </value>
......
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