Skip to Content
Menu
This question has been flagged
1693 Views

I am geting .done is not a function
form the code blow an not sure that is the reason

can you plz help  

on_data_loaded_2: function(events) {
    var res = this._super.apply(this, arguments);
    if (this.modelName === 'project.task') {
        this.get_critical_paths(events).done(function(paths) {
        this.critical_paths = paths;
        this.draw_canvas();
    }.bind(this));
    }
    return res;
},



Avatar
Discard
Related Posts Replies Views Activity
0
Sep 21
2933
1
May 25
4163
1
May 24
3155
1
Apr 24
26770
1
Nov 22
1790