diff options
| author | Toufik Ben Jaa <tbe@odoo.com> | 2018-10-15 14:40:46 +0200 |
|---|---|---|
| committer | Toufik Ben Jaa <tbe@odoo.com> | 2018-10-17 14:54:12 +0200 |
| commit | 15f387fbe5f37d4643d8bc3983748701abe8f569 (patch) | |
| tree | ace5bc827edde70de2d19d39fedaa8719c79183f /addons/web/static/src/xml/base.xml | |
| parent | e9ae419fca0a9ebd0071c280bd98fc84f268bb74 (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/xml/base.xml')
0 files changed, 0 insertions, 0 deletions
