[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:
Goffin Simon 2016-04-14 13:58:30 +02:00
parent 00ead29c7c
commit dc3f1e2211
1 changed files with 1 additions and 0 deletions

View File

@ -705,6 +705,7 @@ class account_analytic_account(osv.osv):
'payment_term': partner_payment_term,
'company_id': contract.company_id.id or False,
'user_id': contract.manager_id.id or uid,
'comment': contract.description,
}
return invoice