Issue 9723

Title
Support PYSON string format between all clients
Priority
feature
Status
resolved
Nosy list
ced, reviewbot, roundup-bot
Assigned to
ced
Keywords
review

Created on 2020-10-15.18:02:29 by ced, last changed 2 months ago by roundup-bot.

Messages

New changeset c2647afb101a by Cédric Krier in branch 'default':
Unify PYSON string format between all clients
https://hg.tryton.org/tryton-env/rev/c2647afb101a
New changeset 6aa2545fc610 by Cédric Krier in branch 'default':
Unify PYSON string format between all clients
https://hg.tryton.org/trytond/rev/6aa2545fc610
New changeset b16f02bdb345 by Cédric Krier in branch 'default':
Unify PYSON string format between all clients
https://hg.tryton.org/tryton/rev/b16f02bdb345
New changeset b4859872c774 by Cédric Krier in branch 'default':
Unify PYSON string format between all clients
https://hg.tryton.org/sao/rev/b4859872c774
New changeset 0045895eae4e by Cédric Krier in branch 'default':
Unify PYSON string format between all clients
https://hg.tryton.org/proteus/rev/0045895eae4e
Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2020-10-15.18:02:29
There are some differences between the string format from the Python PYSON and the Javascript PYSON:

- And/Or in JS takes an Array instead of arguments
- Python support True/False and JS true/false

I think we should unify this so user can copy/paste from one client to another without issue. For that I think sao should support arguments for And/Or. And each client should have an alias for boolean values. It is not a problem if each format the string with a different cases as long as the clients support both.
History
Date User Action Args
2020-11-15 18:51:19roundup-botsetmessages: + msg61936
2020-11-15 18:51:17roundup-botsetmessages: + msg61935
2020-11-15 18:51:15roundup-botsetmessages: + msg61934
2020-11-15 18:51:13roundup-botsetmessages: + msg61933
2020-11-15 18:51:10roundup-botsetmessages: + msg61932
nosy: + roundup-bot
status: testing -> resolved
2020-11-06 00:36:51reviewbotsetmessages: + msg61694
2020-10-15 19:08:09reviewbotsetmessages: + msg60976
2020-10-15 18:09:59reviewbotsetnosy: + reviewbot
messages: + msg60973
2020-10-15 18:03:36cedsetstatus: in-progress -> testing
reviews: 328481002
keyword: + review
2020-10-15 18:02:29cedcreate

Showing 10 items. Show all history (warning: this could be VERY long)