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?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- 회계
- 재고 관리
- PoS
- Project
- MRP
신고된 질문입니다
1
회신
6878
화면
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 |