From 43e8262e85c9964cfb5b6702edab9a05f7dd8481 Mon Sep 17 00:00:00 2001 From: Sylvain LE GAL Date: Sat, 27 Jun 2015 12:47:27 +0200 Subject: [PATCH] [REF] renaming 'web_custom_search_quantity' into 'web_listview_custom_element_number'; --- .../__init__.py | 0 .../__openerp__.py | 8 ++++---- .../i18n/fr.po | 4 ++-- .../i18n/web_listview_custom_element_number.pot | 4 ++-- .../src/css/web_listview_custom_element_number.css | 6 +++--- .../static/src/img/icon.png | Bin .../src/js/web_listview_custom_element_number.js | 6 +++--- 7 files changed, 14 insertions(+), 14 deletions(-) rename {web_custom_search_quantity => web_listview_custom_element_number}/__init__.py (100%) rename {web_custom_search_quantity => web_listview_custom_element_number}/__openerp__.py (90%) rename {web_custom_search_quantity => web_listview_custom_element_number}/i18n/fr.po (77%) rename web_custom_search_quantity/i18n/web_custom_search_quantity.pot => web_listview_custom_element_number/i18n/web_listview_custom_element_number.pot (76%) rename web_custom_search_quantity/static/src/css/web_custom_search_quantity.css => web_listview_custom_element_number/static/src/css/web_listview_custom_element_number.css (91%) rename {web_custom_search_quantity => web_listview_custom_element_number}/static/src/img/icon.png (100%) rename web_custom_search_quantity/static/src/js/web_custom_search_quantity.js => web_listview_custom_element_number/static/src/js/web_listview_custom_element_number.js (94%) diff --git a/web_custom_search_quantity/__init__.py b/web_listview_custom_element_number/__init__.py similarity index 100% rename from web_custom_search_quantity/__init__.py rename to web_listview_custom_element_number/__init__.py diff --git a/web_custom_search_quantity/__openerp__.py b/web_listview_custom_element_number/__openerp__.py similarity index 90% rename from web_custom_search_quantity/__openerp__.py rename to web_listview_custom_element_number/__openerp__.py index b66b2f793..12aea3ce7 100644 --- a/web_custom_search_quantity/__openerp__.py +++ b/web_listview_custom_element_number/__openerp__.py @@ -1,7 +1,7 @@ # -*- encoding: utf-8 -*- ############################################################################## # -# Web - Custom Search Quantity module for Odoo +# Web - Custom Element Number in ListView module for Odoo # Copyright (C) 2015-Today Akretion (http://www.akretion.com) # @author Sylvain LE GAL (https://twitter.com/legalsylvain) # @@ -21,7 +21,7 @@ ############################################################################## { - 'name': 'Web - Custom Search Quantity', + 'name': 'Web - Custom Element Number in ListView', 'version': '1.0', 'category': 'web', 'description': """ @@ -59,9 +59,9 @@ Copyright, Author and Licence: 'web', ], 'js': [ - 'static/src/js/web_custom_search_quantity.js', + 'static/src/js/web_listview_custom_element_number.js', ], 'css': [ - "static/src/css/web_custom_search_quantity.css", + 'static/src/css/web_listview_custom_element_number.css', ], } diff --git a/web_custom_search_quantity/i18n/fr.po b/web_listview_custom_element_number/i18n/fr.po similarity index 77% rename from web_custom_search_quantity/i18n/fr.po rename to web_listview_custom_element_number/i18n/fr.po index 181fbee1e..6f8db58e8 100644 --- a/web_custom_search_quantity/i18n/fr.po +++ b/web_listview_custom_element_number/i18n/fr.po @@ -14,9 +14,9 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: \n" -#. module: web_custom_search_quantity +#. module: web_listview_custom_element_number #. openerp-web -#: code:addons/web_custom_search_quantity/static/src/js/web_custom_search_quantity.js:56 +#: code:addons/web_listview_custom_element_number/static/src/js/web_listview_custom_element_number.js:56 #, python-format msgid "0 (Unlimited)" msgstr "0 (Illimité)" diff --git a/web_custom_search_quantity/i18n/web_custom_search_quantity.pot b/web_listview_custom_element_number/i18n/web_listview_custom_element_number.pot similarity index 76% rename from web_custom_search_quantity/i18n/web_custom_search_quantity.pot rename to web_listview_custom_element_number/i18n/web_listview_custom_element_number.pot index 82ba3e071..fcebc90ae 100644 --- a/web_custom_search_quantity/i18n/web_custom_search_quantity.pot +++ b/web_listview_custom_element_number/i18n/web_listview_custom_element_number.pot @@ -14,9 +14,9 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: \n" -#. module: web_custom_search_quantity +#. module: web_listview_custom_element_number #. openerp-web -#: code:addons/web_custom_search_quantity/static/src/js/web_custom_search_quantity.js:56 +#: code:addons/web_listview_custom_element_number/static/src/js/web_listview_custom_element_number.js:56 #, python-format msgid "0 (Unlimited)" msgstr "" diff --git a/web_custom_search_quantity/static/src/css/web_custom_search_quantity.css b/web_listview_custom_element_number/static/src/css/web_listview_custom_element_number.css similarity index 91% rename from web_custom_search_quantity/static/src/css/web_custom_search_quantity.css rename to web_listview_custom_element_number/static/src/css/web_listview_custom_element_number.css index b42d7b455..c3a75be50 100644 --- a/web_custom_search_quantity/static/src/css/web_custom_search_quantity.css +++ b/web_listview_custom_element_number/static/src/css/web_listview_custom_element_number.css @@ -1,5 +1,5 @@ /****************************************************************************** - Web - Custom Search Quantity module for Odoo + Web - Custom Element Number in ListView module for Odoo Copyright (C) 2015-Today Akretion (http://www.akretion.com) @author Sylvain LE GAL (https://twitter.com/legalsylvain) @@ -17,6 +17,6 @@ along with this program. If not, see . ******************************************************************************/ -.custom_search_quantity { +.custom_element_number { width:50px; -} \ No newline at end of file +} diff --git a/web_custom_search_quantity/static/src/img/icon.png b/web_listview_custom_element_number/static/src/img/icon.png similarity index 100% rename from web_custom_search_quantity/static/src/img/icon.png rename to web_listview_custom_element_number/static/src/img/icon.png diff --git a/web_custom_search_quantity/static/src/js/web_custom_search_quantity.js b/web_listview_custom_element_number/static/src/js/web_listview_custom_element_number.js similarity index 94% rename from web_custom_search_quantity/static/src/js/web_custom_search_quantity.js rename to web_listview_custom_element_number/static/src/js/web_listview_custom_element_number.js index 428c9ee1b..5e6ecfb57 100644 --- a/web_custom_search_quantity/static/src/js/web_custom_search_quantity.js +++ b/web_listview_custom_element_number/static/src/js/web_listview_custom_element_number.js @@ -1,5 +1,5 @@ /****************************************************************************** - Web - Custom Search Quantity module for Odoo + Web - Custom Element Number in ListView module for Odoo Copyright (C) 2015-Today Akretion (http://www.akretion.com) @author Sylvain LE GAL (https://twitter.com/legalsylvain) @@ -17,7 +17,7 @@ along with this program. If not, see . ******************************************************************************/ -openerp.web_custom_search_quantity = function (instance) { +openerp.web_listview_custom_element_number = function (instance) { module = instance.web; _t = module._t; @@ -42,7 +42,7 @@ openerp.web_custom_search_quantity = function (instance) { this.$pager.find('.oe_list_pager_state').click(function (e) { e.stopPropagation(); var $this = $(this); - var $select = $('') + var $select = $('') .appendTo($this.empty()) .click(function (e) {e.stopPropagation();}) .append(