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!
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 ?
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
|Asked: 8/15/14, 6:49 PM|
|Seen: 658 times|
|Last updated: 4/29/15, 10:03 AM|