Skip to Content
Menu
This question has been flagged
3 Replies
8034 Views

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
Discard
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
Discard
Best Answer

Hello,

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

Avatar
Discard
Author

odoo8 not 9

Related Posts Replies Views Activity
5
Jan 19
4019
0
Apr 24
400
4
Nov 23
4250
0
Oct 23
378
0
Dec 22
1334