Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
3382 Tampilan

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
Buang
Jawaban Terbai

Hi Justin,

   

_inherit= "res.partner"

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


Hope it helps

Avatar
Buang
Penulis Jawaban Terbai

Thank you!

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
5
Sep 20
4918
2
Agu 23
14550
1
Jan 22
2675
5
Sep 20
5006
1
Jun 16
10115