Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1733 Zobrazení

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
zář 21
2981
1
kvě 25
4240
1
kvě 24
3207
1
dub 24
26873
1
lis 22
1858