Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
9153 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hello,

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

Ảnh đại diện
Huỷ bỏ
Tác giả

odoo8 not 9

Bài viết liên quan Trả lời Lượt xem Hoạt động
5
thg 1 19
4927
0
thg 4 24
1811
4
thg 11 23
5845
0
thg 10 23
1655
0
thg 12 22
2530