diff --git a/ext/custom-addons/dp_custom/models/sale.py b/ext/custom-addons/dp_custom/models/sale.py index 4e04c433..4b9660e8 100644 --- a/ext/custom-addons/dp_custom/models/sale.py +++ b/ext/custom-addons/dp_custom/models/sale.py @@ -514,7 +514,7 @@ class SaleOrderLine(models.Model): self.ensure_one() allowed_write = True precision_digits = self.env['decimal.precision'].precision_get('Product Price') - if self.from_designbox and set(vals.keys()).intersection(not_allowed_designbox_keys): + if (self.from_designbox and self.product_id.default_code!='TZ_PLATTE') and set(vals.keys()).intersection(not_allowed_designbox_keys): for val_key in not_allowed_designbox_keys: if val_key in list(vals.keys()) and type(self.__getattribute__(val_key)) is float: if float_compare(self.__getattribute__(val_key), vals[val_key],