You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

68 lines
2.2 KiB

10 years ago
12 years ago
  1. # -*- coding: utf-8 -*-
  2. ##############################################################################
  3. # Financed and Planified by Vauxoo
  4. # developed by: tulio@vauxoo.com
  5. #
  6. # This program is free software: you can redistribute it and/or modify
  7. # it under the terms of the GNU General Public License as
  8. # published by the Free Software Foundation, either version 3 of the
  9. # License, or (at your option) any later version.
  10. #
  11. # This program is distributed in the hope that it will be useful,
  12. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. # GNU General Public License for more details.
  15. #
  16. # You should have received a copy of the GNU General Public License
  17. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  18. #
  19. ##############################################################################
  20. {
  21. 'name': "NO create database link",
  22. 'author': "Vauxoo",
  23. 'category': "Web",
  24. 'website': "http://vauxoo.com",
  25. 'description': """
  26. After install this module, you will not see anymore the
  27. "Manage Databases" link in login screen.
  28. See the image bellow:
  29. .. image:: web_nocreatedb/static/src/img/screen.png
  30. How to use:
  31. When you start your server add the name of this module in the "load" option::
  32. $./openerp-server --load=web,web_nocreatedb -u all -d database
  33. Then you can start your server without the -u and -d (just the first time you
  34. need update all to be sure all base and web will be fine).
  35. With this option you can just take off and restart the server if you need to
  36. show the link temporaly again.
  37. TODO: It should be great add a parameter in the database to hide it
  38. configurable way and with web_preload: True, but BTW, in old versions of
  39. openerp it was a parameter in the config file, i think as it is is fine for
  40. now.
  41. .. note:: This module probably will not be shown in your module list by default
  42. You should create a menu to see "All modules without filter.
  43. """,
  44. 'version': "1.0",
  45. 'depends': [
  46. 'web',
  47. ],
  48. 'js': [
  49. ],
  50. 'css': [
  51. ],
  52. 'qweb': [
  53. 'static/src/xml/web_nocreatedb.xml',
  54. ],
  55. 'installable': True,
  56. 'auto_install': False,
  57. }