Odoo Help


How to hide a field ex. price_unit for a usergroup called = test

on 8/27/15, 8:51 AM 357 views

How to hide a field ex. price_unit for a usergroup called = test

in sale.order ???


Anil R. Kesariya

--Anil R. Kesariya--
| 6 5 8
Gandhinagar, India
--Anil R. Kesariya--
ERP Consultant

Key Skill
Technical & Functional Expert
Anil R. Kesariya
On 8/28/15, 4:46 AM


Here is one solution if you want to hide particular field for specific group.

Follow these steps this might help you.

1) Take one boolean field  (Computational field)

     The method defined for this field will check the current user has your X(Test) group than it will set true to your boolean field.

2) Apply attrs on your field if that boolean is true than make it visible.

Hope this will help.



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

2 follower(s)


Asked: 8/27/15, 8:51 AM
Seen: 357 times
Last updated: 8/28/15, 4:46 AM