[IMP] code style

bzr revid: abo@openerp.com-20121205184617-ohe292g8zp2x83jq
This commit is contained in:
Antonin Bourguignon 2012-12-05 19:46:17 +01:00
parent aef3c22f7f
commit fdfb872c68
1 changed files with 2 additions and 2 deletions

View File

@ -86,9 +86,9 @@ class crm_partner_binding(osv.osv_memory):
partner_id = self._find_matching_partner(cr, uid, context=context)
if 'action' in fields:
res.update({'action': partner_id and 'exist' or 'create'})
res['action'] = partner_id and 'exist' or 'create'
if 'partner_id' in fields:
res.update({'partner_id': partner_id})
res['partner_id'] = partner_id
return res