diff options
| author | jbm-odoo <jbm@odoo.com> | 2019-04-03 09:31:18 +0000 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2019-04-18 08:07:43 +0000 |
| commit | c44f6ffd618e0509047ece95bee01a0121c91f97 (patch) | |
| tree | 76197c782f0f776202033c14bf223e612cc14593 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 204a673ca63792f8380c3676c351ae42ad5ed6f2 (diff) | |
[IMP] registry.py: Log info instead of warning about dropped view during installation
This problem appears when the module l10n_be_hr_payroll_fleet is installed with the
dynamic report for employees (enterprise module hr_contract_reports).
This module inherits from hr.contract and will create and modify some fields.
By modifying contract's table, PostgreSQL will drop the view from
hr_contract_employee_report. At the end of the installation, PostgreSQL will
check if tables exist, it isn't the case for the view from
hr_contract_employee_report, so it will recreate it.
It's the normal behavior.
But when a table is missing, a warning is logged and create problem with
Runbot. For this reason, it's better to log an Info and not a Warning message.
Validated with @rco
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
