Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
3 Antwoorden
2531 Weergaven

Hi,

Is it possible to hide the cost price of the product in the Product view?

I have standard sales staff and we want to restrict the access to the cost price. We want them to see the product attributes but hide the cost (standard price).


Already tried copying the template view and modify it to customized view, but it's not working.

Avatar
Annuleer
Beste antwoord

Hi,

You can hide the cost price of the product in the Product view and also restrict access to it.

You can go through this module,

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


Hope it helps

Avatar
Annuleer
Auteur

After installing the module, it changes the "Access Rights" view.
https://imgur.com/1UDpGHH

How can i take it back into default view?

Auteur Beste antwoord

Like?

Avatar
Annuleer
Beste antwoord

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


Avatar
Annuleer
Auteur

How can i properly make the customized code work?

And in what you mean in "group", this is what i did.
Settings>User&Companies>Groups>New>Added some user>Added a line in Views

Gerelateerde posts Antwoorden Weergaven Activiteit
3
jul. 25
2156
1
jun. 25
2677
2
mei 25
2142
1
mei 25
1330
1
feb. 25
38