Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
6880 Переглядів

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.

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
серп. 25
7771
2
вер. 24
13681
1
серп. 20
8972
2
лист. 24
14792
4
вер. 19
8034