Commit 1396f2b7 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

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

parent e876186f
state_change['object'].ProductionOrderLine_setTransformationFromResource()
if state_change['object'].getSimulationState() not in ("cancelled", "confirmed"):
state_change['object'].ProductionOrderLine_setTransformationFromResource()
......@@ -52,6 +52,12 @@
<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