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

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
Zrušit
Nejlepší odpověď

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

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

How can i take it back into default view?

Autor Nejlepší odpověď

Like?

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. 


Avatar
Zrušit
Autor

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

Related Posts Odpovědi Zobrazení Aktivita
3
čvc 25
2089
1
čvn 25
2495
2
kvě 25
2050
1
kvě 25
1259
1
úno 25
38