Skip to Content
Menu
This question has been flagged
2 Replies
3448 Rodiniai

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

Portretas
Atmesti
Best Answer

Hi Justin,

   

_inherit= "res.partner"

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


Hope it helps

Portretas
Atmesti
Autorius Best Answer

Thank you!

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
5
rugs. 20
4996
2
rugp. 23
14669
1
saus. 22
2719
5
rugs. 20
5087
1
birž. 16
10153