跳至內容
選單
此問題已被標幟
1 回覆
5451 瀏覽次數

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!

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
3月 24
2809
3
8月 22
11971
2
2月 19
4182
2
6月 16
6042
1
9月 15
4792