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
- Účetnictví
- Sklad
- PoS
- Project
- MRP
This question has been flagged
1
Odpovědět
1971
Zobrazení
hi
I think you should use onchange api for your def
it will work
best luck
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Přihlásit seRelated Posts | Odpovědi | Zobrazení | Aktivita | |
---|---|---|---|---|
|
2
bře 19
|
27760 | ||
|
3
pro 23
|
23102 | ||
|
1
zář 23
|
4595 | ||
|
1
zář 18
|
300 | ||
|
4
pro 23
|
17572 |