Last active
March 9, 2024 18:11
-
-
Save ilyasProgrammer/8611313c460cd40f1f3a7e4dcbb2719a to your computer and use it in GitHub Desktop.
Uninstall Odoo module from shell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
python3 /pd/odoo13ee/odoo-bin shell -d database_name | |
self.env['ir.module.module'].search([('name', '=', 'module_name')]).button_immediate_uninstall() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
or
button_immediate_upgrade()
button_immediate_install()