Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
4 Odpovědi
11358 Zobrazení

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

Avatar
Zrušit
Nejlepší odpověď

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
Zrušit
Autor

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

Nejlepší odpověď

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

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
kvě 22
4743
1
dub 21
4256
1
zář 20
2900
7
čvn 20
22193
1
led 20
2893