Odoo Help


Fully Uninstalling Custom Modules

Alex Gallien
on 8/15/14, 6:49 PM 1,105 views

I have noticed lately that when I uninstall a custom module there can be some residual things left over, especially view changes. For example, I had added a column to Work Orders for Customer. When I uninstalled the module it was giving me errors, looking for a field that didn't exist anymore. I thought that would have been removed when I removed the module. When I reinstalled there was no error, but there were two Customer columns. I have also had other view issues when uninstalling modules. Is there a more thorough way to uninstall modules? Should I restart the server after uninstalls too? Thanks!

Francisco Cano Marchal
On 4/29/15, 10:03 AM

I am having similar problem. I have a fully working custom module (running in Eclipse in Odoo Server Installation in Ubuntu). However, when installing it in a my working company server (Odoo 8 in Ubuntu Sever 14.04), I get the following error:

ParseError: "ValidateError
Field(s) `arch` failed against a constraint: Invalid view definition

Error details:
Field `x_tipocodigo` does not exist

Error context:
View `product.template form`
[view_id: 686, xml_id: n/a, model: product.template, parent_id: 258]" while parsing /opt/odoo/addons/dblaboratorio/dblaboratorio_view.xml:6, near
<record id="product_template_dblaboratorio" model="ir.ui.view"> 

I got this error message in the past, and fixed the problem (the field was not well defined in the python file inheriting product.template), but keep getting the message and can not install. I do not get this error in fresh server installations.

I have logged out, restarted openerp server, and tried to install in new database. However, this error persists. 

I have looked for the view with id=686, and apparently it does not exist.

Any help ?

ThackerS (ts)
On 8/15/14, 7:34 PM

Dear Alex.
Try to logout to your account after your custom module uninstallation. of the problem persist, restart openerp server.
Best regards.

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

1 follower(s)


Asked: 8/15/14, 6:49 PM
Seen: 1105 times
Last updated: 4/29/15, 10:03 AM