Browse Source

[REF] Rename the module according to the OCA naming convention

pull/129/head
Sylvain Calador 10 years ago
parent
commit
8306512482
  1. 10
      web_m2m_tags_multiple_selection/views/web_m2m_tags_multiple_selection.xml
  2. 33
      web_widget_many2many_tags_multi_selection/README.rst
  3. 0
      web_widget_many2many_tags_multi_selection/__init__.py
  4. 4
      web_widget_many2many_tags_multi_selection/__openerp__.py
  5. 2
      web_widget_many2many_tags_multi_selection/static/src/js/view_form.js
  6. 10
      web_widget_many2many_tags_multi_selection/views/web_widget_many2many_tags_multi_selection.xml

10
web_m2m_tags_multiple_selection/views/web_m2m_tags_multiple_selection.xml

@ -1,10 +0,0 @@
<?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>

33
web_widget_many2many_tags_multi_selection/README.rst

@ -0,0 +1,33 @@
Allows multiple selection on many2many_tags widget
==================================================
This module allows the user to select multiple entries through the search box in the case of the "many2many_tags" widget.
Installation
============
It was tested on Odoo 8.0 branch.
Credits
=======
Akretion
Contributors
------------
* Sylvain Calador <sylvain.calador@akretion.com>
Maintainer
----------
.. image:: http://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: http://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 http://odoo-community.org.

0
web_m2m_tags_multiple_selection/__init__.py → web_widget_many2many_tags_multi_selection/__init__.py

4
web_m2m_tags_multiple_selection/__openerp__.py → web_widget_many2many_tags_multi_selection/__openerp__.py

@ -20,7 +20,7 @@
############################################################################## ##############################################################################
{ {
'name': 'Web many2many_tags multiple selection',
'name': 'web_widget_many2many_tags_multi_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_m2m_tags_multiple_selection.xml',
'views/web_widget_many2many_tags_multi_selection.xml',
], ],
'installable': True, 'installable': True,
'auto_install': False, 'auto_install': False,

2
web_m2m_tags_multiple_selection/static/src/js/view_form.js → web_widget_many2many_tags_multi_selection/static/src/js/view_form.js

@ -1,4 +1,4 @@
openerp.web_m2m_tags_multiple_selection = function(instance, local) {
openerp.web_widget_many2many_tags_multi_selection = function(instance, local) {
var _t = instance.web._t; var _t = instance.web._t;

10
web_widget_many2many_tags_multi_selection/views/web_widget_many2many_tags_multi_selection.xml

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