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
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
1
Odpowiedz
1979
Widoki
hi
I think you should use onchange api for your def
it will work
best luck
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
2
mar 19
|
27775 | ||
|
3
gru 23
|
23104 | ||
|
1
wrz 23
|
4605 | ||
|
1
wrz 18
|
300 | ||
how to add a button in a one2many tree view
Rozwiązane
|
|
4
gru 23
|
17577 |