mirror of https://github.com/OCA/web.git
[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
parent
242869afb9
commit
61575741f9
|
@ -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, "
|
||||||
|
|
|
@ -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;
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue