[FIX] res.partners small and medium images has no default value

bzr revid: fme@openerp.com-20120809150126-9rrikeyqi5uww5pd
This commit is contained in:
Fabien Meghazi 2012-08-09 17:01:26 +02:00
parent 33c2df8826
commit f51eb19e4c
1 changed files with 2 additions and 0 deletions

View File

@ -232,6 +232,8 @@ class res_partner(osv.osv):
'type': 'default',
'use_parent_address': True,
'image': lambda self, cr, uid, context: self._get_default_image(cr, uid, False, context),
'image_small': lambda self, cr, uid, context: self._get_default_image(cr, uid, False, context),
'image_medium': lambda self, cr, uid, context: self._get_default_image(cr, uid, False, context),
}
def copy(self, cr, uid, id, default=None, context=None):