diff --git a/configuration_helper/models/config.py b/configuration_helper/models/config.py index d9dd18381..32668005c 100644 --- a/configuration_helper/models/config.py +++ b/configuration_helper/models/config.py @@ -30,7 +30,6 @@ class AbstractConfigSettings(models.AbstractModel): @api.model def _setup_base(self): - import pdb; pdb.set_trace() cls = type(self) super(AbstractConfigSettings, self)._setup_base() if not cls._companyObject: diff --git a/test_configuration_helper/__manifest__.py b/test_configuration_helper/__manifest__.py index 6baa1ea22..c460c0c41 100644 --- a/test_configuration_helper/__manifest__.py +++ b/test_configuration_helper/__manifest__.py @@ -7,7 +7,7 @@ 'category': 'Tests', 'depends': ['configuration_helper'], 'website': 'https://github.com/OCA/server-tools', - 'installable': False, + 'installable': True, 'auto_install': False, 'license': 'AGPL-3', 'application': False, diff --git a/test_configuration_helper/models.py b/test_configuration_helper/models.py index 2989835fe..75b7b621d 100644 --- a/test_configuration_helper/models.py +++ b/test_configuration_helper/models.py @@ -13,6 +13,7 @@ class ResCompany(models.Model): class MyConfigA(models.TransientModel): + _name = 'res.config.settings' _inherit = ['res.config.settings', 'abstract.config.settings'] _prefix = 'prefix_a_' _companyObject = ResCompany diff --git a/test_configuration_helper/tests/test_config.py b/test_configuration_helper/tests/test_config.py index 33ea2aa85..b3b63f89d 100644 --- a/test_configuration_helper/tests/test_config.py +++ b/test_configuration_helper/tests/test_config.py @@ -6,7 +6,6 @@ import odoo.tests.common as common class TestAbstractSettings(common.TransactionCase): def setUp(self): - import pdb; pdb.set_trace() super(TestAbstractSettings, self).setUp() self.partner_id = self.ref('base.res_partner_12') self.company = self.env.ref('base.main_company')