Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
3646 Visualizações

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
Cancelar
Melhor resposta

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
Cancelar
Autor

thank you

Publicações relacionadas Respostas Visualizações Atividade
0
set. 18
4086
1
jan. 23
2912
3
ago. 20
5441
5
jun. 20
7125
0
fev. 18
3037