Commit 7b421875 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

erp5_mrp: PSA build quality insurance with priority 1

parent 08cb1aa6
state_change['object'].localBuild()
order = state_change['object']
activate_kw = {}
if order.getPortalType() == "Manufacturing Order" and order.getLedger() and order.getLedger() == "manufacturing/quality_insurance":
activate_kw["priority"] = 1
state_change['object'].localBuild(activity_kw=activate_kw)
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