Skip to content

Commit 1600f89

Browse files
authored
Merge pull request OCA#519 from OCA/12.0
Syncing from upstream OCA/server-tools (12.0)
2 parents 3d62b29 + 5157720 commit 1600f89

3 files changed

Lines changed: 8 additions & 3 deletions

File tree

database_cleanup/__openerp__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
33
{
44
'name': 'Database cleanup',
5-
'version': '12.0.1.0.0',
5+
'version': '12.0.1.0.1',
66
'author': "Therp BV,Odoo Community Association (OCA)",
77
'depends': ['base'],
88
'license': 'AGPL-3',

database_cleanup/i18n/database_cleanup.pot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ msgid "No dangling menu entries found"
286286
msgstr ""
287287

288288
#. module: database_cleanup
289-
#: code:addons/database_cleanup/models/purge_modules.py:78
289+
#: code:addons/database_cleanup/models/purge_modules.py:83
290290
#, python-format
291291
msgid "No modules found to purge"
292292
msgstr ""

database_cleanup/models/purge_modules.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,12 @@ class CleanupPurgeWizardModule(models.TransientModel):
6464
def find(self):
6565
res = []
6666
IrModule = self.env['ir.module.module']
67-
for module in IrModule.search([('to_buy', '=', False)]):
67+
for module in IrModule.search(
68+
[
69+
('to_buy', '=', False),
70+
('name', '!=', 'studio_customization')
71+
]
72+
):
6873
if get_module_path(module.name, display_warning=False):
6974
continue
7075
if module.state == 'uninstalled':

0 commit comments

Comments
 (0)