diff --git a/addons/sale_quotation_builder/models/sale_order_option.py b/addons/sale_quotation_builder/models/sale_order_option.py index 344aa1d00e7..242ad034801 100644 --- a/addons/sale_quotation_builder/models/sale_order_option.py +++ b/addons/sale_quotation_builder/models/sale_order_option.py @@ -14,7 +14,7 @@ class SaleOrderOption(models.Model): store=True, readonly=False, precompute=True, sanitize_attributes=False, translate=html_translate) - @api.depends('product_id', 'uom_id') + @api.depends('product_id') def _compute_website_description(self): for option in self: if not option.product_id: diff --git a/addons/sale_quotation_builder/models/sale_order_template.py b/addons/sale_quotation_builder/models/sale_order_template.py index d3cccb37462..fbe666cbc9b 100644 --- a/addons/sale_quotation_builder/models/sale_order_template.py +++ b/addons/sale_quotation_builder/models/sale_order_template.py @@ -34,6 +34,7 @@ class SaleOrderTemplateLine(models.Model): translate=html_translate, sanitize_form=False) + @api.depends('product_id') def _compute_website_description(self): for line in self: if not line.product_id: @@ -51,6 +52,7 @@ class SaleOrderTemplateOption(models.Model): translate=html_translate, sanitize_attributes=False) + @api.depends('product_id') def _compute_website_description(self): for option in self: if not option.product_id: