تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
3 الردود
9149 أدوات العرض

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
يناير 19
4921
0
أبريل 24
1808
4
نوفمبر 23
5844
0
أكتوبر 23
1648
0
ديسمبر 22
2527