diff --git a/yuthon_purchase/models/purchase_workflow.py b/yuthon_purchase/models/purchase_workflow.py index 26b753cc6..9fd02b0e0 100644 --- a/yuthon_purchase/models/purchase_workflow.py +++ b/yuthon_purchase/models/purchase_workflow.py @@ -147,6 +147,8 @@ class PurchaseFixedLine(models.Model): @api.onchange('product_id') def _onchange_product_id(self): if self.product_id: + self.brand = self.product_id.brand + self.specs = self.product_id.specs self.name = self.product_id.display_name self.unit_id = self.product_id.uom_id self.price_unit = self.product_id.standard_price