Merge PR #2600 into 16.0

Signed-off-by etobella
This commit is contained in:
OCA-git-bot
2023-08-30 16:09:25 +00:00

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,