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.
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrirePublications associées | Réponses | Vues | Activité | |
---|---|---|---|---|
|
0
août 16
|
2849 | ||
|
0
août 23
|
194 | ||
|
1
févr. 22
|
2494 | ||
|
0
août 18
|
5485 | ||
|
0
févr. 18
|
6232 |