Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3 ตอบกลับ
9141 มุมมอง

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

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hello,

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

อวตาร
ละทิ้ง
ผู้เขียน

odoo8 not 9

Related Posts ตอบกลับ มุมมอง กิจกรรม
Odoo8 Xpath ParseError: "ValidateError แก้ไขแล้ว
5
ม.ค. 19
4910
0
เม.ย. 24
1800
4
พ.ย. 23
5841
0
ต.ค. 23
1636
0
ธ.ค. 22
2520