Skip to Content
Menú
This question has been flagged
4 Respostes
11339 Vistes

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

Avatar
Descartar
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
Descartar
Autor

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

Related Posts Respostes Vistes Activitat
2
de maig 22
4727
1
d’abr. 21
4245
1
de set. 20
2890
7
de juny 20
22181
1
de gen. 20
2874