Browse Source

[IMP] web_search_with_and: Latest OCA conventions

pull/271/head
Pedro M. Baeza 9 years ago
parent
commit
613e7c3e94
  1. 8
      web_search_with_and/README.rst
  2. 2
      web_search_with_and/__init__.py
  3. 10
      web_search_with_and/__openerp__.py
  4. 2
      web_search_with_and/data/data.xml

8
web_search_with_and/README.rst

@ -1,6 +1,8 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg .. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:alt: License: AGPL-3
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
====================================
Use AND conditions on omnibar search Use AND conditions on omnibar search
==================================== ====================================
@ -22,6 +24,10 @@ Usage
* Press and hold Shift key * Press and hold Shift key
* Select field with mouse or keyboard to perform search on * Select field with mouse or keyboard to perform search on
.. 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/8.0
Credits Credits
======= =======

2
web_search_with_and/__init__.py

@ -1,3 +1 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# This file is part of OpenERP. The COPYRIGHT file at the top level of
# this module contains the full copyright notices and license terms.

10
web_search_with_and/__openerp__.py

@ -1,19 +1,19 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# This file is part of OpenERP. The COPYRIGHT file at the top level of
# this module contains the full copyright notices and license terms.
# © 2015 Andrius Preimantas <andrius@versada.lt>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{ {
'name': "Use AND conditions on omnibar search", 'name': "Use AND conditions on omnibar search",
'version': '1.0',
'version': '8.0.1.0.0',
'author': 'Versada UAB, Odoo Community Association (OCA)', 'author': 'Versada UAB, Odoo Community Association (OCA)',
'license': 'AGPL-3',
'category': 'web', 'category': 'web',
'website': 'http://www.versada.lt', 'website': 'http://www.versada.lt',
'description': "",
'depends': [ 'depends': [
'web', 'web',
], ],
'data': [ 'data': [
'data.xml',
'data/data.xml',
], ],
'installable': True, 'installable': True,
'application': False, 'application': False,

2
web_search_with_and/data.xml → web_search_with_and/data/data.xml

@ -3,7 +3,7 @@
<data> <data>
<template id="assets_backend" name="web_view_editor assets" inherit_id="web.assets_backend"> <template id="assets_backend" name="web_view_editor assets" inherit_id="web.assets_backend">
<xpath expr="." position="inside"> <xpath expr="." position="inside">
<script type="text/javascript" src="/web_search_with_and/static/src/js/search.js"></script>
<script type="text/javascript" src="/web_search_with_and/static/src/js/search.js"/>
</xpath> </xpath>
</template> </template>
</data> </data>
Loading…
Cancel
Save