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?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Comptabilité
- Inventaire
- PoS
- Project
- MRP
Cette question a été signalée
1
Répondre
6688
Vues
It seems that you have to set the parameter ondelete="cascade" for the many2one fields declared in the wizard that refer to regular models.
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrirePublications associées | Réponses | Vues | Activité | |
---|---|---|---|---|
|
1
août 25
|
7553 | ||
|
2
sept. 24
|
13442 | ||
|
1
août 20
|
8766 | ||
|
2
nov. 24
|
14466 | ||
|
4
sept. 19
|
7757 |