Odoo Help

Welcome!

This community 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.

0

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

By
wizardz
on 8/27/15, 8:51 AM 318 views

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

in sale.order ???


0

Anil R. Kesariya

--Anil R. Kesariya--
4321
| 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

Stemphane,

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.

Rgds,

Anil.


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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

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