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.
Cette question a été signalée
1
Répondre
8524
Vues
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
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrire| Publications associées | Réponses | Vues | Activité | |
|---|---|---|---|---|
|
|
1
mai 16
|
5797 | ||
|
|
0
mars 15
|
4552 | ||
|
|
2
mai 24
|
11256 | ||
|
|
3
oct. 21
|
29172 | ||
|
|
1
mars 15
|
6263 |