[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
jguenat 2022-10-29 13:50:39 +02:00 committed by JasminSForgeFlow
parent 242869afb9
commit 61575741f9
2 changed files with 3 additions and 2 deletions

View File

@ -4,7 +4,7 @@
{ {
"name": "Web timeline", "name": "Web timeline",
"summary": "Interactive visualization chart to show events in time", "summary": "Interactive visualization chart to show events in time",
"version": "15.0.1.0.0", "version": "15.0.1.0.1",
"development_status": "Production/Stable", "development_status": "Production/Stable",
"author": "ACSONE SA/NV, " "author": "ACSONE SA/NV, "
"Tecnativa, " "Tecnativa, "

View File

@ -58,7 +58,7 @@ odoo.define("web_timeline.TimelineController", function (require) {
let fields = this.renderer.fieldNames; let fields = this.renderer.fieldNames;
fields = _.uniq(fields.concat(n_group_bys)); fields = _.uniq(fields.concat(n_group_bys));
return $.when( $.when(
res, res,
this._rpc({ this._rpc({
model: this.model.modelName, model: this.model.modelName,
@ -77,6 +77,7 @@ odoo.define("web_timeline.TimelineController", function (require) {
) )
) )
); );
return res;
}, },
/** /**