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
- Financeiro
- Inventário
- PoS
- Project
- MRP
Esta pergunta foi sinalizada
1
Responder
1959
Visualizações
hi
I think you should use onchange api for your def
it will work
best luck
Está gostando da discussão? Não fique apenas lendo, participe!
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscreva-sePublicações relacionadas | Respostas | Visualizações | Atividade | |
---|---|---|---|---|
|
2
mar. 19
|
27728 | ||
|
3
dez. 23
|
23083 | ||
|
1
set. 23
|
4582 | ||
|
1
set. 18
|
300 | ||
|
4
dez. 23
|
17549 |