Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
5385 Переглядів

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
2750
3
серп. 22
11912
2
лют. 19
4115
2
черв. 16
6008
1
вер. 15
4708