Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odgovori
3377 Prikazi

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
Opusti
Best Answer

Hi Justin,

   

_inherit= "res.partner"

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


Hope it helps

Avatar
Opusti
Avtor Best Answer

Thank you!

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
5
sep. 20
4917
2
avg. 23
14545
1
jan. 22
2674
5
sep. 20
4999
1
jun. 16
10109