diff --git a/addons/web_editor/static/src/js/editor/odoo-editor/src/powerbox/Powerbox.js b/addons/web_editor/static/src/js/editor/odoo-editor/src/powerbox/Powerbox.js index c3285f2efa3..bdeb80a8e8e 100644 --- a/addons/web_editor/static/src/js/editor/odoo-editor/src/powerbox/Powerbox.js +++ b/addons/web_editor/static/src/js/editor/odoo-editor/src/powerbox/Powerbox.js @@ -209,6 +209,10 @@ export class Powerbox { ); } } + // Hide category name if there is only a single one. + if (this._mainWrapperElement.childElementCount === 1) { + this._mainWrapperElement.querySelector('.oe-powerbox-category').style.display = 'none'; + } this._resetPosition(); } /**