~metacode/web-addons/web-addons-7.0

« back to all changes in this revision

Viewing changes to web_nocreatedb/__openerp__.py

  • Committer: Nhomar Hernandez
  • Date: 2013-06-22 14:51:44 UTC
  • mfrom: (3.2.11 7.0-nocreatedb-link)
  • Revision ID: nhomar@gmail.com-20130622145144-imcccy5ex2aanme4
[ADD] New module to hide createdvb link

Show diffs side-by-side

added added

removed removed

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