Skip to Content
Menu
This question has been flagged
1 Reply
1063 Views

Hi, 

I'm running Odoo V14 community edition on a self-hosted environment. 

The ERP runs in a docker container and recently i tested some practices to automatically backup the containers. I made few mistakes and I had to re-install Oodoo and use a database-backup. 

The backup missed all the file storage and all my few attachment have been lost. 

Also, a module om_hr_payroll cannot be updated/re-installed/removed anymore. 

It's also preventing me to install any other module. 


Can someone please point me at a way to remove manually the module from my installation? I assume i need to drop/alter some tables from the database but I may need more clues..


Avatar
Discard

please share us the issue that you face when trying to install/uninstalling our module.
Email: odoomates@gmail.com

Best Answer

Try this:

$ echo "self.env['ir.module.module'].search([('name', '=', 'crm')]).button_immediate_uninstall()" | python odoo-bin shell -d mydb


1. Replace crm with module you want to uninstall

2. Replace mydb with your database name

Avatar
Discard