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,