diff options
| author | David Monjoie <dmo@odoo.com> | 2019-06-03 08:01:45 +0000 |
|---|---|---|
| committer | David Monjoie <dmo@odoo.com> | 2019-06-03 08:01:45 +0000 |
| commit | 494a2b2675d9a4b203fba42d31ef0950b9b01bd9 (patch) | |
| tree | 42256edc2f14053f2403d4de657c180c49b84c0a /addons/web/static/src/js/chrome/action_manager_act_window.js | |
| parent | a7649a3d8634576d4a4dae61d2de36209fed40ae (diff) | |
[FIX] web: log missing view warning rather than error
The point of this warning is to help a view developer realize that
his view is not loaded at all. However, console 'error' and 'warn'
are observed by the runbot clickall tour as meaningful errors
regarding a build resulting status. It makes sense, but it is an
issue for community modules which have a gantt view that only
exists in Enterprise. We don't want to create a bridge module
for each and every module which uses a view that only exists in
Enterprise, so we need to live with this warning. Since its
purpose is for developers only, they can read the log and notice
the error even if we use console.log rather than console.error,
and that will not alter the result of the runbot clickall tour.
closes odoo/odoo#33814
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/chrome/action_manager_act_window.js')
| -rw-r--r-- | addons/web/static/src/js/chrome/action_manager_act_window.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/chrome/action_manager_act_window.js b/addons/web/static/src/js/chrome/action_manager_act_window.js index 91b3cc7248c..8b3ff339ded 100644 --- a/addons/web/static/src/js/chrome/action_manager_act_window.js +++ b/addons/web/static/src/js/chrome/action_manager_act_window.js @@ -362,7 +362,7 @@ ActionManager.include({ Widget: View, }); } else { - console.error("View type '" + viewType + "' is not present in the view registry."); + console.log("View type '" + viewType + "' is not present in the view registry."); } }); return views; |
