[FIX] web_timeline: Add record - FormViewDialog - resId: null -> false (cannot be null)

This commit is contained in:
Henrik Norlin
2023-08-29 21:23:16 +02:00
parent 8b258c8d47
commit 2b218919e4

View File

@@ -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,