mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[16.0][FIX] web_timeline: Fixed error message when saving and closing form view in timeline #2619
This commit is contained in:
@@ -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()}
|
||||
|
||||
Reference in New Issue
Block a user