odoo command line uninstall module

odoo command line uninstall module

1. The shell starts odoo

python odoo-bin shell -c odoo.conf -d 数据库名

PyCharm terminal
Successful startup screenshot
Successful startup screenshot

2. Command line uninstall

self.env['ir.module.module'].search([('name', 'like', '需要卸载的模块名')]).button_immediate_uninstall()

uninstall command

3. Successfully uninstalled
uninstalled successfully

Guess you like

Origin blog.csdn.net/yqyn6/article/details/113372160