From cad720824a856744e95d64caaef400db2ec3de9f Mon Sep 17 00:00:00 2001 From: Vincent Renaville Date: Tue, 21 May 2013 16:38:03 +0200 Subject: [PATCH] [FIX] typo : fix instruction length --- partner_firstname/partner.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/partner_firstname/partner.py b/partner_firstname/partner.py index 304b7943b..eb039f66c 100644 --- a/partner_firstname/partner.py +++ b/partner_firstname/partner.py @@ -33,7 +33,8 @@ class ResPartner(Model): def _compute_name_custom(self, cursor, uid, ids, fname, arg, context=None): res = {} for rec in self.read(cursor, uid, ids, ['firstname', 'lastname']): - name = '%s %s'%(rec['lastname'] if rec['lastname'] else u"",rec['firstname'] if rec['firstname'] else u"") + name = '%s %s'%(rec['lastname'] if rec['lastname'] else u"", + rec['firstname'] if rec['firstname'] else u"") res[rec['id']] = name return res