Odoo Help


Hide a field within fields_view_get method

Danimar Ribeiro
on 5/21/14, 1:27 PM 1,708 views

There is no way for me to hide a field in the method fields_view_get, I tried all the possible ways to set invisible to the field, none of them worked (attrs, modifiers, invisible directly, invisible inside the tag.)

            for node in doc.xpath("//field[starts-with(@name, 'module_')]"):
                node.set('invisible', '1')  //don't work
                node.set('attrs', '{"invisible": 1 }') //don't work

What is my mistake here?






| 5 5 7
Bikaner, India

OpenERP Developer at SunARC Technology

On 5/26/14, 1:53 AM

Refer the LInk may be help you.

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: 5/21/14, 1:27 PM
Seen: 1708 times
Last updated: 3/16/15, 8:10 AM