Browse Source

[IMP] Rename web_widget_auto_color to web_option_auto_color

pull/124/head
Adrien Peiffer (ACSONE) 10 years ago
parent
commit
47cfc9ff74
  1. 2
      web_option_auto_color/README.rst
  2. 0
      web_option_auto_color/__init__.py
  3. 12
      web_option_auto_color/__openerp__.py
  4. 2
      web_option_auto_color/static/src/js/view_list.js
  5. 0
      web_option_auto_color/static/src/xml/templates.xml
  6. 4
      web_option_auto_color/views/web_option_auto_color.xml

2
web_widget_auto_color/README.rst → web_option_auto_color/README.rst

@ -1,7 +1,7 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg .. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:alt: License :alt: License
Web Widget Auto Color
Web Option Auto Color
===================== =====================
This module was written to offer a new autocolor attribute which can be used on This module was written to offer a new autocolor attribute which can be used on

0
web_widget_auto_color/__init__.py → web_option_auto_color/__init__.py

12
web_widget_auto_color/__openerp__.py → web_option_auto_color/__openerp__.py

@ -1,29 +1,29 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
############################################################################## ##############################################################################
# #
# This file is part of web_widget_auto_color,
# This file is part of web_option_auto_color,
# an Odoo module. # an Odoo module.
# #
# Copyright (c) 2015 ACSONE SA/NV (<http://acsone.eu>) # Copyright (c) 2015 ACSONE SA/NV (<http://acsone.eu>)
# #
# web_widget_auto_color is free software:
# web_option_auto_color is free software:
# you can redistribute it and/or modify it under the terms of the GNU # you can redistribute it and/or modify it under the terms of the GNU
# Affero General Public License as published by the Free Software # Affero General Public License as published by the Free Software
# Foundation,either version 3 of the License, or (at your option) any # Foundation,either version 3 of the License, or (at your option) any
# later version. # later version.
# #
# web_widget_auto_color is distributed
# web_option_auto_color is distributed
# in the hope that it will be useful, but WITHOUT ANY WARRANTY; without # in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR # even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
# PURPOSE. See the GNU Affero General Public License for more details. # PURPOSE. See the GNU Affero General Public License for more details.
# #
# You should have received a copy of the GNU Affero General Public License # You should have received a copy of the GNU Affero General Public License
# along with web_widget_auto_color.
# along with web_option_auto_color.
# If not, see <http://www.gnu.org/licenses/>. # If not, see <http://www.gnu.org/licenses/>.
# #
############################################################################## ##############################################################################
{ {
'name': "Web Widget Auto Color",
'name': "Web Option Auto Color",
'author': "ACSONE SA/NV,Odoo Community Association (OCA)", 'author': "ACSONE SA/NV,Odoo Community Association (OCA)",
'website': "http://acsone.eu", 'website': "http://acsone.eu",
'category': 'web', 'category': 'web',
@ -33,7 +33,7 @@
'web', 'web',
], ],
'data': [ 'data': [
'views/web_widget_auto_color.xml',
'views/web_option_auto_color.xml',
], ],
'qweb': [ 'qweb': [
'static/src/xml/templates.xml', 'static/src/xml/templates.xml',

2
web_widget_auto_color/static/src/js/view_list.js → web_option_auto_color/static/src/js/view_list.js

@ -1,4 +1,4 @@
openerp.web_widget_auto_color = function(instance) {
openerp.web_option_auto_color = function(instance) {
var _t = instance.web._t, var _t = instance.web._t,
_lt = instance.web._lt; _lt = instance.web._lt;
var QWeb = instance.web.qweb; var QWeb = instance.web.qweb;

0
web_widget_auto_color/static/src/xml/templates.xml → web_option_auto_color/static/src/xml/templates.xml

4
web_widget_auto_color/views/web_widget_auto_color.xml → web_option_auto_color/views/web_option_auto_color.xml

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