Skip to Content
Menu
This question has been flagged
3 Replies
9143 Rodiniai

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

Portretas
Atmesti
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,

Portretas
Atmesti
Best Answer

Hello,

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

Portretas
Atmesti
Autorius

odoo8 not 9

Related Posts Replies Rodiniai Veikla
5
saus. 19
4911
0
bal. 24
1801
4
lapkr. 23
5841
0
spal. 23
1638
0
gruod. 22
2520