Skip to content

Commit

Permalink
[FIX] web_timeline: Add record - FormViewDialog - resId: null -> fals…
Browse files Browse the repository at this point in the history
…e (cannot be null)
  • Loading branch information
norlinhenrik committed Aug 29, 2023
1 parent 8b258c8 commit 2b21891
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 @@ -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,
Expand Down

0 comments on commit 2b21891

Please sign in to comment.