Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
3379 Zobrazení

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
Zrušit
Nejlepší odpověď

Hi Justin,

   

_inherit= "res.partner"

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


Hope it helps

Avatar
Zrušit
Autor Nejlepší odpověď

Thank you!

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
5
zář 20
4918
2
srp 23
14548
1
led 22
2674
5
zář 20
5001
1
čvn 16
10113