Add get_action_id to rpc_allowed for the client

when button is link to action
This commit is contained in:
Cédric Krier
2008-03-19 15:17:54 +01:00
parent 47e924610e
commit a42c68e8a1
+6
View File
@@ -16,6 +16,12 @@ class Action(OSV):
groups = fields.Many2Many('res.group', 'ir_action_group_rel',
'action_id', 'gid', 'Groups')
def __init__(self):
super(Action, self).__init__()
self._rpc_allowed += [
'get_action_id',
]
def default_usage(self, cursor, user, context=None):
return False