Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
3651 มุมมอง

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

Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ก.ย. 18
4094
1
ม.ค. 23
2917
3
ส.ค. 20
5443
Inherit from inherited view แก้ไขแล้ว
5
มิ.ย. 20
7129
0
ก.พ. 18
3041