diff --git a/addons/account/wizard/account_invoice_send.py b/addons/account/wizard/account_invoice_send.py index ce4dab563178041ce67a17e5a36625e389f4d9cf..d4bd9417bc2ea63fd16636eae0dc79587c9e31ac 100644 --- a/addons/account/wizard/account_invoice_send.py +++ b/addons/account/wizard/account_invoice_send.py @@ -75,7 +75,7 @@ class AccountInvoiceSend(models.TransientModel): if invoices: wizard.invoice_without_email = "%s\n%s" % ( _("The following invoice(s) will not be sent by email, because the customers don't have email address."), - "\n".join([i.reference for i in invoices]) + "\n".join([i.name for i in invoices]) ) else: wizard.invoice_without_email = False