[FIX] account_analytic_analysis: comment field in account.invoice
When creating an invoice from a contract with button "create invoices", the description linked to the contract has to written in the comment field of the invoice. opw:671660
This commit is contained in:
parent
00ead29c7c
commit
dc3f1e2211
|
@ -705,6 +705,7 @@ class account_analytic_account(osv.osv):
|
||||||
'payment_term': partner_payment_term,
|
'payment_term': partner_payment_term,
|
||||||
'company_id': contract.company_id.id or False,
|
'company_id': contract.company_id.id or False,
|
||||||
'user_id': contract.manager_id.id or uid,
|
'user_id': contract.manager_id.id or uid,
|
||||||
|
'comment': contract.description,
|
||||||
}
|
}
|
||||||
return invoice
|
return invoice
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue