From 2b218919e45ccfa1f2ae05576e81f4ca15ac308d Mon Sep 17 00:00:00 2001 From: Henrik Norlin Date: Tue, 29 Aug 2023 21:23:16 +0200 Subject: [PATCH] [FIX] web_timeline: Add record - FormViewDialog - resId: null -> false (cannot be null) --- 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 630609a1fb10..3cc8b19a6558 100644 --- a/web_timeline/static/src/js/timeline_controller.esm.js +++ b/web_timeline/static/src/js/timeline_controller.esm.js @@ -290,7 +290,7 @@ export default AbstractController.extend({ this.Dialog = Component.env.services.dialog.add( FormViewDialog, { - resId: null, + resId: false, context: _.extend(default_context, this.context), onRecordSaved: (record) => this.create_completed([record.res_id]), resModel: this.model.modelName,