In Javascript I wanna get all IDs of the displayed objects (for example in a list view).
Is there a simple function or variable to get it?
Thx for ur help
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
In Javascript I wanna get all IDs of the displayed objects (for example in a list view).
Is there a simple function or variable to get it?
Thx for ur help
Found it. Actually this one is pretty simple in a list view:
var data_ids = self.dataset.ids;
that's it ... All the ids of the currently shown rows.
Create an account today to enjoy exclusive features and engage with our awesome community!
РеєстраціяRelated Posts | Відповіді | Переглядів | Дія | |
---|---|---|---|---|
|
0
серп. 16
|
2852 | ||
|
0
серп. 23
|
194 | ||
Odoo use which javascript framework?
Вирішено
|
|
1
лют. 22
|
2504 | |
|
0
серп. 18
|
5496 | ||
|
0
лют. 18
|
6237 |