Browse Source

Made web_widget_color installable and remove the search field.

The search field doesn't seem to exist anymore
pull/1113/head
Loïc Faure-Lacroix 9 years ago
committed by Pedro M. Baeza
parent
commit
85c08dac58
  1. 2
      web_widget_color/static/src/js/widget.js

2
web_widget_color/static/src/js/widget.js

@ -11,8 +11,6 @@ openerp.web_widget_color = function (instance) {
instance.web.form.widgets.add('color', 'instance.web.form.FieldColor'); 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({ instance.web.form.FieldColor = instance.web.form.FieldChar.extend({
template: 'FieldColor', template: 'FieldColor',
widget_class: 'oe_form_field_color', widget_class: 'oe_form_field_color',

Loading…
Cancel
Save