Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
3392 Vistas

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
Mejor respuesta

Hi Justin,

   

_inherit= "res.partner"

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


Hope it helps

Avatar
Descartar
Autor Mejor respuesta

Thank you!

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
5
sept 20
4926
2
ago 23
14556
1
ene 22
2679
5
sept 20
5012
1
jun 16
10118