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

pull/3136/head
Henrik Norlin 2023-08-29 21:23:16 +02:00 committed by JasminSForgeFlow
parent 6f7a5d62e7
commit f6aecb4af6
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
{
"name": "Web timeline",
"summary": "Interactive visualization chart to show events in time",
"version": "16.0.1.0.1",
"version": "16.0.1.0.2",
"development_status": "Production/Stable",
"author": "ACSONE SA/NV, "
"Tecnativa, "

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,