Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
3373 Weergaven

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
Annuleer
Beste antwoord

Hi Justin,

   

_inherit= "res.partner"

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


Hope it helps

Avatar
Annuleer
Auteur Beste antwoord

Thank you!

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
5
sep. 20
4916
2
aug. 23
14543
1
jan. 22
2672
5
sep. 20
4995
1
jun. 16
10105