Odoo Help

Welcome!

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.

0

xpath problems with string

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

</xpath>

It's not working

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

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

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

Hello,

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

odoo8 not 9

wizardz
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)

Stats

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