parent
fc63af9856
commit
771c240a42
|
@ -867,7 +867,8 @@ class account_invoice(osv.osv):
|
|||
'ref':invoice.number,
|
||||
}
|
||||
|
||||
name = invoice.invoice_line and invoice.invoice_line[0].name or invoice.number
|
||||
if not name:
|
||||
name = invoice.invoice_line and invoice.invoice_line[0].name or invoice.number
|
||||
l1['name'] = name
|
||||
l2['name'] = name
|
||||
|
||||
|
|
Loading…
Reference in New Issue