Commit 7917a3ee authored by Romain Courteaud's avatar Romain Courteaud

erp5_open_trade: only expand open order simulation if the open order is consistent

No need to generate simulation expand error
parent 7c5a0fc8
if context.checkConsistency():
# Skip if open order is not consistency
return
subscription_item_set = set()
for open_order_line in context.objectValues():
......
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