[FIX] ir_action: no string but var.
bzr revid: tde@openerp.com-20130402081234-v6w6oga8q4y23yy4
This commit is contained in:
parent
46091deed9
commit
140ba0a6a7
|
@ -303,7 +303,7 @@ class act_window(osv.osv):
|
|||
}
|
||||
for res in results:
|
||||
model = res.get('res_model')
|
||||
if model and self.pool.get('model'):
|
||||
if model and self.pool.get(model):
|
||||
try:
|
||||
with tools.mute_logger("openerp.tools.safe_eval"):
|
||||
eval_context = eval(res['context'] or "{}", eval_dict) or {}
|
||||
|
|
Loading…
Reference in New Issue