跳至内容
菜单
此问题已终结
3 回复
9160 查看

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
1655
0
12月 22
2536