Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
4 Antworten
11342 Ansichten

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

Avatar
Verwerfen
Beste Antwort

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

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

Beste Antwort

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

Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
2
Mai 22
4727
1
Apr. 21
4247
1
Sept. 20
2890
7
Juni 20
22182
1
Jan. 20
2874