跳至内容
菜单
此问题已终结
1 回复
6593 查看

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.

形象
丢弃
相关帖文 回复 查看 活动
2
9月 24
13315
2
12月 21
7386
1
8月 20
8684
2
11月 24
14252
4
9月 19
7647