Odoo Help


How to hide cost price for specific user?

on 5/23/13, 9:44 PM 3,205 views

How to hide cost price located on product -> procurement tab for specific user?


Davide Corio

--Davide Corio--
Davide Corio
| 5 4 7
Bricherasio, Italy
--Davide Corio--

Odoo Evangelist and Consultant

Davide Corio
On 5/24/13, 5:35 AM

By customizing the code of the view. Assign a group to that field so only the users in your group can see it.


<field name="standard_price" attrs="{'readonly':[('cost_method','=','average')]}" groups="your_group_id"/>

How to know my group id, where to look for it? Thanks.

on 5/24/13, 9:53 AM

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: 5/23/13, 9:44 PM
Seen: 3205 times
Last updated: 3/16/15, 8:10 AM