Skip to content

Commit

Permalink
[IMP] Remove false sale order line on x2m on mrp sale grouped
Browse files Browse the repository at this point in the history
  • Loading branch information
quentinDupont committed Jan 12, 2024
1 parent 7bbe5af commit fed282b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mrp_sale_grouped/wizard/x2m_matrix_grouped_sales.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def _default_line_ids(self):
orders = grouped_sale_prod.mapped("order_ids").filtered(
lambda o: o.state in ["draft", "sent"]
)
return orders.mapped("order_line")
return orders.mapped("order_line").filtered(lambda x: not x.display_type)

def save_close(self):
return

0 comments on commit fed282b

Please sign in to comment.