Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
3520 Visualizzazioni

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
Abbandona
Risposta migliore

Hi Justin,

   

_inherit= "res.partner"

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


Hope it helps

Avatar
Abbandona
Autore Risposta migliore

Thank you!

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
5
set 20
5070
2
ago 23
14844
1
gen 22
2802
5
set 20
5154
1
giu 16
10197