Skip to Content
मेन्यू
This question has been flagged
2 Replies
3387 Views

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

Hi Justin,

   

_inherit= "res.partner"

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


Hope it helps

Avatar
Discard
Author Best Answer

Thank you!

Avatar
Discard
Related Posts Replies Views Activity
5
सित॰ 20
4920
2
अग॰ 23
14550
1
जन॰ 22
2675
5
सित॰ 20
5007
1
जून 16
10115