summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_view.js
diff options
context:
space:
mode:
authorToufik Ben Jaa <tbe@odoo.com>2018-10-15 14:40:46 +0200
committerToufik Ben Jaa <tbe@odoo.com>2018-10-17 14:54:12 +0200
commit15f387fbe5f37d4643d8bc3983748701abe8f569 (patch)
treeace5bc827edde70de2d19d39fedaa8719c79183f /addons/web/static/src/js/views/basic/basic_view.js
parente9ae419fca0a9ebd0071c280bd98fc84f268bb74 (diff)
[FIX] auth_signup: invalid value on field signup_valid for non superuser
- The field `signup_valid` was computed and stored using the `superuser` env, which causes issue since it means the value was computed for the wrong environment. Using a compute_sudo instead of manually calling `sudo()` fixes the issue. e.g: reading signup_valid using a regular user (non superuser) will always return False, while doing it as the superuser will return the correct value.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_view.js')
0 files changed, 0 insertions, 0 deletions