Skip to content

Commit

Permalink
[16.0][FIX] web_timeline: Fixed error message when saving and closing…
Browse files Browse the repository at this point in the history
… form view in timeline #2619
  • Loading branch information
Bastian Guenther authored and Bastian Guenther committed Oct 15, 2024
1 parent 602d6e8 commit 486f613
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web_timeline/static/src/js/timeline_controller.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()}
Expand Down

0 comments on commit 486f613

Please sign in to comment.