Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odgovori
3829 Prikazi

Hi all,

I need to hide the cost, in the form in product sales, only for the sales staff.

Thanks in advance for your suggestions.

Avatar
Opusti
Best Answer

  By customizing the code of the view. Assign a group to that field so only the users in your group can see it.

<field name="standard_price" attrs="{'readonly':[('cost_method','=','average')]}" groups="your_group_id"/>

Or if you prefer buy this app.


https://www.odoo.com/apps/modules/8.0/dusal_product/ 

Avatar
Opusti
Best Answer

Hi,

Please refer to the following link:

 https://apps.odoo.com/apps/modules/10.0/hide_cost_price

You can find all the latest versions from v10 to v18.


Hope it helps

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
0
nov. 24
1103
1
avg. 24
1860
1
avg. 24
3384
2
maj 23
2212
2
maj 20
36