Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
3520 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Autor

thank you

Related Posts Odpovědi Zobrazení Aktivita
0
zář 18
3877
1
led 23
2710
3
srp 20
5256
5
čvn 20
6917
0
úno 18
2816