Skip to Content
Menú
This question has been flagged
2 Respostes
3375 Vistes

Hi everyone,


I would like to change the radio selections in the contact form from "individual" and "company" to student and parent for example. 

I am familiar with _inherit and xpath. 

however I cannot find the correct xpath structure to rename these radio selections.

any help would be appreciated


J

Avatar
Descartar
Best Answer

Hi Justin,

   

_inherit= "res.partner"

    company_type = fields.Selection(selection=[('person', 'Child'),('company', 'Parent')])


Hope it helps

Avatar
Descartar
Autor Best Answer

Thank you!

Avatar
Descartar
Related Posts Respostes Vistes Activitat
5
de set. 20
4916
2
d’ag. 23
14544
1
de gen. 22
2672
5
de set. 20
4996
1
de juny 16
10105