Commit 08b5fc60 authored by Xiaowu Zhang's avatar Xiaowu Zhang

erp5_mrp_quality_assurance: skip suspended check, it maybe not yet generated

parent 4bc585cd
......@@ -7,6 +7,8 @@ if ledger not in ("manufacturing/quality_insurance", "manufacturing/electronic_i
if context.getQuantity() > 0:
return []
if context.getSimulationState() == 'suspended':
return []
if ledger == "manufacturing/quality_insurance":
publication_section = "quality_insurance"
else:
......
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