[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
This commit is contained in:
Adrien Dieudonne
2017-06-20 09:56:23 +02:00
parent 800d54e846
commit 98100b85dc
-1
View File
@@ -13,7 +13,6 @@ var FieldPad = AbstractField.extend({
events: {
'click .oe_pad_switch': '_onToggleFullScreen',
},
supportedFieldTypes: ['char'],
/**
* @override