Skip to Content
Menu
This question has been flagged
4 Replies
11330 Views

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

Avatar
Discard
Best Answer

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"/>
Avatar
Discard
Author

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

Related Posts Replies Views Activity
2
May 22
4721
1
Apr 21
4243
1
Sep 20
2890
7
Jun 20
22174
1
Jan 20
2866