We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5fd4930 commit a711f14Copy full SHA for a711f14
purchase_duplicate_check/models/purchase_order_line.py
@@ -22,7 +22,7 @@ def _compute_pending_order_ids(self):
22
23
product_ids = tuple(product_lines.mapped("product_id")._origin.ids)
24
order_ids = tuple(product_lines.mapped("order_id")._origin.ids)
25
- if not product_ids:
+ if not product_ids or not order_ids:
26
product_lines.pending_order_ids = False
27
return
28
query = """
0 commit comments