diff options
| author | Christophe Simonis <chs@odoo.com> | 2018-06-05 16:27:49 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2018-06-05 16:27:49 +0200 |
| commit | aba8c2b8fbfb024652f0a080c657eb2369088eda (patch) | |
| tree | bbb10ed85d2ae7f0bc1e77234fc1d24d9067de8d /odoo/modules/registry.py | |
| parent | fc5e61b63d1357f4c89e68e108de1ade21db724f (diff) | |
| parent | 1b272a20504e16e0c170ea717f5bcf63d38e7cb5 (diff) | |
[MERGE] forward port branch 11.0 up to 1b272a20504
Diffstat (limited to 'odoo/modules/registry.py')
| -rw-r--r-- | odoo/modules/registry.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/odoo/modules/registry.py b/odoo/modules/registry.py index c7d8711287b..3115470adeb 100644 --- a/odoo/modules/registry.py +++ b/odoo/modules/registry.py @@ -298,6 +298,8 @@ class Registry(Mapping): """ if 'module' in context: _logger.info('module %s: creating or updating database tables', context['module']) + elif context.get('models_to_check', False): + _logger.info("verifying fields for every extended model") env = odoo.api.Environment(cr, SUPERUSER_ID, context) models = [env[model_name] for model_name in model_names] |
