[IMP] res_users: added default on image; should overiding basic method should be sufficient, seems not.
bzr revid: tde@openerp.com-20120814201150-uza8k3pzpkydqcow
This commit is contained in:
parent
8286181d51
commit
c4e3c15021
|
@ -255,6 +255,7 @@ class res_users(osv.osv):
|
||||||
'company_id': _get_company,
|
'company_id': _get_company,
|
||||||
'company_ids': _get_companies,
|
'company_ids': _get_companies,
|
||||||
'groups_id': _get_group,
|
'groups_id': _get_group,
|
||||||
|
'image': lambda self, cr, uid, context: self._get_default_image(cr, uid, False, context),
|
||||||
}
|
}
|
||||||
|
|
||||||
def fields_view_get(self, cr, uid, view_id=None, view_type='form', context=None, toolbar=False, submenu=False):
|
def fields_view_get(self, cr, uid, view_id=None, view_type='form', context=None, toolbar=False, submenu=False):
|
||||||
|
|
Loading…
Reference in New Issue