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

Hi, I need to show a hiden field like this:



I think about xpath but I don't find the correct way, hope you can help me, thanks

อวตาร
ละทิ้ง
ผู้เขียน

the code is this:

<field name="origin" attrs="{'invisible': [('origin', '=', False)]}"/>

คำตอบที่ดีที่สุด

If this field is from any odoo base module, you can enable debug mode go to the specific form and from debug option "edit form view" you can edit the field.

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

Dear David,

Create a custom module and past the below code

    


Thank you

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
3
เม.ย. 21
8900
How to add notebook via xpath แก้ไขแล้ว
2
มิ.ย. 20
5982
1
ต.ค. 19
4911
1
มี.ค. 15
14167
2
มี.ค. 15
5074