Odoo Help


How do I get an array of IDs of displayed objects in Javascript

Peter Nietz
on 2/24/15, 8:36 AM 943 views

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


Peter Nietz
On 3/9/15, 7:22 AM

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.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 2/24/15, 8:36 AM
Seen: 943 times
Last updated: 3/16/15, 8:10 AM