コンテンツへスキップ
メニュー
この質問にフラグが付けられました
3 返信
9184 ビュー

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
4947
0
4月 24
1831
4
11月 23
5872
0
10月 23
1672
0
12月 22
2554