diff --git a/addons/account/invoice.py b/addons/account/invoice.py index 2b70cf8cbe2..07e894501d4 100644 --- a/addons/account/invoice.py +++ b/addons/account/invoice.py @@ -515,7 +515,7 @@ class account_invoice(osv.osv): 'date':date, 'date_maturity': x.get('date_maturity', False), 'partner_id':part, - 'name':x['name'], + 'name':x['name'][:64], 'debit':x['price']>0 and x['price'], 'credit':x['price']<0 and -x['price'], 'account_id':x['account_id'],