Uninstall an Odoo module (via terminal/command line)
If you're just trying to uninstall a module (disable it in the database), you can run a script using Odoo’s shell:
./odoo-bin shell -d your_database_name
Then, once inside the shell:
module = env['ir.module.module'].search([('name', '=', 'your_module_name')])
module.button_immediate_uninstall()
Comments
Post a Comment