コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
3374 ビュー

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

アバター
破棄
最善の回答

Hi Justin,

   

_inherit= "res.partner"

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


Hope it helps

アバター
破棄
著作者 最善の回答

Thank you!

アバター
破棄
関連投稿 返信 ビュー 活動
5
9月 20
4916
2
8月 23
14544
1
1月 22
2672
5
9月 20
4995
1
6月 16
10105