Skip to content

Commit

Permalink
Fix wizard if there are notes or section on sale order
Browse files Browse the repository at this point in the history
  • Loading branch information
quentinDupont committed Jan 14, 2024
1 parent fed282b commit 8c6debd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mrp_sale_grouped/wizard/bom_print_purchase_list_wizard.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,9 @@ def _default_line_ids(self):
boms_and_quantities = {}

for order in order_ids:
for order_line in order.order_line:
for order_line in order.order_line.filtered(
lambda x: not x.display_type
):
if not order_line.product_id.bom_ids:
missing_boms[order_line.product_id] = order_line.product_id.name
else:
Expand Down

0 comments on commit 8c6debd

Please sign in to comment.