mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[12.0][FIX] - Set contract line analytic account at contract creation from SO
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user