Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3 Odpovědi
9188 Zobrazení

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šit
Nejlepší odpověď

<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šit
Nejlepší odpověď

Hello,

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

Avatar
Zrušit
Autor

odoo8 not 9

Related Posts Odpovědi Zobrazení Aktivita
5
led 19
4948
0
dub 24
1832
4
lis 23
5873
0
říj 23
1673
0
pro 22
2554