Odoo Help


TypeError: cur is null?

Dawari George
on 8/31/14, 12:51 PM 623 views

Under the reporting module..when u hover your mouse against a graph i get the error TypeError: cur is null.

Please can someone give a step by step porcedure on how to fix this.





| 5 5 7
Bikaner, India

OpenERP Developer at SunARC Technology

On 9/8/14, 3:19 AM

Applied the changes in the File: base_import/static/lib/select2/select2.js 


In the above link applied the reverse steps after that  cur is null issue fixed.


The below code removed:-

/*  $(document).delegate("*", "mousemove", function (e) {
      $.data(document, "select2-lastpos", {x: e.pageX, y: e.pageY});
   }); */

The below code added:-

 this.dropdown.delegate(resultsSelector, "mousemove", function (e) {
   $.data(document, "select2-lastpos", {x: e.pageX, y: e.pageY});

The change you mentioned above is already active on my server. but the TyoeError: cur is null is still showing up when i hover my mouse against a graph in the reporting module.

Dawari George
on 9/8/14, 4:23 AM

i am also facing the same issues after applying the changes fixed the issue. (mentioned in the link i applied the reverse process).

on 9/8/14, 5:00 AM

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

1 follower(s)


Asked: 8/31/14, 12:51 PM
Seen: 623 times
Last updated: 3/16/15, 8:10 AM