Browse Source

[REN] to web_advanced_search_x2x

and replace company icon
pull/134/head
Holger Brunn 10 years ago
parent
commit
f66ddf8718
  1. BIN
      web_advanced_search_x2many/static/description/icon.png
  2. 0
      web_advanced_search_x2x/README.rst
  3. 0
      web_advanced_search_x2x/__init__.py
  4. 2
      web_advanced_search_x2x/__openerp__.py
  5. BIN
      web_advanced_search_x2x/static/description/icon.png
  6. 0
      web_advanced_search_x2x/static/src/css/web_advanced_search_x2x.css
  7. 12
      web_advanced_search_x2x/static/src/js/web_advanced_search_x2x.js
  8. 2
      web_advanced_search_x2x/static/src/xml/web_advanced_search_x2x.xml
  9. 6
      web_advanced_search_x2x/views/templates.xml

BIN
web_advanced_search_x2many/static/description/icon.png

Before

Width: 80  |  Height: 80  |  Size: 1.1 KiB

0
web_advanced_search_x2many/README.rst → web_advanced_search_x2x/README.rst

0
web_advanced_search_x2many/__init__.py → web_advanced_search_x2x/__init__.py

2
web_advanced_search_x2many/__openerp__.py → web_advanced_search_x2x/__openerp__.py

@ -32,7 +32,7 @@
'views/templates.xml',
],
"qweb": [
'static/src/xml/web_advanced_search_x2many.xml',
'static/src/xml/web_advanced_search_x2x.xml',
],
"test": [
],

BIN
web_advanced_search_x2x/static/description/icon.png

After

Width: 100  |  Height: 100  |  Size: 2.0 KiB

0
web_advanced_search_x2many/static/src/css/web_advanced_search_x2many.css → web_advanced_search_x2x/static/src/css/web_advanced_search_x2x.css

12
web_advanced_search_x2many/static/src/js/web_advanced_search_x2many.js → web_advanced_search_x2x/static/src/js/web_advanced_search_x2x.js

@ -19,13 +19,13 @@
//
//############################################################################
openerp.web_advanced_search_x2many = function(instance)
openerp.web_advanced_search_x2x = function(instance)
{
instance.web_advanced_search_x2many.ExtendedSearchPropositionMany2One =
instance.web_advanced_search_x2x.ExtendedSearchPropositionMany2One =
instance.web.search.ExtendedSearchProposition.Char.extend(
instance.web.form.FieldManagerMixin,
{
template: 'web_advanced_search_x2many.extended_search.proposition.many2one',
template: 'web_advanced_search_x2x.extended_search.proposition.many2one',
searchfield: null,
start: function()
{
@ -102,11 +102,11 @@ openerp.web_advanced_search_x2many = function(instance)
});
instance.web.search.custom_filters.add(
'one2many',
'instance.web_advanced_search_x2many.ExtendedSearchPropositionMany2One');
'instance.web_advanced_search_x2x.ExtendedSearchPropositionMany2One');
instance.web.search.custom_filters.add(
'many2many',
'instance.web_advanced_search_x2many.ExtendedSearchPropositionMany2One');
'instance.web_advanced_search_x2x.ExtendedSearchPropositionMany2One');
instance.web.search.custom_filters.add(
'many2one',
'instance.web_advanced_search_x2many.ExtendedSearchPropositionMany2One');
'instance.web_advanced_search_x2x.ExtendedSearchPropositionMany2One');
}

2
web_advanced_search_x2many/static/src/xml/web_advanced_search_x2many.xml → web_advanced_search_x2x/static/src/xml/web_advanced_search_x2x.xml

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<templates>
<t t-name="web_advanced_search_x2many.extended_search.proposition.many2one">
<t t-name="web_advanced_search_x2x.extended_search.proposition.many2one">
<t t-if="!widget.show_searchfield()">
<t t-call="SearchView.extended_search.proposition.char" />
</t>

6
web_advanced_search_x2many/views/templates.xml → web_advanced_search_x2x/views/templates.xml

@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<openerp>
<data>
<template id="assets_backend" name="web_advanced_search_x2many assets" inherit_id="web.assets_backend">
<template id="assets_backend" name="web_advanced_search_x2x assets" inherit_id="web.assets_backend">
<xpath expr="." position="inside">
<script type="text/javascript" src="/web_advanced_search_x2many/static/src/js/web_advanced_search_x2many.js"></script>
<link rel="stylesheet" href="/web_advanced_search_x2many/static/src/css/web_advanced_search_x2many.css"/>
<script type="text/javascript" src="/web_advanced_search_x2x/static/src/js/web_advanced_search_x2x.js"></script>
<link rel="stylesheet" href="/web_advanced_search_x2x/static/src/css/web_advanced_search_x2x.css"/>
</xpath>
</template>
</data>
Loading…
Cancel
Save