Se rendre au contenu
Menu
Cette question a été signalée
3 Réponses
9488 Vues

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
Ignorer
Meilleure réponse

<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
Ignorer
Meilleure réponse

Hello,

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

Avatar
Ignorer
Auteur

odoo8 not 9

Publications associées Réponses Vues Activité
5
janv. 19
5255
0
avr. 24
2125
4
nov. 23
6264
0
oct. 23
2002
0
déc. 22
2832