odoo命令行卸载模块

1.shell启动odoo

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

启动成功截图

2.命令行卸载

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

3.卸载成功

原文地址:https://www.cnblogs.com/yqyn-study/p/14336250.html