콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
3725 화면

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
5306
2
8월 23
15291
1
1월 22
2949
5
9월 20
5386
1
6월 16
10410