Fix for new Pool singleton
This commit is contained in:
1 parent
4293af5cef
commit
79dd6c4e5a
1 file changed
+1
-1
@@ -240,7 +240,7 @@ class ModelView(Model):
|
||||
- action: a list of available actions
|
||||
- relate: a list of available relations
|
||||
"""
|
||||
action_obj = self.pool.get('ir.action.keyword')
|
||||
action_obj = Pool().get('ir.action.keyword')
|
||||
prints = action_obj.get_keyword('form_print', (self._name, 0))
|
||||
actions = action_obj.get_keyword('form_action', (self._name, 0))
|
||||
relates = action_obj.get_keyword('form_relate', (self._name, 0))
|
||||
|
||||
Reference in new issue
Block a user