Instanciate the first argument of get_action_value

get_action_value is a method so it is the first argument that must be
instantiated so the index 0.

issue8911
review272651002
This commit is contained in:
Cédric Krier committed 2019-12-11 18:43:27 +01:00
1 parent 61be3957c7
commit 015189acca
1 file changed
+1 -1
+1 -1
View File
@@ -70,7 +70,7 @@ class Action(DeactivableMixin, ModelSQL, ModelView):
def __setup__(cls):
super(Action, cls).__setup__()
cls.__rpc__.update({
'get_action_value': RPC(instantiate=1, cache=dict(days=1)),
'get_action_value': RPC(instantiate=0, cache=dict(days=1)),
})
@staticmethod