diff --git a/__unported__/web_nocreatedb/__openerp__.py b/__unported__/web_nocreatedb/__openerp__.py deleted file mode 100644 index 3594c90d..00000000 --- a/__unported__/web_nocreatedb/__openerp__.py +++ /dev/null @@ -1,67 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# Financed and Planified by Vauxoo -# developed by: tulio@vauxoo.com -# - -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . -# -############################################################################## - -{ - 'name': "NO create database link", - 'author': "Vauxoo,Odoo Community Association (OCA)", - 'category': "Web", - 'website': "http://vauxoo.com", - 'description': """ -After install this module, you will not see anymore the -"Manage Databases" link in login screen. - -See the image bellow: - -.. image:: web_nocreatedb/static/src/img/screen.png - -How to use: - -When you start your server add the name of this module in the "load" option:: - - $./openerp-server --load=web,web_nocreatedb -u all -d database - -Then you can start your server without the -u and -d (just the first time you -need update all to be sure all base and web will be fine). - -With this option you can just take off and restart the server if you need to show -the link temporaly again. - -TODO: It should be great add a parameter in the database to hide it configurable -way and with web_preload: True, but BTW, in old versions of openerp it was a -parameter in the config file, i think as it is is fine for now. - -.. note:: This module probably will not be shown in your module list by default -You should create a menu to see "All modules without filter. - """, - 'version': "1.0", - 'depends': [ - 'web', - ], - 'js': [ - ], - 'css': [ - ], - 'qweb': [ - 'static/src/xml/web_nocreatedb.xml', - ], - 'installable': False, - 'auto_install': False, -} diff --git a/__unported__/web_nocreatedb/static/src/img/screen.png b/__unported__/web_nocreatedb/static/src/img/screen.png deleted file mode 100644 index 48e75871..00000000 Binary files a/__unported__/web_nocreatedb/static/src/img/screen.png and /dev/null differ diff --git a/__unported__/web_nocreatedb/static/src/xml/web_nocreatedb.xml b/__unported__/web_nocreatedb/static/src/xml/web_nocreatedb.xml deleted file mode 100644 index 805aa331..00000000 --- a/__unported__/web_nocreatedb/static/src/xml/web_nocreatedb.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - diff --git a/web_hide_db_manager_link/README.rst b/web_hide_db_manager_link/README.rst new file mode 100644 index 00000000..f6e2bb99 --- /dev/null +++ b/web_hide_db_manager_link/README.rst @@ -0,0 +1,50 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :alt: License + +Hide link to database manager in login screen +============================================= + +This module hides the "Manage Databases" link at the bottom of login screen. + +The image in *web_hide_db_manager_link/static/src/img/screen.png* shows the resulting loging screen. + +.. image:: web_hide_db_manager_link/static/src/img/screenshot.png + +Installation +============ + +To install this module, you need to: + + * Go to Settings / Local Modules + * Search by module name "Hide link to database manager in login screen" or by module technical name "*web_hide_db_manager_link*" + * Click install button + +In case this module is not shown in your module list by default, click on "Update Module List" and clear any filter to show all modules. + +Usage +===== + +To use this module, you need to: + + * As in Odoo v8 templates only live in the database, this module must be installed in each database you want this to be in effect. + +Credits +======= + +Contributors +------------ + +* Alejandro Santana + +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. diff --git a/__unported__/web_nocreatedb/__init__.py b/web_hide_db_manager_link/__init__.py similarity index 100% rename from __unported__/web_nocreatedb/__init__.py rename to web_hide_db_manager_link/__init__.py diff --git a/web_hide_db_manager_link/__openerp__.py b/web_hide_db_manager_link/__openerp__.py new file mode 100644 index 00000000..70537fc0 --- /dev/null +++ b/web_hide_db_manager_link/__openerp__.py @@ -0,0 +1,36 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Odoo, Open Source Management Solution +# +# Copyright (c) All rights reserved: +# (c) 2015 AnubĂ­a, soluciones en la nube,SL (http://www.anubia.es) +# Alejandro Santana +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see http://www.gnu.org/licenses +# +############################################################################## + +{ + 'name': 'Hide link to database manager in login screen', + 'version': "1.0", + 'category': 'Web', + 'license': 'AGPL-3', + 'author': 'Alejandro Santana, Odoo Community Association (OCA)', + 'website': 'http://anubia.es', + 'summary': 'Hide link to database manager in login screen', + 'depends': ['web'], + 'data': ['views/webclient_templates.xml'], + 'installable': True, +} diff --git a/web_hide_db_manager_link/static/description/icon.png b/web_hide_db_manager_link/static/description/icon.png new file mode 100644 index 00000000..4891d91a Binary files /dev/null and b/web_hide_db_manager_link/static/description/icon.png differ diff --git a/web_hide_db_manager_link/static/description/icon.svg b/web_hide_db_manager_link/static/description/icon.svg new file mode 100644 index 00000000..eac5a483 --- /dev/null +++ b/web_hide_db_manager_link/static/description/icon.svg @@ -0,0 +1,128 @@ + +image/svg+xml \ No newline at end of file diff --git a/web_hide_db_manager_link/static/src/img/screenshot.png b/web_hide_db_manager_link/static/src/img/screenshot.png new file mode 100644 index 00000000..1bf96f9e Binary files /dev/null and b/web_hide_db_manager_link/static/src/img/screenshot.png differ diff --git a/web_hide_db_manager_link/views/webclient_templates.xml b/web_hide_db_manager_link/views/webclient_templates.xml new file mode 100644 index 00000000..de635c31 --- /dev/null +++ b/web_hide_db_manager_link/views/webclient_templates.xml @@ -0,0 +1,13 @@ + + + + + + + + +