Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
4 Respostas
11326 Visualizações

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

Avatar
Cancelar
Melhor resposta

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
Cancelar
Autor

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

Melhor resposta

You can use this module: https://apps.odoo.com/apps/modules/17.0/as_hide_product_price/

Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
2
mai. 22
4720
1
abr. 21
4241
1
set. 20
2890
7
jun. 20
22172
1
jan. 20
2863