mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[REN] to web_advanced_search_x2x
and replace company icon
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 1.1 KiB |
@@ -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
Normal file
BIN
web_advanced_search_x2x/static/description/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.0 KiB |
@@ -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');
|
||||
}
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user