Browse Source

[12.0][FIX] - Set contract line analytic account at contract creation from SO

pull/452/head
sbejaoui 5 years ago
parent
commit
4236fe33ed
  1. 1
      product_contract/models/sale_order_line.py

1
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

Loading…
Cancel
Save