Commit baa74aa2 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 467b8168
state_change['object'].ProductionOrderLine_setTransformationFromResource() if state_change['object'].getSimulationState() not in ("cancelled", "confirmed"):
state_change['object'].ProductionOrderLine_setTransformationFromResource()
...@@ -52,6 +52,12 @@ ...@@ -52,6 +52,12 @@
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
<value> <string>state_change</string> </value> <value> <string>state_change</string> </value>
</item> </item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>script_ProductionOrderLine_setTransformationFromResource</string> </value> <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