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

I need to deactivate a company instead of delete. I tried to add an  `active` field of Boolean type by default of True value in `res.company` model. But when I added this field the companies that I have created earlier disappeared and the companies which I created after adding the Boolean field also not listed in the tree view.

아바타
취소
베스트 답변

Hi kabeer,


i am suggesting you to check any field named as active in res.company

if not exist then add as boolean field and set value as False for the company you want

hope it will work for you


thanks and regards

Haresh Kansara

아바타
취소
작성자

@Haresh i hope i understood my question. I tried you suggested solution. And i already mentioned in my question.

관련 게시물 답글 화면 활동
1
7월 18
14238
2
8월 25
2810
1
7월 25
1137
1
8월 25
1152
0
5월 25
1552