Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
4 Risposte
11333 Visualizzazioni

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

Avatar
Abbandona
Risposta migliore

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
Abbandona
Autore

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

Risposta migliore

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

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
mag 22
4722
1
apr 21
4243
1
set 20
2890
7
giu 20
22174
1
gen 20
2866