diff --git a/addons/mail/static/src/model/model_manager.js b/addons/mail/static/src/model/model_manager.js index 9d0f9086607..1e9f0efbeb3 100644 --- a/addons/mail/static/src/model/model_manager.js +++ b/addons/mail/static/src/model/model_manager.js @@ -664,6 +664,7 @@ export class ModelManager { // method, and it shouldn't be needed to manually remove // _toComputeFields, but it is not possible until related are also // properly unlinked during `set`. + this._createdRecords.delete(record); this._toComputeFields.delete(record); this._toCallOnChange.delete(record); delete Model.__records[record.localId];