diff --git a/sale_ux/models/sale_order.py b/sale_ux/models/sale_order.py index 1da3769dd..d601cd69f 100644 --- a/sale_ux/models/sale_order.py +++ b/sale_ux/models/sale_order.py @@ -112,7 +112,10 @@ def update_prices(self): else: line.expand_pack_line(write=True) - line.product_uom_change() + if pack_installed and line.product_id.pack_ok: + continue + else: + line.product_uom_change() line._onchange_discount() return True