Made web_widget_color installable and remove the search field.

The search field doesn't seem to exist anymore
This commit is contained in:
Loïc Faure-Lacroix
2015-12-03 21:06:37 +03:00
committed by Pedro M. Baeza
parent ce2cbc6372
commit 85c08dac58

View File

@@ -11,8 +11,6 @@ openerp.web_widget_color = function (instance) {
instance.web.form.widgets.add('color', 'instance.web.form.FieldColor');
instance.web.search.fields.add('color', 'instance.web.search.CharField');
instance.web.form.FieldColor = instance.web.form.FieldChar.extend({
template: 'FieldColor',
widget_class: 'oe_form_field_color',