From 932f6fe46efb78bcbb2a0848cf21c494c667302e Mon Sep 17 00:00:00 2001 From: ced <> Date: Mon, 31 Dec 2007 13:31:29 +0000 Subject: [PATCH] Fix move line name size from invoice line bzr revid: ced-a568623c0cdbd2713621206f86bd37bee8784963 --- addons/account/invoice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'],