Skip to Content
Menu
This question has been flagged
2 Replies
3532 Zobrazenia

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
Zrušiť
Best Answer

Hi Justin,

   

_inherit= "res.partner"

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


Hope it helps

Avatar
Zrušiť
Autor Best Answer

Thank you!

Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
5
sep 20
5076
2
aug 23
14857
1
jan 22
2802
5
sep 20
5155
1
jún 16
10204