Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1720 Prikazi

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
Opusti
Related Posts Odgovori Prikazi Aktivnost
0
sep. 21
2964
1
maj 25
4224
1
maj 24
3192
1
apr. 24
26842
1
nov. 22
1843