summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorXavier-Do <xdo@odoo.com>2019-11-12 08:31:14 +0000
committerXavier-Do <xdo@odoo.com>2019-11-13 11:05:14 +0000
commitc403aec2aa6d0a60dd1c10ab43becdbfa52fab22 (patch)
treef678768e9e6f4ed0ba19c9f39dcc16285eda2c53 /addons/web/static/src/js/views/basic/basic_controller.js
parenteb2f0aabcfd8c3764f7bca1c99448dadc266727e (diff)
[IMP] core,test_access_rights: improve exept_orm stringification
In most case, except_orm.value is empty, leading to a str representation of the args, which is a repr of each element of the tuple in the case of exept_orm: (repr(name), repr(value)) -> ('name', None) In this case, the None value is just noise and the name will be repr causing "'" to be escaped and replacing carriage return by "\n" making it difficult to read and to compare.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions