From 5bdec6351adadc286f6c611d25465c2ca0356eeb Mon Sep 17 00:00:00 2001 From: Jeremy Kersten Date: Thu, 19 Mar 2020 09:19:23 +0000 Subject: [FIX] web_editor: allow widget text on field html in studio MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Before this commit, widget='text' was not available in web_studio since 'html' was missing from the supportedFieldTypes list of the TextField. After this commit you can use widget text (and other derivated type of text). task-sbu-feedback closes odoo/odoo#48043 X-original-commit: 34bd90e7fc2aa094eac92b6f635c2d8d933ecb86 Signed-off-by: Jérémy Kersten (jke) --- addons/web/static/src/js/fields/basic_fields.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addons/web/static/src/js/fields/basic_fields.js') diff --git a/addons/web/static/src/js/fields/basic_fields.js b/addons/web/static/src/js/fields/basic_fields.js index 14e2cf3d37f..9bdf4bc62a1 100644 --- a/addons/web/static/src/js/fields/basic_fields.js +++ b/addons/web/static/src/js/fields/basic_fields.js @@ -1365,7 +1365,7 @@ var FieldPercentage = FieldFloat.extend({ var FieldText = InputField.extend(TranslatableFieldMixin, { description: _lt("Multiline Text"), className: 'o_field_text', - supportedFieldTypes: ['text'], + supportedFieldTypes: ['text', 'html'], tagName: 'span', /** -- cgit v1.2.3