Odoo Help


xpath problems with string

on 6/21/16, 8:28 AM 389 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"/>


It's not working

Juan Vicente Pascual
On 6/22/16, 6:47 AM

<xpath expr="//sheet/group/group/label[@string='Timesheet Period']" position="after">


<xpath expr="//sheet/group/group/label[contains(@string,'Timesheet Period')]" position="after">

kind regards,

Divyesh Rojivadiya
On 6/21/16, 8:39 AM


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

odoo8 not 9

on 6/21/16, 8:51 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 6/21/16, 8:28 AM
Seen: 389 times
Last updated: 6/22/16, 7:18 AM