Se rendre au contenu
Menu
Cette question a été signalée
2 Réponses
3120 Vues

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
Ignorer
Meilleure réponse

Hi Justin,

   

_inherit= "res.partner"

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


Hope it helps

Avatar
Ignorer
Auteur Meilleure réponse

Thank you!

Avatar
Ignorer
Publications associées Réponses Vues Activité
5
sept. 20
4610
2
août 23
13744
1
janv. 22
2359
5
sept. 20
4692
1
juin 16
9881