From 98100b85dc2ac7957b84ed1a8eec956478c27d20 Mon Sep 17 00:00:00 2001 From: Adrien Dieudonne Date: Tue, 20 Jun 2017 09:31:40 +0200 Subject: [PATCH] [FIX] pad: not able to set pad widget Before this fix, it was possible to set the widget 'pad' on char fields but it only worked if the current model inherited from 'pad.common'. In the other cases, it crashed on closing Studio. As there is two models only (project.task and note.note), we decided to remove the possibility to set this widget in Studio. opw-745997 --- addons/pad/static/src/js/pad.js | 1 - 1 file changed, 1 deletion(-) diff --git a/addons/pad/static/src/js/pad.js b/addons/pad/static/src/js/pad.js index 76f6ad9b9ae..9637072274e 100644 --- a/addons/pad/static/src/js/pad.js +++ b/addons/pad/static/src/js/pad.js @@ -13,7 +13,6 @@ var FieldPad = AbstractField.extend({ events: { 'click .oe_pad_switch': '_onToggleFullScreen', }, - supportedFieldTypes: ['char'], /** * @override