Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
4 Besvarelser
11324 Visninger

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

Avatar
Kassér
Bedste svar

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
Kassér
Forfatter

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

Related Posts Besvarelser Visninger Aktivitet
2
maj 22
4720
1
apr. 21
4241
1
sep. 20
2888
7
jun. 20
22172
1
jan. 20
2863