Odoo Help


How can I change ir.ir_ui_view element?

Madmat Anato Nonas
on 6/2/14, 8:32 AM 909 views

Current git master branch throws the error below, after openerp-server -d database -u all, how to correct this?

How can I fix the ir_ui_view element <xpath expr="//group[@name='Weights']">?


locadb openerp.addons.base.ir.ir_ui_view: Element '<xpath expr="//group[@name='Weights']"
>' cannot be located in parent view

Error context:
View `product.normal.procurement.locations.inherit`
[view_id: 831, xml_id: stock.view_normal_procurement_locations_form, model: product.product, parent_id: 343]
2014-06-02 10:04:45,298 8086 INFO locloco werkzeug: - - [02/Jun/2014 10:04:45] "GET / HTTP/1.0" 303 -
Exception happened during processing of request from ('', 26037)
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/SocketServer.py", line 593, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/local/lib/python2.7/SocketServer.py", line 334, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/local/lib/python2.7/SocketServer.py", line 651, in __init__
  File "/usr/local/lib/python2.7/SocketServer.py", line 710, in finish
  File "/usr/local/lib/python2.7/socket.py", line 279, in close
  File "/usr/local/lib/python2.7/socket.py", line 303, in flush
error: [Errno 32] Broken pipe

Madmat Anato Nonas
On 6/10/14, 10:01 AM

The solution/hack

In postgres table ir_module_module set the state to uninstalled for the concerned modules then do

openerp-server -d database -u all

After that, reinstall module, import data. This is ugly and cumbersome but works.

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

1 follower(s)


Asked: 6/2/14, 8:32 AM
Seen: 909 times
Last updated: 3/16/15, 8:10 AM