[FIX] res.partner: prevent show_email context option from polluting display_name
bzr revid: odo@openerp.com-20140212080331-diit15a9sz7do4cu
This commit is contained in:
@@ -209,6 +209,7 @@ class res_partner(osv.osv, format_address):
|
||||
context = dict(context or {})
|
||||
context.pop('show_address', None)
|
||||
context.pop('show_address_only', None)
|
||||
context.pop('show_email', None)
|
||||
return dict(self.name_get(cr, uid, ids, context=context))
|
||||
|
||||
# indirections to avoid passing a copy of the overridable method when declaring the function field
|
||||
|
||||
Reference in New Issue
Block a user