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

Hi Family

please I want to edit my contact module  company types from  to Client and Integrator but I keep getting this error message 

please I need help dear odoo'ers with a video description

아바타
취소

In this case, you need to intervene with Python code. What version of Odoo are you using and where is it installed?

작성자

hi Lex I am using version 16 and its online

You should use Contact tags instead of changing this - these two types drive a lot of other logical behaviors in Odoo and it would be a significant undertaking to teach Odoo about a new type.

베스트 답변

Hi,
If you really need to do it, you can do it by inheriting the model and changing the selection values or you can change it from the translation.

class Partner(models.Model):

    _inherit = "res.partner"


    company_type = fields.Selection(selection=[('person', 'Client'), ('company', 'Integrator')])

Thanks

아바타
취소
관련 게시물 답글 화면 활동
0
3월 21
68
1
3월 15
4152
hide some contacts 해결 완료
2
12월 20
4123
2
7월 25
1266
1
7월 25
1613