diff --git a/addons/web_editor/static/src/js/editor/odoo-editor/src/OdooEditor.js b/addons/web_editor/static/src/js/editor/odoo-editor/src/OdooEditor.js index 13402f31a4d..31e17f2b18b 100644 --- a/addons/web_editor/static/src/js/editor/odoo-editor/src/OdooEditor.js +++ b/addons/web_editor/static/src/js/editor/odoo-editor/src/OdooEditor.js @@ -1160,6 +1160,7 @@ export class OdooEditor extends EventTarget { this._handleCommandHint(); this.multiselectionRefresh(); this.observerActive(); + this.dispatchEvent(new Event('historyResetFromSteps')); } historyGetMissingSteps({fromStepId, toStepId}) { const fromIndex = this._historySteps.findIndex(x => x.id === fromStepId); @@ -1661,6 +1662,7 @@ export class OdooEditor extends EventTarget { this.historyResetLatestComputedSelection(); this._handleCommandHint(); this.multiselectionRefresh(); + this.dispatchEvent(new Event('onExternalHistorySteps')); } // Multi selection