From b535374da8317a815516971d3ad9449578999466 Mon Sep 17 00:00:00 2001 From: lfreeke Date: Thu, 21 Jan 2016 13:30:57 +0100 Subject: [PATCH] port web_advanced_search_wildcard Conflicts: web_advanced_search_wildcard/__openerp__.py --- web_advanced_search_wildcard/README.rst | 43 +++++++++++++++++++ web_advanced_search_wildcard/__openerp__.py | 29 +++++-------- .../views/template.xml | 10 +++++ 3 files changed, 63 insertions(+), 19 deletions(-) create mode 100644 web_advanced_search_wildcard/README.rst create mode 100644 web_advanced_search_wildcard/views/template.xml diff --git a/web_advanced_search_wildcard/README.rst b/web_advanced_search_wildcard/README.rst new file mode 100644 index 00000000..9edc5fdf --- /dev/null +++ b/web_advanced_search_wildcard/README.rst @@ -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 `_. +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 `_. + + + +Contributors +------------ + +* Markus Schneider <> +* L Freeke + +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. + + diff --git a/web_advanced_search_wildcard/__openerp__.py b/web_advanced_search_wildcard/__openerp__.py index dd4ee58e..d2e6cd88 100644 --- a/web_advanced_search_wildcard/__openerp__.py +++ b/web_advanced_search_wildcard/__openerp__.py @@ -22,26 +22,17 @@ ############################################################################## { "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", - 'license': 'AGPL-3', - "description": """ - 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". - """, - 'data': [ - ], - 'demo': [ + "version": "8.0.1.0.0", + "category": "Uncategorized", + "license": 'AGPL-3', + "author": "initOS GmbH & Co. KG,Odoo Community Association (OCA), Therp BV", + "application": False, + "installable": True, + "depends": [ + "web" ], - 'test': [ + 'data': [ + "views/template.xml", ], - 'js': ['static/src/js/search.js'], - 'installable': True, - 'auto_install': False, } diff --git a/web_advanced_search_wildcard/views/template.xml b/web_advanced_search_wildcard/views/template.xml new file mode 100644 index 00000000..bfe353d5 --- /dev/null +++ b/web_advanced_search_wildcard/views/template.xml @@ -0,0 +1,10 @@ + + + + + +