3
0
Fork 0

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

16.0
Henrik Norlin 2023-08-29 21:23:16 +02:00
parent 8b258c8d47
commit 2b218919e4
1 changed files with 1 additions and 1 deletions

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,