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

Hi all,

I need to hide the cost, in the form in product sales, only for the sales staff.

Thanks in advance for your suggestions.

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

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

<field name="standard_price" attrs="{'readonly':[('cost_method','=','average')]}" groups="your_group_id"/>

Or if you prefer buy this app.


https://www.odoo.com/apps/modules/8.0/dusal_product/ 

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

Hi,

Please refer to the following link:

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

You can find all the latest versions from v10 to v18.


Hope it helps

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
พ.ย. 24
936
1
ส.ค. 24
1437
1
ส.ค. 24
2741
2
พ.ค. 23
1866
2
พ.ค. 20
36