Odoo Help


This community 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.


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

Peter Nietz
on 2/24/15, 8:36 AM 494 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.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)


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