跳至內容
選單
此問題已被標幟
3 回覆
9161 瀏覽次數

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

相關帖文 回覆 瀏覽次數 活動
5
1月 19
4929
0
4月 24
1818
4
11月 23
5850
0
10月 23
1656
0
12月 22
2536