Browse Source
Made web_widget_color installable and remove the search field.
The search field doesn't seem to exist anymore
pull/777/head
Loïc Faure-Lacroix
9 years ago
committed by
Enric Tobella
No known key found for this signature in database
GPG Key ID: 1A2546A1B7BA2451
2 changed files with
1 additions and
3 deletions
-
web_widget_color/__openerp__.py
-
web_widget_color/static/src/js/widget.js
|
|
@ -39,6 +39,6 @@ |
|
|
|
'static/src/xml/widget.xml', |
|
|
|
], |
|
|
|
'auto_install': False, |
|
|
|
'installable': False, |
|
|
|
'installable': True, |
|
|
|
'web_preload': True, |
|
|
|
} |
|
|
@ -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', |
|
|
|