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.

67 lines
2.2 KiB

11 years ago
11 years ago
11 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 show
  36. the link temporaly again.
  37. TODO: It should be great add a parameter in the database to hide it configurable
  38. way and with web_preload: True, but BTW, in old versions of openerp it was a
  39. parameter in the config file, i think as it is is fine for now.
  40. .. note:: This module probably will not be shown in your module list by default
  41. You should create a menu to see "All modules without filter.
  42. """,
  43. 'version': "1.0",
  44. 'depends': [
  45. 'web',
  46. ],
  47. 'js': [
  48. ],
  49. 'css': [
  50. ],
  51. 'qweb': [
  52. 'static/src/xml/web_nocreatedb.xml',
  53. ],
  54. 'installable': True,
  55. 'auto_install': False,
  56. }