diff options
| author | Toufik Ben Jaa <tbe@odoo.com> | 2018-12-12 15:16:48 +0100 |
|---|---|---|
| committer | Toufik Ben Jaa <tbe@odoo.com> | 2018-12-12 15:19:25 +0100 |
| commit | 37fa21a2af7c118ceb3c875b6f09c68292a6727e (patch) | |
| tree | 29f83cced6abfcf9876b0781e24a7acadaeddadd /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 54ad2f57ce7989990c9850bf245567af89d7bff2 (diff) | |
[FIX] account: avoid crash when request not bound to database
- When installing account using a request (e.g. http route auth set to `None`) not bound to a database,
the installation fails.
To avoid this, we check if the request we are using is bound to a
database, if not, the fallback code is executed.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
