Odoo Help

0

How can I change ir.ir_ui_view element?

By
Madmat Anato Nonas
on 6/2/14, 8:32 AM 1,116 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']">?

Thanks!

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: 127.0.0.1 - - [02/Jun/2014 10:04:45] "GET / HTTP/1.0" 303 -
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 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__
    self.finish()
  File "/usr/local/lib/python2.7/SocketServer.py", line 710, in finish
    self.wfile.close()
  File "/usr/local/lib/python2.7/socket.py", line 279, in close
    self.flush()
  File "/usr/local/lib/python2.7/socket.py", line 303, in flush
    self._sock.sendall(view[write_offset:write_offset+buffer_size])
error: [Errno 32] Broken pipe
----------------------------------------

0
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.

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.

Register

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)

Stats

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