Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
3378 Представления

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

Аватар
Отменить
Лучший ответ

Hi Justin,

   

_inherit= "res.partner"

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


Hope it helps

Аватар
Отменить
Автор Лучший ответ

Thank you!

Аватар
Отменить
Related Posts Ответы Просмотры Активность
5
сент. 20
4917
2
авг. 23
14547
1
янв. 22
2674
5
сент. 20
5001
1
июн. 16
10113