[IMP] code style
bzr revid: abo@openerp.com-20121205184617-ohe292g8zp2x83jq
This commit is contained in:
parent
aef3c22f7f
commit
fdfb872c68
|
@ -86,9 +86,9 @@ class crm_partner_binding(osv.osv_memory):
|
||||||
partner_id = self._find_matching_partner(cr, uid, context=context)
|
partner_id = self._find_matching_partner(cr, uid, context=context)
|
||||||
|
|
||||||
if 'action' in fields:
|
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:
|
if 'partner_id' in fields:
|
||||||
res.update({'partner_id': partner_id})
|
res['partner_id'] = partner_id
|
||||||
|
|
||||||
return res
|
return res
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue