3
0
Fork 0

[PORT][8.0] port web_advanced_search_wildcard

Conflicts:
	web_advanced_search_wildcard/__openerp__.py
8.0
lfreeke 2016-01-21 13:30:57 +01:00
parent b26a50ce1d
commit 970855a83f
3 changed files with 63 additions and 19 deletions

View File

@ -0,0 +1,43 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:alt: License: AGPL-3
============================
Web advanced search wildcard
============================
Allows =ilike operator to advanced search option.
Use % as a placeholder.
Example: "Zip matches 1%" gives all zip starting with 1
Also allows insensitive exact search.
Example "Name matches john" will find "John" and "john" but not "Johnson".
Bug Tracker
===========
Bugs are tracked on `GitHub Issues <https://github.com/OCA/web/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed feedback
`here <https://github.com/OCA/web/issues/new?body=module:%20web_advanced_search_wildcard%0Aversion:%208.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
Contributors
------------
* Markus Schneider <>
* L Freeke <lfreeke@therp.nl>
Maintainer
----------
.. image:: http://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: http://odoo-community.org
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
To contribute to this module, please visit http://odoo-community.org.

View File

@ -22,26 +22,17 @@
############################################################################## ##############################################################################
{ {
"name": "Webmodule add wildcard operators for advanced search", "name": "Webmodule add wildcard operators for advanced search",
"version": "0.1",
"depends": ["web"],
'author': "initOS GmbH & Co. KG,Odoo Community Association (OCA)",
"category": "",
"summary": "Simular search in searchbar", "summary": "Simular search in searchbar",
'license': 'AGPL-3', "version": "8.0.1.0.0",
"description": """ "category": "Uncategorized",
Allows =ilike operator to advanced search option. "license": 'AGPL-3',
Use % as a placeholder. "author": "initOS GmbH & Co. KG,Odoo Community Association (OCA), Therp BV",
Example: "Zip matches 1%" gives all zip starting with 1 "application": False,
Also allows insensitive exact search. "installable": True,
Example "Name matches john" will find "John" and "john" but not "Johnson". "depends": [
""", "web"
],
'data': [ 'data': [
"views/template.xml",
], ],
'demo': [
],
'test': [
],
'js': ['static/src/js/search.js'],
'installable': True,
'auto_install': False,
} }

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<openerp>
<data>
<template id="assets_backend" name="web_advanced_search_wildcard assets" inherit_id="web.assets_backend">
<xpath expr="." position="inside">
<script type="text/javascript" src="/web_advanced_search_wildcard/static/src/js/search.js"></script>
</xpath>
</template>
</data>
</openerp>