[FIX] sale: comment in partial invoice
When a partial invoice is created from a sale order, the field "note" in the sale order must be written in the field "comment" of the invoice. opw:646852
This commit is contained in:
parent
da8855ad2b
commit
4a46ca474d
|
@ -147,7 +147,7 @@ class sale_advance_payment_inv(osv.osv_memory):
|
|||
'partner_id': sale.partner_invoice_id.id,
|
||||
'invoice_line': [(0, 0, inv_line_values)],
|
||||
'currency_id': sale.pricelist_id.currency_id.id,
|
||||
'comment': '',
|
||||
'comment': sale.note,
|
||||
'payment_term': sale.payment_term.id,
|
||||
'fiscal_position': sale.fiscal_position.id or sale.partner_id.property_account_position.id
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue