Commit f06b7534 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 9aad5e87
if context.checkConsistency():
# Skip if open order is not consistency
return
subscription_item_set = set() subscription_item_set = set()
for open_order_line in context.objectValues(): 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