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.
Esta pergunta foi sinalizada
1
Responder
8515
Visualizações
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
Está gostando da discussão? Não fique apenas lendo, participe!
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscrever-se| Publicações relacionadas | Respostas | Visualizações | Atividade | |
|---|---|---|---|---|
|
|
1
mai. 16
|
5788 | ||
|
|
0
mar. 15
|
4531 | ||
|
|
2
mai. 24
|
11251 | ||
|
|
3
out. 21
|
29170 | ||
|
|
1
mar. 15
|
6231 |