> > I will create an issue in order to fix it.
> Done: https://bugs.tryton.org/issue6964
>
> It will be great if you can test it :)
>
Ok; tested ! Easier with the widget :-)
--
You received this message because you are subscribed to the Google Groups
"tryton-dev" group.
To view this discussi
On 2017-11-24 03:02, Maxime Richez wrote:
> Is there a tool in the gui to convert expression to Pyson ?
We have the pyson widget now. I think the condition field is missing it.
--
Cédric Krier - B2CK SPRL
Email/Jabber: cedric.kr...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/
--
El 24/11/17 a les 12:09, Sergi Almacellas Abellana ha escrit:
I will create an issue in order to fix it.
Done: https://bugs.tryton.org/issue6964
It will be great if you can test it :)
--
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk
--
You received this message because you ar
El 24/11/17 a les 12:02, Maxime Richez ha escrit:
You have some examples in the test suite:
http://hg.tryton.org/trytond/file/34073513c887/trytond/tests/test_modelview.py#l194
Have you tried?:
Eval('self', {}).get('total_amount', 0) > 500
Hope it helps.
Thanks but we are testing from the try
> You have some examples in the test suite:
>
> http://hg.tryton.org/trytond/file/34073513c887/trytond/tests/test_modelview.py#l194
>
> Have you tried?:
>
> Eval('self', {}).get('total_amount', 0) > 500
>
> Hope it helps.
Thanks but we are testing from the tryton client, and expression is not
El 24/11/17 a les 11:15, Maxime Richez ha escrit:
Hi,
We are looking to define a specific rule on a button (Models-> Models Access ->
Buttons). Rule would be : 2 users needs to validate button if amount is greater than
a specific value.
We try this expression : [["total_amount", ">", 500]] > T
Hi,
We are looking to define a specific rule on a button (Models-> Models Access ->
Buttons). Rule would be : 2 users needs to validate button if amount is greater
than a specific value.
We try this expression : [["total_amount", ">", 500]]
This is not working. What should be the correct expres