diff --git a/addons/web_editor/static/src/js/wysiwyg/wysiwyg.js b/addons/web_editor/static/src/js/wysiwyg/wysiwyg.js index 5447e4571d2..8b704db8d35 100644 --- a/addons/web_editor/static/src/js/wysiwyg/wysiwyg.js +++ b/addons/web_editor/static/src/js/wysiwyg/wysiwyg.js @@ -2956,11 +2956,11 @@ export class Wysiwyg extends Component { } _getColorpickerTemplate() { - return this.orm.call( + return this.env.services.orm.call( 'ir.ui.view', 'render_public_asset', ['web_editor.colorpicker', {}] - ) + ); } // -----------------------------------------------------------------------------