Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
6614 Prikazi

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?

Avatar
Opusti
Avtor Best Answer

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

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
2
sep. 24
13358
2
dec. 21
7436
1
avg. 20
8712
2
nov. 24
14315
4
sep. 19
7697