Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
2 Respostas
3397 Visualizações

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
Cancelar
Melhor resposta

Hi Justin,

   

_inherit= "res.partner"

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


Hope it helps

Avatar
Cancelar
Autor Melhor resposta

Thank you!

Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
5
set. 20
4929
2
ago. 23
14557
1
jan. 22
2682
5
set. 20
5020
1
jun. 16
10118