[IMP] code cleaning for get_empty_list_help
bzr revid: chm@openerp.com-20130321133207-j4tiibjev6lkeuxa
This commit is contained in:
parent
45cc77dbcb
commit
491c3b73f3
|
@ -284,7 +284,7 @@ class act_window(osv.osv):
|
|||
except Exception:
|
||||
continue
|
||||
custom_context = dict(context, **eval_context)
|
||||
res['help'] = self.pool.get(res.get('res_model')).dynamic_help(cr, uid, res.get('help', ""), context=custom_context)
|
||||
res['help'] = self.pool.get(res.get('res_model')).get_empty_list_help(cr, uid, res.get('help', ""), context=custom_context)
|
||||
|
||||
if u:
|
||||
return results[0]
|
||||
|
|
|
@ -3604,7 +3604,7 @@ class BaseModel(object):
|
|||
return result and result[0] or False
|
||||
return result
|
||||
|
||||
def dynamic_help(self, cr, user, help, context=None):
|
||||
def get_empty_list_help(self, cr, user, help, context=None):
|
||||
return help
|
||||
|
||||
def _read_flat(self, cr, user, ids, fields_to_read, context=None, load='_classic_read'):
|
||||
|
|
Loading…
Reference in New Issue