mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
Made web_widget_color installable and remove the search field.
The search field doesn't seem to exist anymore
This commit is contained in:
committed by
Enric Tobella
parent
6cc7e1a3a6
commit
3b17beddf9
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user