diff --git a/database_cleanup/__openerp__.py b/database_cleanup/__openerp__.py index cdd379c7e..7c535deca 100644 --- a/database_cleanup/__openerp__.py +++ b/database_cleanup/__openerp__.py @@ -2,7 +2,7 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). { 'name': 'Database cleanup', - 'version': '12.0.1.0.0', + 'version': '12.0.1.0.1', 'author': "Therp BV,Odoo Community Association (OCA)", 'depends': ['base'], 'license': 'AGPL-3', diff --git a/database_cleanup/i18n/database_cleanup.pot b/database_cleanup/i18n/database_cleanup.pot index 3c537ea90..d7fd57b00 100644 --- a/database_cleanup/i18n/database_cleanup.pot +++ b/database_cleanup/i18n/database_cleanup.pot @@ -286,7 +286,7 @@ msgid "No dangling menu entries found" msgstr "" #. module: database_cleanup -#: code:addons/database_cleanup/models/purge_modules.py:78 +#: code:addons/database_cleanup/models/purge_modules.py:83 #, python-format msgid "No modules found to purge" msgstr "" diff --git a/database_cleanup/models/purge_modules.py b/database_cleanup/models/purge_modules.py index e8304d99d..0cb799d22 100644 --- a/database_cleanup/models/purge_modules.py +++ b/database_cleanup/models/purge_modules.py @@ -64,7 +64,12 @@ class CleanupPurgeWizardModule(models.TransientModel): def find(self): res = [] IrModule = self.env['ir.module.module'] - for module in IrModule.search([('to_buy', '=', False)]): + for module in IrModule.search( + [ + ('to_buy', '=', False), + ('name', '!=', 'studio_customization') + ] + ): if get_module_path(module.name, display_warning=False): continue if module.state == 'uninstalled':