From 506755ef8ced187c0f5cd2fa600e7bb1e1fc0fe3 Mon Sep 17 00:00:00 2001 From: Christophe Monniez Date: Tue, 23 Feb 2021 13:24:08 +0000 Subject: [FIX] tests: test support for modules without `__init__.py` Now that a test exists to enforce `__init__.py` in odoo module, we must ensure that we keep the feature. For that reason, a white-list system is added in `test_dunderinit` and a test is added in order to be sure that a module without `__init__.py` can be exists. This this is made of a fake module `test_data_module` without `__init__.py` and a test module which ensure the fake module was installed. closes odoo/odoo#66651 Related: odoo/enterprise#16596 Signed-off-by: Christophe Monniez (moc) --- odoo/addons/test_data_module_install/__init__.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 odoo/addons/test_data_module_install/__init__.py (limited to 'odoo/addons/test_data_module_install/__init__.py') diff --git a/odoo/addons/test_data_module_install/__init__.py b/odoo/addons/test_data_module_install/__init__.py new file mode 100644 index 00000000000..e69de29bb2d -- cgit v1.2.3