mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[FIX] web_timeline: Add record - FormViewDialog - resId: null -> false (cannot be null)
This commit is contained in:
committed by
Carlos Lopez
parent
e3e9b5d4ee
commit
7305e05150
@@ -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, "
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user