Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
4 Odgovori
11497 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
4824
1
apr. 21
4349
1
sep. 20
2962
7
jun. 20
22359
1
jan. 20
2974