forked from Techsystech/web
[FIX] web_timeline: Add record - FormViewDialog - resId: null -> false (cannot be null)
parent
8b258c8d47
commit
2b218919e4
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue