summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/xml/editor.xml
diff options
context:
space:
mode:
authorAdrian Torres <adt@odoo.com>2020-03-26 08:37:42 +0000
committerRaphael Collet <rco@odoo.com>2020-03-26 09:25:15 +0000
commit975ba2772304c66adf8be66a353fab529ada9c35 (patch)
tree06cd4578398f7ab996488b993f1e893eded3c819 /addons/web_editor/static/src/xml/editor.xml
parent34227348f0097eb6d357fb1b22fcdb68240f4b4a (diff)
[FIX] core: enable logger.runbot() when importing odoo as a library
Before this commit, trying to use Odoo as a library without initializing the logging features would result in a crash because `Logger.runbot()` is monkey-patched inside the function `init_logger()`, which is de facto necessary for using Odoo as a lib. With this commit, we do the monkey-patch at the module-level so whenever the `netsvc` package is imported the patch is applied, which should be well before the loading of the registry starts. closes odoo/odoo#48396 Signed-off-by: Raphael Collet (rco) <rco@openerp.com>
Diffstat (limited to 'addons/web_editor/static/src/xml/editor.xml')
0 files changed, 0 insertions, 0 deletions