Odoo Help


How to cancel the update of a module?

Julian Solorzano
on 1/13/14, 4:53 PM 1,761 views

When you update a module, but there's an unhandled error, then you can't do anything because the queue of modules to install still tries to install the module, so unless you correct the error you can't do anything in the database.

I remember reading an answer, maybe in this site, in which one person had a problem updating a module, and an answerer gave him a sql command to manually cancel the update of the module in the meantime. I think it was a table that had a field that indicated that the module was to be updated.

I can't for the life of me find this command again nor I haven't been able to find by searching the schema the table and field which did the trick. Anyone knows it?


Gopakumar N G

--Gopakumar N G--
| 5 3 7
Cochin, India
--Gopakumar N G--

Senior Software Engineer at BroadTech IT Solutions Pvt. Ltd.

Gopakumar N G
On 1/14/14, 12:57 AM

Hi, Open the postgres sql and open the table ir_module_module, then in that table find the row corresponding to your module and update the state field of that module to uninstalled from to upgrade. Or you can run the SQL query as update ir_module_module set state='uninstalled' where name='your_module_name';.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 1/13/14, 4:53 PM
Seen: 1761 times
Last updated: 3/16/15, 8:10 AM