[FIX] fix
authorXavier Morel <xmo@openerp.com>
Mon, 12 Sep 2011 14:55:10 +0000 (16:55 +0200)
committerXavier Morel <xmo@openerp.com>
Mon, 12 Sep 2011 14:55:10 +0000 (16:55 +0200)
bzr revid: xmo@openerp.com-20110912145510-wpa2cgm4zx4fwe9o

openerp/addons/base/ir/ir_actions.py

index fd543a9..3ce3d9c 100644 (file)
@@ -627,6 +627,7 @@ class actions_server(osv.osv):
             if action.state=='code':
                 localdict = {
                     'self': self.pool.get(action.model_id.model),
+                    'pool': self.pool,
                     'context': dict(context), # copy context to prevent side-effects of eval
                     'time': time,
                     'ids': ids,