mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[FIX] web_timeline: updateProm.finally is not a function
Following odoo#102621 an UncaughtPromiseError > TypeError occured each time an update was triggered in timeline view Fixed by returning super
This commit is contained in:
@@ -58,7 +58,7 @@ odoo.define("web_timeline.TimelineController", function (require) {
|
||||
|
||||
let fields = this.renderer.fieldNames;
|
||||
fields = _.uniq(fields.concat(n_group_bys));
|
||||
return $.when(
|
||||
$.when(
|
||||
res,
|
||||
this._rpc({
|
||||
model: this.model.modelName,
|
||||
@@ -77,6 +77,7 @@ odoo.define("web_timeline.TimelineController", function (require) {
|
||||
)
|
||||
)
|
||||
);
|
||||
return res;
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user