Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
3518 Widoki

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 ?

Awatar
Odrzuć
Najlepsza odpowiedź

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>

Awatar
Odrzuć
Autor

thank you

Powiązane posty Odpowiedzi Widoki Czynność
0
wrz 18
3877
1
sty 23
2705
3
sie 20
5255
5
cze 20
6915
0
lut 18
2816