summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2018-09-13 14:03:59 +0200
committerAaron Bohy <aab@odoo.com>2018-09-18 20:31:28 +0200
commit66c716d7816da615d4c1e15defa6501a14357b38 (patch)
tree48fd88fd333a7b5d334af9be3fb5b824e94fbc69 /addons/web/static/src/js/fields/basic_fields.js
parent952889c0561ae632360569163424791873eb82f7 (diff)
[FIX] *: adapt calls to _is_superuser
Rev. 2f7c03d added a second admin user (id 2), the 'human' one, on top of the 'technical' one (id 1, also known as the superuser). Basically, all calls to _is_superuser() should have been changed to _is_admin(). They weren't. As a consequence, some features that were previously available for the admin weren't anymore (e.g. tours). This rev. replaces all calls to _is_superuser() by calls to _is_admin().
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions