Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
6606 Vizualizări

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?

Imagine profil
Abandonează
Autor Cel mai bun răspuns

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

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
2
sept. 24
13333
2
dec. 21
7405
1
aug. 20
8694
2
nov. 24
14278
4
sept. 19
7662