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

I have created a custom modules which implement a wizard that  have a many2one relation with a project.task record. My problem is that if this wizard is called it then refer to a task id, so if a user try to delete this task he will see an error until the system decide to purge transient records from the database. Is there some solution to this problem?

아바타
취소
작성자 베스트 답변

It seems that you have to set the parameter ondelete="cascade"  for the many2one fields declared in the wizard that refer to regular models.

아바타
취소
관련 게시물 답글 화면 활동
1
8월 25
7771
2
9월 24
13681
1
8월 20
8970
2
11월 24
14792
4
9월 19
8033