[FIX] ir_action: no string but var.

bzr revid: tde@openerp.com-20130402081234-v6w6oga8q4y23yy4
This commit is contained in:
Thibault Delavallée 2013-04-02 10:12:34 +02:00
parent 46091deed9
commit 140ba0a6a7
1 changed files with 1 additions and 1 deletions

View File

@ -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 {}