Odoo Help

0

xpath problems with string

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

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.

Register

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)

Stats

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