-db management button + fr_FR translation master
authorLudovic CHEVALIER <tenshi20@no-log.org>
Fri, 6 Dec 2013 11:37:54 +0000 (12:37 +0100)
committerLudovic CHEVALIER <tenshi20@no-log.org>
Fri, 6 Dec 2013 11:44:43 +0000 (12:44 +0100)
__init__.py [new file with mode: 0644]
__openerp__.py [new file with mode: 0644]
i18n/fr.po [new file with mode: 0644]
i18n/no_db_management.pot [new file with mode: 0644]
static/src/xml/base.xml [new file with mode: 0644]

diff --git a/__init__.py b/__init__.py
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/__openerp__.py b/__openerp__.py
new file mode 100644 (file)
index 0000000..584d789
--- /dev/null
@@ -0,0 +1,22 @@
+# -*- coding: utf-8 -*-
+{
+    'name': 'No databases management',
+    'category': 'Hidden',
+    'version': '0.1',
+    'description': """
+Use this module to remove manage databases button
+=================================================
+    """,
+    'author': 'L\'Heureux Cyclage',
+    'website': 'http://www.heureux-cyclage.org',
+    'depends': [
+        'web',
+    ],
+    'update_xml': [
+    ],
+    'qweb': [
+        'static/src/xml/base.xml',
+    ],
+    'auto_install': True
+}
+# -*- coding: utf-8 -*-
diff --git a/i18n/fr.po b/i18n/fr.po
new file mode 100644 (file)
index 0000000..701563b
--- /dev/null
@@ -0,0 +1,31 @@
+# Translation of OpenERP Server.
+# This file contains the translation of the following modules:
+#      * no_db_management
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: OpenERP Server 7.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2013-12-06 11:31+0000\n"
+"PO-Revision-Date: 2013-12-06 12:34+0100\n"
+"Last-Translator: Ludovic CHEVALIER <ludovic.chevalier@heureux-cyclage.org>\n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 1.5.4\n"
+"Language: fr_FR\n"
+
+#. module: no_db_management
+#. openerp-web
+#: code:addons/no_db_management/static/src/xml/base.xml:7
+#, python-format
+msgid "OpenERP"
+msgstr "OpenERP"
+
+#. module: no_db_management
+#. openerp-web
+#: code:addons/no_db_management/static/src/xml/base.xml:7
+#, python-format
+msgid "Powered by"
+msgstr "Fourni par"
diff --git a/i18n/no_db_management.pot b/i18n/no_db_management.pot
new file mode 100644 (file)
index 0000000..d7b5708
--- /dev/null
@@ -0,0 +1,31 @@
+# Translation of OpenERP Server.
+# This file contains the translation of the following modules:
+#      * no_db_management
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: OpenERP Server 7.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2013-12-06 11:31+0000\n"
+"PO-Revision-Date: 2013-12-06 11:31+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: \n"
+
+#. module: no_db_management
+#. openerp-web
+#: code:addons/no_db_management/static/src/xml/base.xml:7
+#, python-format
+msgid "OpenERP"
+msgstr ""
+
+#. module: no_db_management
+#. openerp-web
+#: code:addons/no_db_management/static/src/xml/base.xml:7
+#, python-format
+msgid "Powered by"
+msgstr ""
+
diff --git a/static/src/xml/base.xml b/static/src/xml/base.xml
new file mode 100644 (file)
index 0000000..1a63833
--- /dev/null
@@ -0,0 +1,11 @@
+<templates>
+    <!-- Templates modified at the web start, before loading of a database. -->
+
+    <!-- Remove the Manage database link, but keep the Powered by OpenERP-->
+    <t t-extend="Login">
+        <t t-jquery="div.oe_login_footer" t-operation="replace">
+            <a href="http://www.openerp.com" target="_blank">Powered by <span>OpenERP</span></a>
+        </t>
+    </t>
+
+</templates>