Skip to Content
Menu
This question has been flagged
4 Replies
11365 Zobrazenia

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

Avatar
Zrušiť
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
Zrušiť
Autor

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

Related Posts Replies Zobrazenia Aktivita
2
máj 22
4749
1
apr 21
4260
1
sep 20
2905
7
jún 20
22197
1
jan 20
2903