From 9263db52a1c7cd1f447e580161eb6bb65ce2a405 Mon Sep 17 00:00:00 2001 From: Antoine Guenet Date: Tue, 9 Aug 2022 12:32:37 +0000 Subject: [PATCH] [FIX] web_editor: properly define the signature command The signature command was using the wrong property names, leading to the Powerbox crashing. Part-of: odoo/odoo#97794 --- addons/web_editor/static/src/js/wysiwyg/wysiwyg.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/web_editor/static/src/js/wysiwyg/wysiwyg.js b/addons/web_editor/static/src/js/wysiwyg/wysiwyg.js index 477b3ea0742..95943063d21 100644 --- a/addons/web_editor/static/src/js/wysiwyg/wysiwyg.js +++ b/addons/web_editor/static/src/js/wysiwyg/wysiwyg.js @@ -1871,8 +1871,8 @@ const Wysiwyg = Widget.extend({ }, }, { - groupName: _t('Basic blocks'), - title: _t('Signature'), + category: _t('Basic blocks'), + name: _t('Signature'), description: _t('Insert your signature.'), fontawesome: 'fa-pencil-square-o', callback: async () => {