Skip to Content
Menu
This question has been flagged
3 Replies
9489 Zobrazenia

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
Zrušiť
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
Zrušiť
Best Answer

Hello,

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

Avatar
Zrušiť
Autor

odoo8 not 9

Related Posts Replies Zobrazenia Aktivita
5
jan 19
5255
0
apr 24
2125
4
nov 23
6264
0
okt 23
2002
0
dec 22
2832