[16.0][FIX] web_timeline: Fixed error message when saving and closing form view in timeline #2619

This commit is contained in:
Bastian Guenther
2024-10-15 19:33:42 +02:00
parent 602d6e804b
commit 486f6133d8

View File

@@ -310,7 +310,7 @@ export default AbstractController.extend({
{
resId: false,
context: _.extend(default_context, this.context),
onRecordSaved: (record) => this.create_completed([record.res_id]),
onRecordSaved: (record) => this.create_completed([record.resId]),
resModel: this.model.modelName,
},
{onClose: () => event.data.callback()}