We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afff209 commit f5b344eCopy full SHA for f5b344e
database_cleanup/models/purge_modules.py
@@ -48,7 +48,7 @@ def purge(self):
48
if not modules:
49
return True
50
self.logger.info('Purging modules %s', ', '.join(module_names))
51
- modules.write({'state': 'to remove'})
+ modules.button_uninstall()
52
# we need this commit because reloading the registry would roll back
53
# our changes
54
self.env.cr.commit() # pylint: disable=invalid-commit
0 commit comments