Skip to Content
मेन्यू
This question has been flagged
1 Reply
3619 Views

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 ?

Avatar
Discard
Best Answer

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>

Avatar
Discard
Author

thank you

Related Posts Replies Views Activity
0
सित॰ 18
4049
1
जन॰ 23
2878
3
अग॰ 20
5414
5
जून 20
7094
0
फ़र॰ 18
3008