Se rendre au contenu
Menu
Cette question a été signalée
1839 Vues

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
Ignorer
Publications associées Réponses Vues Activité
0
sept. 21
3078
1
mai 25
4450
1
mai 24
3391
1
avr. 24
27208
1
nov. 22
1962