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?
This question has been flagged
1
Respondre
8455
Vistes
It seems that you have to set the parameter ondelete="cascade" for the many2one fields declared in the wizard that refer to regular models.
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Registrar-se| Related Posts | Respostes | Vistes | Activitat | |
|---|---|---|---|---|
|
|
1
d’ag. 25
|
9780 | ||
|
|
2
de set. 24
|
15844 | ||
|
|
1
d’ag. 20
|
10802 | ||
|
|
2
de nov. 24
|
18087 | ||
|
|
4
de set. 19
|
10010 |