Odoo Help

0

How to hide cost price for specific user?

By
Suhendri
on 5/23/13, 9:44 PM 3,625 views

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

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

Like:

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

Suhendri
on 5/24/13, 9:53 AM

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

2 follower(s)

Stats

Asked: 5/23/13, 9:44 PM
Seen: 3625 times
Last updated: 3/16/15, 8:10 AM