diff options
| author | Raphael Collet <rco@odoo.com> | 2020-10-06 09:12:05 +0000 |
|---|---|---|
| committer | Raphael Collet <rco@odoo.com> | 2020-10-09 13:39:02 +0000 |
| commit | 507295ca80e8eac9c75714f41b599d9e2e8a2549 (patch) | |
| tree | eaa77a0f05d55770f13f3a9565c0d2f6a544044a /addons/web/static/src | |
| parent | 7f0e5c0570a7a5622f73e851fbc2beb02c557a1d (diff) | |
[FIX] core: preferably flush() with an env with a real uid
This fixes a crash in some controllers with `auth='None'` where some
updates are flushed with an environment where `uid=None`. When there is
an environment with a real uid, preferably use it.
closes odoo/odoo#59650
X-original-commit: 2795c86df54389b858a454cbc1782b1f34f3ba4f
Signed-off-by: Raphael Collet (rco) <rco@openerp.com>
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions
