Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
7012 Weergaven

Hi, is it possible to possible to change the column header string in the one2many field display though the xml. I would like to do this this i can use the same field at multiple places where only the column header string differs.

Avatar
Annuleer
Auteur Beste antwoord

Found it myself, just define the tree view and use the string attribute for the field.

eg. if abc is a one2manyfield with the label of employee_id needed to be changed then in the xml

  <field name="abc">
    <tree>
    <field name="employee_id string="Volunteer Name"/>
    </tree>
  </field>

This will display the header as Volunteer Name

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
1
mei 16
4337
0
mrt. 15
3224
2
mei 24
9118
1
mrt. 15
4501
1
mrt. 15
4156