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.
Создайте аккаунт сегодня, чтобы получить доступ к эксклюзивным функциям и стать частью нашего замечательного сообщества!
Регистрация| Похожие посты | Ответы | Просмотры | Активность | |
|---|---|---|---|---|
|
0
авг. 16
|
3725 | |||
|
0
авг. 23
|
194 | |||
|
1
февр. 22
|
3834 | |||
|
0
авг. 18
|
6721 | |||
|
0
февр. 18
|
7498 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.