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]
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'):