Odoo Help


This community 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.


xpath problems with string

on 6/21/16, 8:28 AM 255 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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


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