attribute on_write in tree view <tree colors="red:state == 'draft';black:state == 'valid'" string="Journal Items" create="true" on_write="on_create_write" version="7.0" editable="top">
why the on_write attribute used in tree view?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
attribute on_write in tree view <tree colors="red:state == 'draft';black:state == 'valid'" string="Journal Items" create="true" on_write="on_create_write" version="7.0" editable="top">
why the on_write attribute used in tree view?
Hi,
In on_write, we give the name of a method (here: "on_create_write" ) on the tree view’s respective model, which will be called with the id of a record after having created or edited that record. And the method should return a list of ids of other records to load or update. It is useful in an editable list view, like here editable="top"
Create an account today to enjoy exclusive features and engage with our awesome community!
Üye Olİlgili Gönderiler | Cevaplar | Görünümler | Aktivite | |
---|---|---|---|---|
|
3
Nis 25
|
4823 | ||
|
5
Kas 23
|
43187 | ||
Create dynamic tree view
Çözüldü
|
|
3
Eyl 23
|
9572 | |
|
1
Eyl 22
|
3864 | ||
|
1
Haz 22
|
12666 |