Commit 91e9e742 authored by Romain Courteaud's avatar Romain Courteaud Committed by Kazuhiko Shiozaki

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

No need to generate simulation expand error
parent 577191ca
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