[FIX] Fiexed the fucntion args
bzr revid: jam@tinyerp.com-20120305130452-e5nthymr4re0wyix
This commit is contained in:
@@ -435,7 +435,7 @@ class res_partner(osv.osv):
|
||||
def default_get(self, cr, uid, fields, context=None):
|
||||
res = super(res_partner, self).default_get( cr, uid, fields, context)
|
||||
if 'is_company' in res:
|
||||
res.update({'photo': self._get_photo(self, cr, uid, res.get('is_company', 'contact'), context)})
|
||||
res.update({'photo': self._get_photo(cr, uid, res.get('is_company', 'contact'), context)})
|
||||
return res
|
||||
|
||||
res_partner()
|
||||
|
||||
Reference in New Issue
Block a user