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!
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
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 ?
Dear Alex.
Try to logout to your account after your custom module uninstallation. of the problem persist, restart openerp server.
Best regards.