diff --git a/product_contract/models/sale_order_line.py b/product_contract/models/sale_order_line.py index 6f55f5c4..4f29da01 100644 --- a/product_contract/models/sale_order_line.py +++ b/product_contract/models/sale_order_line.py @@ -154,6 +154,7 @@ class SaleOrderLine(models.Model): 'contract_id': contract.id, 'sale_order_line_id': self.id, 'predecessor_contract_line_id': predecessor_contract_line_id, + 'analytic_account_id': self.order_id.analytic_account_id.id, } @api.multi