Browse Source
[MIG] Migrated web_search_alphabetic to v10
[MIG] Migrated web_search_alphabetic to v10
[MIG] Migrated web_search_alphabetic to v10pull/572/head
Jay Vora(SerpentCS)
7 years ago
9 changed files with 200 additions and 130 deletions
-
60web_search_alphabetic/README.rst
-
24web_search_alphabetic/__init__.py
-
55web_search_alphabetic/__manifest__.py
-
BINweb_search_alphabetic/static/description/icon.png
-
3web_search_alphabetic/static/src/css/web_search.css
-
BINweb_search_alphabetic/static/src/img/icon.png
-
119web_search_alphabetic/static/src/js/web_search.js
-
56web_search_alphabetic/static/src/xml/web_search.xml
-
11web_search_alphabetic/views/template.xml
@ -0,0 +1,60 @@ |
|||||
|
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg |
||||
|
:alt: License: AGPL-3 |
||||
|
|
||||
|
===================== |
||||
|
Web Search Alphabetic |
||||
|
===================== |
||||
|
|
||||
|
Provides search functionality with the help of alphabetic buttons. |
||||
|
|
||||
|
After the installation of the module, you will be able to see alphabetic buttons appeared on the top of the Views panel |
||||
|
in sequence. By clicking on any of these buttons, it will provide you with the records starting with the relevant alphabet. |
||||
|
|
||||
|
|
||||
|
Installation |
||||
|
============ |
||||
|
|
||||
|
This module is simple to install as it has no depenency on addons other than core web module. |
||||
|
|
||||
|
|
||||
|
Usage |
||||
|
===== |
||||
|
|
||||
|
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas |
||||
|
:alt: Try me on Runbot |
||||
|
:target: https://runbot.odoo-community.org/runbot/162/10.0 |
||||
|
|
||||
|
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. |
||||
|
|
||||
|
Credits |
||||
|
======= |
||||
|
|
||||
|
Images |
||||
|
------ |
||||
|
|
||||
|
* Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_. |
||||
|
|
||||
|
Contributors |
||||
|
------------ |
||||
|
|
||||
|
* Serpent Consulting Services Pvt. Ltd.<jay.vora@serpentcs.com> |
||||
|
|
||||
|
Maintainer |
||||
|
---------- |
||||
|
|
||||
|
.. image:: https://odoo-community.org/logo.png |
||||
|
:alt: Odoo Community Association |
||||
|
:target: https://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 https://odoo-community.org. |
@ -1,23 +1,3 @@ |
|||||
# -*- coding: utf-8 -*- |
# -*- coding: utf-8 -*- |
||||
############################################################################## |
|
||||
# |
|
||||
# OpenERP, Open Source Management Solution |
|
||||
# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>). |
|
||||
# Copyright (C) 2011-2014 Serpent Consulting Services (<http://www.serpentcs.com>) |
|
||||
# |
|
||||
# This program is free software: you can redistribute it and/or modify |
|
||||
# it under the terms of the GNU Affero General Public License as |
|
||||
# published by the Free Software Foundation, either version 3 of the |
|
||||
# License, or (at your option) any later version. |
|
||||
# |
|
||||
# This program is distributed in the hope that it will be useful, |
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
||||
# GNU Affero General Public License for more details. |
|
||||
# |
|
||||
# You should have received a copy of the GNU Affero General Public License |
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
||||
# |
|
||||
############################################################################ |
|
||||
|
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: |
|
||||
|
# Copyright 2014-Today Serpent Consulting Services Pvt. Ltd. |
||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). |
@ -1,50 +1,27 @@ |
|||||
# -*- coding: utf-8 -*- |
# -*- coding: utf-8 -*- |
||||
############################################################################## |
|
||||
# |
|
||||
# OpenERP, Open Source Management Solution |
|
||||
# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>). |
|
||||
# Copyright (C) 2011-2014 Serpent Consulting Services (<http://www.serpentcs.com>) |
|
||||
# |
|
||||
# This program is free software: you can redistribute it and/or modify |
|
||||
# it under the terms of the GNU Affero General Public License as |
|
||||
# published by the Free Software Foundation, either version 3 of the |
|
||||
# License, or (at your option) any later version. |
|
||||
# |
|
||||
# This program is distributed in the hope that it will be useful, |
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
||||
# GNU Affero General Public License for more details. |
|
||||
# |
|
||||
# You should have received a copy of the GNU Affero General Public License |
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
||||
# |
|
||||
############################################################################ |
|
||||
|
|
||||
|
# Copyright 2014-Today Serpent Consulting Services Pvt. Ltd. |
||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). |
||||
{ |
{ |
||||
'name': 'Web Alphabetical Search', |
'name': 'Web Alphabetical Search', |
||||
'author' : "Serpent Consulting Services Pvt. Ltd.,Odoo Community Association (OCA)", |
|
||||
'category' : 'Web', |
|
||||
|
'author': 'Serpent Consulting Services Pvt. Ltd.,' |
||||
|
'Odoo Community Association(OCA)', |
||||
|
'category': 'Web', |
||||
'website': 'http://www.serpentcs.com', |
'website': 'http://www.serpentcs.com', |
||||
'description': """ |
'description': """ |
||||
OpenERP Web Search Extended. |
|
||||
============================ |
|
||||
|
|
||||
This module used for search record base on alphabetical character be default it will search on name field. |
|
||||
User also is able to change search field name instead of name field. |
|
||||
""", |
|
||||
'version': '1.0', |
|
||||
|
Odoo Web Search Extended. |
||||
|
============================ |
||||
|
This module is used for searching the record base on alphabetical |
||||
|
character be default it will search on name field. |
||||
|
User is also able to change search field name instead of name field. |
||||
|
""", |
||||
|
'version': '10.0.1.0.0', |
||||
'depends': ['web'], |
'depends': ['web'], |
||||
'js': [ |
|
||||
'static/src/js/web_search.js' |
|
||||
|
'data': [ |
||||
|
'views/template.xml', |
||||
], |
], |
||||
'css': [ |
|
||||
'static/src/css/web_search.css' |
|
||||
], |
|
||||
'qweb' : [ |
|
||||
|
'qweb': [ |
||||
'static/src/xml/web_search.xml', |
'static/src/xml/web_search.xml', |
||||
], |
], |
||||
'installable': False, |
|
||||
|
'installable': True, |
||||
'auto_install': False |
'auto_install': False |
||||
} |
} |
||||
|
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: |
|
After Width: 128 | Height: 128 | Size: 9.2 KiB |
Before Width: 159 | Height: 221 | Size: 16 KiB |
@ -0,0 +1,11 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<data> |
||||
|
<template id="assets_backend" name="web_search assets" inherit_id="web.assets_backend"> |
||||
|
<xpath expr="." position="inside"> |
||||
|
<link rel="stylesheet" href="/web_search_alphabetic/static/src/css/web_search.css"/> |
||||
|
<script type="text/javascript" src="/web_search_alphabetic/static/src/js/web_search.js"></script> |
||||
|
</xpath> |
||||
|
</template> |
||||
|
</data> |
||||
|
</odoo> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue