diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2019-08-07 05:59:45 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2019-08-07 05:59:45 +0000 |
| commit | dd0e3fee0216014da6a56f9f1fe3004a67a6d9ab (patch) | |
| tree | f79b86817ced3fa758a84cbb6c8c6fb32b7644c0 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 066722b2f6e8f0d0e11ea0fdfc41f7d6b575e37d (diff) | |
[FIX] stock: do not raise error
Although this makes sense to warn the user, a `UserError` stops the
execution of onchanges but do not prevent saving incorrect settings. A
non-blocking warning would be another solution, but one issue remains:
a pop-up is raised when the user opens the settings, even if they are
unrelated (e.g.: open Website settings, an error message implying
Inventory appears).
This reverts commit c7beb9994f2b3aecef3f03aa81e0240e0d3eaf71.
closes odoo/odoo#35511
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
