2015-12-10 12:47 GMT+01:00 Christophe (net) <c...@adiczion.net>: > Hi, > > It seems that the following syntax for the 'states' attribute doesn't work > in 3.8 : > > <page string="String" id="string" states="{'invisible': > ~Bool(Eval('some_field'))}"> > > I would have missed something ?
1- Remove safe_eval 2- States defined in view_attributes Example in sale module: http://hg.tryton.org/modules/sale/rev/4dca378b9142 Regards Raimon -- You received this message because you are subscribed to the Google Groups "tryton-dev" group. To view this discussion on the web visit https://groups.google.com/d/msgid/tryton-dev/CALO_w6reZyk9DMc7Pzz72%2BE0jRn7EaoyWFAHFdZidt8icY4tSA%40mail.gmail.com.