Skip to Content
Menú
This question has been flagged
3 Respostes
9144 Vistes

why can't I put this under the timesheet period??

<xpath expr="//sheet/group/group/[@string='Timesheet Period']" position="after">

<label for="project_field" string="Project"/>

</xpath>

It's not working

Avatar
Descartar
Best Answer

<xpath expr="//sheet/group/group/label[@string='Timesheet Period']" position="after">

or

<xpath expr="//sheet/group/group/label[contains(@string,'Timesheet Period')]" position="after">


kind regards,

Avatar
Descartar
Best Answer

Hello,

I think you are working on Odoo 9. and in Odoo 9 xpath is not working with string.

Avatar
Descartar
Autor

odoo8 not 9

Related Posts Respostes Vistes Activitat
5
de gen. 19
4911
0
d’abr. 24
1804
4
de nov. 23
5843
0
d’oct. 23
1638
0
de des. 22
2521