diff options
| author | Toufik Ben Jaa <tbe@odoo.com> | 2018-10-15 12:40:46 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2019-02-08 12:52:29 +0000 |
| commit | 19b0c7e1c1c211c97b655ba6b66d064c770ee839 (patch) | |
| tree | f794d084dba08de32357705c53b37a1408b6954b /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 0b61a7d135df075a43baff5f89b4287ad4a2d4a7 (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.
closes odoo/odoo#30954
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
