Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
4 ตอบกลับ
11329 มุมมอง

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/

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

Refer the app:

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

Regards

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
พ.ค. 22
4720
1
เม.ย. 21
4243
1
ก.ย. 20
2890
7
มิ.ย. 20
22174
1
ม.ค. 20
2863