summaryrefslogtreecommitdiff
path: root/openerp/modules/loading.py
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2017-01-06 17:37:33 +0100
committerChristophe Simonis <chs@odoo.com>2017-01-06 17:37:33 +0100
commitde6aaeb5468f66283cd221f16e97affacd2a4146 (patch)
tree9ce4705ceb52056a24d67e0915042d6f2f0ba491 /openerp/modules/loading.py
parent573293a06da08904238a6edb75c3804d917e26a3 (diff)
parente0d33ce07deae3278249f9c7572f42f6b88b6013 (diff)
[MERGE] forward port branch 9.0 up to e0d33ce07de
Diffstat (limited to 'openerp/modules/loading.py')
-rw-r--r--openerp/modules/loading.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openerp/modules/loading.py b/openerp/modules/loading.py
index db4df356001..f8bae40ad37 100644
--- a/openerp/modules/loading.py
+++ b/openerp/modules/loading.py
@@ -367,7 +367,7 @@ def load_modules(db, force_demo=False, status=None, update_module=False):
for (model,) in cr.fetchall():
if model in registry:
registry[model]._check_removed_columns(cr, log=True)
- else:
+ elif _logger.isEnabledFor(logging.INFO): # more an info that a warning...
_logger.warning("Model %s is declared but cannot be loaded! (Perhaps a module was partially removed or renamed)", model)
# Cleanup orphan records