Browse Source
[ADD] disable base_view search for better performance
pull/1030/head
lfreeke
9 years ago
committed by
Holger Brunn
No known key found for this signature in database
GPG Key ID: 1C9760FECA3AE18
2 changed files with
17 additions and
0 deletions
-
web_search_autocomplete_prefetch/__openerp__.py
-
web_search_autocomplete_prefetch/views/base_view.xml
|
|
@ -16,6 +16,7 @@ |
|
|
|
], |
|
|
|
"data": [ |
|
|
|
'views/templates.xml', |
|
|
|
'views/base_view.xml', |
|
|
|
], |
|
|
|
"installable": True, |
|
|
|
} |
|
|
@ -0,0 +1,16 @@ |
|
|
|
<?xml version="1.0" encoding="UTF-8"?> |
|
|
|
<openerp> |
|
|
|
<data> |
|
|
|
<record model="ir.ui.view" id="view_view_search_autocomplete"> |
|
|
|
<field name="model">ir.ui.view</field> |
|
|
|
<field name="inherit_id" ref="base.view_view_search"/> |
|
|
|
<field name="arch" type="xml"> |
|
|
|
|
|
|
|
<field name="name" position="attributes"> |
|
|
|
<attribute name="options">{'web_search_autocomplete_prefetch.disable': true}</attribute> |
|
|
|
</field> |
|
|
|
|
|
|
|
</field> |
|
|
|
</record> |
|
|
|
</data> |
|
|
|
</openerp> |