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

How to hide cost price located on product -> procurement tab for specific user?

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

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

Like:

<field name="standard_price" attrs="{'readonly':[('cost_method','=','average')]}" groups="your_group_id"/>
الصورة الرمزية
إهمال
الكاتب

How to know my group id, where to look for it? Thanks.

أفضل إجابة

You can use this module: https://apps.odoo.com/apps/modules/17.0/as_hide_product_price/

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
2
مايو 22
4720
1
أبريل 21
4238
1
سبتمبر 20
2888
7
يونيو 20
22170
1
يناير 20
2863