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

Hy,

I would like to override the little contact form that is in the base.view_partner_form : * I can't get any field * I succeed in pointing the page of the notebook but didn't succeed in getting inside the subform * I tried this without success :

//page[@string='Contacts']/field[@name='child_ids']/form/field[@name='category_id'] and this //page[@string='Contacts']/form/field[@name='category_id']

Here is the definition of the view : http://pastebin.com/0aakHbZ4

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

Pfiouuuuu,

I finally succeed after multiple tests. Here is one of the correct syntax :

< xpath expr="//field[@name='child_ids']/form/sheet/div/field[@name='category_id']" position="attributes" > < attribute name="placeholder" >Professions< /attribute > < /xpath>

My point was that I didn't undertsnad how to drill down in the structure of the form!

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
มี.ค. 24
2754
3
ส.ค. 22
11915
2
ก.พ. 19
4117
2
มิ.ย. 16
6010
1
ก.ย. 15
4710