Hello.
In the form view, when there is a one2many field represented as a tree view, the records in the edit mode of the form view have a delete button. When it is clicked, the entries disappear, but the unlink() method is not called until the "Save" button is clicked. Tell me, is it possible to repeat this mechanism for my custom button and how?
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
2080
Tampilan
hi
I think you should use onchange api for your def
it will work
best luck
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
|
2
Mar 19
|
27999 | ||
|
3
Des 23
|
23177 | ||
|
1
Sep 23
|
4715 | ||
|
1
Sep 18
|
300 | ||
how to add a button in a one2many tree view
Diselesaikan
|
|
4
Des 23
|
17678 |