Odoo Help

Welcome!

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.

0

[javascript] Kanban view

By
Thanh Loyal
on 3/4/16, 2:51 AM 443 views

Hello,

I am trying to modify a kaban view a bit, and for a quick test, I edited kanban.js to print 'dataset' to the console

console.log(dataset); --> ... ids: Array[7]

But

console.log(dataset.ids);  --> Empty array. 



Can somebody explain this?

And how can I change dataset.ids ? (I set dataset.ids = [1, 2, 3]; but this did not work)

Thank you!






I don't know why i can not edit my question and upload photo feature of this forum does not work (I inserted an image in my question). Please take a look at: https://flic.kr/p/Eoxi8Q

Thanh Loyal
on 3/4/16, 2:59 AM
0
Thanh Loyal
On 3/4/16, 5:55 AM

Okie,

got it.

http://stackoverflow.com/questions/35791853/can-not-access-and-change-property-of-a-variable

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

1 follower(s)

Stats

Asked: 3/4/16, 2:51 AM
Seen: 443 times
Last updated: 3/4/16, 10:48 PM