Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
6705 Tampilan

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
Buang
Penulis Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
1
Agu 25
7608
2
Sep 24
13486
1
Agu 20
8800
2
Nov 24
14541
4
Sep 19
7827