Browse Source

[REF] Rename the module with a more explict name

pull/129/head
Sylvain Calador 10 years ago
parent
commit
e45a298012
  1. 10
      web_completion_search/views/web_completion_search.xml
  2. 0
      web_m2m_tags_multiple_selection/__init__.py
  3. 4
      web_m2m_tags_multiple_selection/__openerp__.py
  4. 3
      web_m2m_tags_multiple_selection/static/src/js/view_form.js
  5. 10
      web_m2m_tags_multiple_selection/views/web_m2m_tags_multiple_selection.xml

10
web_completion_search/views/web_completion_search.xml

@ -1,10 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<template id="assets_backend" name="web_completion_search" inherit_id="web.assets_backend">
<xpath expr="." position="inside">
<script type="text/javascript" src="/web_completion_search/static/src/js/view_form.js"></script>
</xpath>
</template>
</data>
</openerp>

0
web_completion_search/__init__.py → web_m2m_tags_multiple_selection/__init__.py

4
web_completion_search/__openerp__.py → web_m2m_tags_multiple_selection/__openerp__.py

@ -20,7 +20,7 @@
############################################################################## ##############################################################################
{ {
'name': 'Web completion_search',
'name': 'Web many2many_tags multiple selection',
'version': '0.1', 'version': '0.1',
'author': 'Akretion, Odoo Community Association (OCA)', 'author': 'Akretion, Odoo Community Association (OCA)',
'depends': [ 'depends': [
@ -29,7 +29,7 @@
'demo': [], 'demo': [],
'website': 'https://www.akretion.com', 'website': 'https://www.akretion.com',
'data': [ 'data': [
'views/web_completion_search.xml',
'views/web_m2m_tags_multiple_selection.xml',
], ],
'installable': True, 'installable': True,
'auto_install': False, 'auto_install': False,

3
web_completion_search/static/src/js/view_form.js → web_m2m_tags_multiple_selection/static/src/js/view_form.js

@ -1,4 +1,5 @@
openerp.web_completion_search = function(instance, local) {
openerp.web_m2m_tags_multiple_selection = function(instance, local) {
var _t = instance.web._t; var _t = instance.web._t;
instance.web.form.CompletionFieldMixin._search_create_popup = function(view, ids, context) { instance.web.form.CompletionFieldMixin._search_create_popup = function(view, ids, context) {

10
web_m2m_tags_multiple_selection/views/web_m2m_tags_multiple_selection.xml

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<template id="assets_backend" name="web_m2m_tags_multiple_selection" inherit_id="web.assets_backend">
<xpath expr="." position="inside">
<script type="text/javascript" src="/web_m2m_tags_multiple_selection/static/src/js/view_form.js"></script>
</xpath>
</template>
</data>
</openerp>
Loading…
Cancel
Save