Skip to content

Commit a711f14

Browse files
committed
[FIX] purchase_duplicate_check: Issue fixed
Fixed an issue in _compute_pending_order_ids compute method
1 parent 5fd4930 commit a711f14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

purchase_duplicate_check/models/purchase_order_line.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def _compute_pending_order_ids(self):
2222

2323
product_ids = tuple(product_lines.mapped("product_id")._origin.ids)
2424
order_ids = tuple(product_lines.mapped("order_id")._origin.ids)
25-
if not product_ids:
25+
if not product_ids or not order_ids:
2626
product_lines.pending_order_ids = False
2727
return
2828
query = """

0 commit comments

Comments
 (0)