From c5641d76438c1d98924a340ae93d26e36d514628 Mon Sep 17 00:00:00 2001 From: Nicolas JEUDY Date: Fri, 2 Jan 2015 17:43:58 +0100 Subject: [PATCH] fix: rename module to web_widget_text_markdown --- .../views/web_bootstrap_markdown.xml | 18 ------------------ .../README.rst | 0 .../__init__.py | 0 .../__openerp__.py | 4 ++-- .../static/src/css/bootstrap-markdown.min.css | 0 .../static/src/css/main.css | 0 .../static/src/js/web_widget_text_markdown.js | 6 +++--- .../static/src/xml/bootstrap_markdown.xml | 0 web_widget_text_markdown/views/main.xml | 18 ++++++++++++++++++ 9 files changed, 23 insertions(+), 23 deletions(-) delete mode 100644 web_bootstrap_markdown/views/web_bootstrap_markdown.xml rename {web_bootstrap_markdown => web_widget_text_markdown}/README.rst (100%) rename {web_bootstrap_markdown => web_widget_text_markdown}/__init__.py (100%) rename {web_bootstrap_markdown => web_widget_text_markdown}/__openerp__.py (80%) rename {web_bootstrap_markdown => web_widget_text_markdown}/static/src/css/bootstrap-markdown.min.css (100%) rename {web_bootstrap_markdown => web_widget_text_markdown}/static/src/css/main.css (100%) rename web_bootstrap_markdown/static/src/js/web_bootstrap_markdown.js => web_widget_text_markdown/static/src/js/web_widget_text_markdown.js (89%) rename {web_bootstrap_markdown => web_widget_text_markdown}/static/src/xml/bootstrap_markdown.xml (100%) create mode 100644 web_widget_text_markdown/views/main.xml diff --git a/web_bootstrap_markdown/views/web_bootstrap_markdown.xml b/web_bootstrap_markdown/views/web_bootstrap_markdown.xml deleted file mode 100644 index 5cea7654..00000000 --- a/web_bootstrap_markdown/views/web_bootstrap_markdown.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - diff --git a/web_bootstrap_markdown/README.rst b/web_widget_text_markdown/README.rst similarity index 100% rename from web_bootstrap_markdown/README.rst rename to web_widget_text_markdown/README.rst diff --git a/web_bootstrap_markdown/__init__.py b/web_widget_text_markdown/__init__.py similarity index 100% rename from web_bootstrap_markdown/__init__.py rename to web_widget_text_markdown/__init__.py diff --git a/web_bootstrap_markdown/__openerp__.py b/web_widget_text_markdown/__openerp__.py similarity index 80% rename from web_bootstrap_markdown/__openerp__.py rename to web_widget_text_markdown/__openerp__.py index 42627cd0..ac8245fc 100644 --- a/web_bootstrap_markdown/__openerp__.py +++ b/web_widget_text_markdown/__openerp__.py @@ -1,5 +1,5 @@ { - 'name': 'web_bootstrap_markdown', + 'name': 'web_widget_text_markdown', 'version': '1.0', 'author': 'Sudokeys', 'maintainer': 'Sudokeys', @@ -7,7 +7,7 @@ 'license': 'AGPL-3', 'depends': ['base','web'], 'website': 'http://www.sudokey.com', - 'data': ['views/web_bootstrap_markdown.xml',], + 'data': ['views/main.xml',], "qweb": ["static/src/xml/bootstrap_markdown.xml", ], 'demo': [], diff --git a/web_bootstrap_markdown/static/src/css/bootstrap-markdown.min.css b/web_widget_text_markdown/static/src/css/bootstrap-markdown.min.css similarity index 100% rename from web_bootstrap_markdown/static/src/css/bootstrap-markdown.min.css rename to web_widget_text_markdown/static/src/css/bootstrap-markdown.min.css diff --git a/web_bootstrap_markdown/static/src/css/main.css b/web_widget_text_markdown/static/src/css/main.css similarity index 100% rename from web_bootstrap_markdown/static/src/css/main.css rename to web_widget_text_markdown/static/src/css/main.css diff --git a/web_bootstrap_markdown/static/src/js/web_bootstrap_markdown.js b/web_widget_text_markdown/static/src/js/web_widget_text_markdown.js similarity index 89% rename from web_bootstrap_markdown/static/src/js/web_bootstrap_markdown.js rename to web_widget_text_markdown/static/src/js/web_widget_text_markdown.js index 2ad03c3c..210c51d4 100644 --- a/web_bootstrap_markdown/static/src/js/web_bootstrap_markdown.js +++ b/web_widget_text_markdown/static/src/js/web_widget_text_markdown.js @@ -1,10 +1,10 @@ -openerp.web_bootstrap_markdown = function (oe) { +openerp.web_widget_text_markdown = function (oe) { var _lt = oe.web._lt; - oe.web.form.widgets.add('bootstrap_markdown', 'openerp.web_bootstrap_markdown.FieldTextMarkDown'); + oe.web.form.widgets.add('bootstrap_markdown', 'openerp.web_widget_text_markdown.FieldTextMarkDown'); - oe.web_bootstrap_markdown.FieldTextMarkDown = oe.web.form.AbstractField.extend( + oe.web_widget_text_markdown.FieldTextMarkDown = oe.web.form.AbstractField.extend( oe.web.form.ReinitializeFieldMixin, { diff --git a/web_bootstrap_markdown/static/src/xml/bootstrap_markdown.xml b/web_widget_text_markdown/static/src/xml/bootstrap_markdown.xml similarity index 100% rename from web_bootstrap_markdown/static/src/xml/bootstrap_markdown.xml rename to web_widget_text_markdown/static/src/xml/bootstrap_markdown.xml diff --git a/web_widget_text_markdown/views/main.xml b/web_widget_text_markdown/views/main.xml new file mode 100644 index 00000000..e8a8ab26 --- /dev/null +++ b/web_widget_text_markdown/views/main.xml @@ -0,0 +1,18 @@ + + + + + + +