Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
3381 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
4918
2
ago 23
14550
1
gen 22
2675
5
set 20
5005
1
giu 16
10115