Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
4 Odgovori
11683 Prikazi

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

Avatar
Opusti
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
Opusti
Avtor

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

Related Posts Odgovori Prikazi Aktivnost
2
maj 22
4965
1
apr. 21
4546
1
sep. 20
3081
7
jun. 20
22577
1
jan. 20
3136