mirror of https://github.com/OCA/web.git
[FIX] web_timeline: Add record - FormViewDialog - resId: null -> false (cannot be null)
parent
6f7a5d62e7
commit
f6aecb4af6
|
@ -4,7 +4,7 @@
|
||||||
{
|
{
|
||||||
"name": "Web timeline",
|
"name": "Web timeline",
|
||||||
"summary": "Interactive visualization chart to show events in time",
|
"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",
|
"development_status": "Production/Stable",
|
||||||
"author": "ACSONE SA/NV, "
|
"author": "ACSONE SA/NV, "
|
||||||
"Tecnativa, "
|
"Tecnativa, "
|
||||||
|
|
|
@ -290,7 +290,7 @@ export default AbstractController.extend({
|
||||||
this.Dialog = Component.env.services.dialog.add(
|
this.Dialog = Component.env.services.dialog.add(
|
||||||
FormViewDialog,
|
FormViewDialog,
|
||||||
{
|
{
|
||||||
resId: null,
|
resId: false,
|
||||||
context: _.extend(default_context, this.context),
|
context: _.extend(default_context, this.context),
|
||||||
onRecordSaved: (record) => this.create_completed([record.res_id]),
|
onRecordSaved: (record) => this.create_completed([record.res_id]),
|
||||||
resModel: this.model.modelName,
|
resModel: this.model.modelName,
|
||||||
|
|
Loading…
Reference in New Issue