Commit 50c80c24 authored by Xiaowu Zhang's avatar Xiaowu Zhang

erp5_mrp: only expand when it's confirmed

parent b11f5caf
specialise_list = context.getSpecialiseValueList(portal_type="Transformation")
if (len(specialise_list) == 1 and
context.getResource() == specialise_list[0].getResource()):
context.getResource() == specialise_list[0].getResource() and context.getSimulationState() == 'confirmed'):
parent = context.getParentValue()
parent_specialise_portal_type = parent.getSpecialiseValue().getPortalType()
# Case Manufacturing Order at the root producing a Manufacturing Execution
......
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