تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
3 الردود
2598 أدوات العرض

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.

الصورة الرمزية
إهمال
أفضل إجابة

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

الصورة الرمزية
إهمال
الكاتب

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

How can i take it back into default view?

الكاتب أفضل إجابة

Like?

الصورة الرمزية
إهمال
أفضل إجابة

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


الصورة الرمزية
إهمال
الكاتب

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

المنشورات ذات الصلة الردود أدوات العرض النشاط
3
يوليو 25
2256
1
يونيو 25
2933
2
مايو 25
2202
1
مايو 25
1367
1
فبراير 25
38