Hide cost price in stocks tab of product card

Hello,
Sorry i’m new to dolibarr.
I want to hide cost price from all user groups except superadmin.
I removed read suppliers and read margins permissions for the user groups. But in the stock tab of the productcard, i can still see cost price.
I have purchased MyField from patas-monkey.
But i cannot understamd how to get it to work.
Is there another solution, or has anyone had experience with MyField?
Thanks

Hey

you might try this configuration

Good continuation

Hi pcbleu,
thank you for replying
i created the myfield as you specified, but i still see the cost price

Hi Nirmal

I thought you asked about stock movement list…
Here is the parameters for “cost price”

you can manage acces for admins with “Access rights to myfields”

Good continuation

1 Like

Thank you so much sir
Worked perfectly!
If i may ask, for future customisation, where do i find the list of Activation contexts for MyField module. Thank you again!

https://wiki.patas-monkey.com/index.php?title=MyField#Contexte_d.27activation

1 Like