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
- Akuntansi
- Inventaris
- PoS
- Project
- MRP
Pertanyaan ini telah diberikan tanda
1
Balas
6574
Tampilan
It seems that you have to set the parameter ondelete="cascade" for the many2one fields declared in the wizard that refer to regular models.
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
Insert One2many in wizard, TransientModel
Diselesaikan
|
|
2
Sep 24
|
13305 | |
|
2
Des 21
|
7385 | ||
|
1
Agu 20
|
8682 | ||
|
2
Nov 24
|
14243 | ||
How to call a wizard after creating an object?
Diselesaikan
|
|
4
Sep 19
|
7642 |