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

when I add a new field before res.partner street , I never get a label why?

I need a field before street with a label. How can I do that:


<field name="arch" type="xml">

<field name="street" position="before">

<field name="gio_shortcut" string="Kürzel"/>

</field>

</field>


Why I never get an label ?

الصورة الرمزية
إهمال
أفضل إجابة

Try this,


<field name="arch" type="xml">
<xpath expr="/form/sheet/group/group/label[@for='street']" position="before">   
  <field name="gio_shortcut" string="Kürzel"/> 
</xpath

</field>

الصورة الرمزية
إهمال
الكاتب

thank you

المنشورات ذات الصلة الردود أدوات العرض النشاط
0
سبتمبر 18
4098
1
يناير 23
2918
3
أغسطس 20
5443
5
يونيو 20
7131
0
فبراير 18
3042