From 486f6133d8529da6934e0151c7faed1aee2ce58c Mon Sep 17 00:00:00 2001 From: Bastian Guenther Date: Tue, 15 Oct 2024 19:33:42 +0200 Subject: [PATCH] [16.0][FIX] web_timeline: Fixed error message when saving and closing form view in timeline #2619 --- web_timeline/static/src/js/timeline_controller.esm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_timeline/static/src/js/timeline_controller.esm.js b/web_timeline/static/src/js/timeline_controller.esm.js index fac8f11ed8bd..98e05cf56be0 100644 --- a/web_timeline/static/src/js/timeline_controller.esm.js +++ b/web_timeline/static/src/js/timeline_controller.esm.js @@ -310,7 +310,7 @@ export default AbstractController.extend({ { resId: false, context: _.extend(default_context, this.context), - onRecordSaved: (record) => this.create_completed([record.res_id]), + onRecordSaved: (record) => this.create_completed([record.resId]), resModel: this.model.modelName, }, {onClose: () => event.data.callback()}