From 4a46ca474d5df15a711deb06bf1e1843c3e7168b Mon Sep 17 00:00:00 2001 From: Goffin Simon Date: Fri, 7 Aug 2015 14:16:42 +0200 Subject: [PATCH] [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 --- addons/sale/wizard/sale_make_invoice_advance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/sale/wizard/sale_make_invoice_advance.py b/addons/sale/wizard/sale_make_invoice_advance.py index 750d450e3be..38300076407 100644 --- a/addons/sale/wizard/sale_make_invoice_advance.py +++ b/addons/sale/wizard/sale_make_invoice_advance.py @@ -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 }