changeset cfa74dc611b4 in trytond:default
details: https://hg.tryton.org/trytond?cmd=changeset;node=cfa74dc611b4
description:
        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
diffstat:

 trytond/ir/action.py |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r a6afcbe3df47 -r cfa74dc611b4 trytond/ir/action.py
--- a/trytond/ir/action.py      Wed Dec 11 18:36:49 2019 +0100
+++ b/trytond/ir/action.py      Wed Dec 11 18:43:27 2019 +0100
@@ -70,7 +70,7 @@
     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

Reply via email to