summaryrefslogtreecommitdiff
path: root/addons/pad/static/src
diff options
context:
space:
mode:
authorAdrien Dieudonne <adr@odoo.com>2017-06-20 09:31:40 +0200
committerAdrien Dieudonne <adr@odoo.com>2017-06-20 09:56:23 +0200
commit98100b85dc2ac7957b84ed1a8eec956478c27d20 (patch)
tree81c6b2e0908ad6a942a47047f9099145148032d2 /addons/pad/static/src
parent800d54e846b34f350bb4713c7c3cfc9e7a895c5b (diff)
[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
Diffstat (limited to 'addons/pad/static/src')
-rw-r--r--addons/pad/static/src/js/pad.js1
1 files changed, 0 insertions, 1 deletions
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