跳至内容
菜单
此问题已终结
1 回复
3554 查看

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

相关帖文 回复 查看 活动
0
9月 18
3923
1
1月 23
2778
3
8月 20
5309
5
6月 20
6978
0
2月 18
2895