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?
Cette question a été signalée
1
Répondre
3678
Vues
hi
I think you should use onchange api for your def
it will work
best luck
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'inscrire| Publications associées | Réponses | Vues | Activité | |
|---|---|---|---|---|
|
|
2
mars 19
|
31795 | ||
|
|
3
déc. 23
|
25211 | ||
|
|
1
sept. 23
|
6785 | ||
|
|
1
sept. 18
|
300 | ||
|
|
4
déc. 23
|
20577 |