Ir al contenido
Menú
Se marcó esta pregunta
4 Respuestas
11319 Vistas

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

Avatar
Descartar
Mejor respuesta

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.

Mejor respuesta

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

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
2
may 22
4719
1
abr 21
4236
1
sept 20
2886
7
jun 20
22168
1
ene 20
2860