Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
3394 Vizualizări

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

Imagine profil
Abandonează
Cel mai bun răspuns

Hi Justin,

   

_inherit= "res.partner"

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


Hope it helps

Imagine profil
Abandonează
Autor Cel mai bun răspuns

Thank you!

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
5
sept. 20
4927
2
aug. 23
14557
1
ian. 22
2680
5
sept. 20
5013
1
iun. 16
10118