[FIX] sale : Included customer reference in advance invoice

bzr revid: ach@tinyerp.com-20100721064441-6pyhe8t1zvt3auws
This commit is contained in:
Grzegorz Grzelak(Cirrus.pl) 2010-07-21 12:14:41 +05:30 committed by Anup (OpenERP)
parent f392439b3f
commit f3408f9853
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ class sale_advance_payment_inv(osv.osv_memory):
})
create_ids.append(line_id)
inv = {
'name': sale.name,
'name': sale.client_order_ref or sale.name,
'origin': sale.name,
'type': 'out_invoice',
'reference': False,