Skip to Content
Menu
This question has been flagged
3 Replies
9151 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
4922
0
apr 24
1810
4
nov 23
5845
0
okt 23
1648
0
dec 22
2527