summaryrefslogtreecommitdiff
path: root/addons/base_import/static/src/xml/base_import.xml
diff options
context:
space:
mode:
authorJulien Castiaux <juc@odoo.com>2020-04-15 09:21:56 +0000
committerJulien Castiaux <juc@odoo.com>2020-05-04 16:05:26 +0000
commit47a1ae580f41d216d48c67ae81dc8f1d16be7578 (patch)
treed65f8961b9e839934261fc2fdec658d5e7e21aed /addons/base_import/static/src/xml/base_import.xml
parent4cff27d6abcc3659b64591caf8c9ef60671b9c26 (diff)
[REV] module: bring back openerp import hook
Use `warnings.warn` to log a warning entry on usage of deprecated import hook instead of `logging.warning`. The `warnings` can be more easily configured to show/hide class of warnings or to limit warning emission, plus it is possible to log a single stack entry whereas logging can just log the entire call stack. Bring back the various openerp import hooks by reverting 9e1f13bac12 closes odoo/odoo#50604 Task: 2234749 X-original-commit: 5840202802c2ff6ca1ca8fd6f3892900481db5da Signed-off-by: Raphael Collet (rco) <rco@openerp.com> Signed-off-by: Christophe Simonis <chs@odoo.com>
Diffstat (limited to 'addons/base_import/static/src/xml/base_import.xml')
0 files changed, 0 insertions, 0 deletions