How to remove "Manage Databases"


As my subject, how do we remove the "Manage Databases" link on the login screen? Currently using openerp Version 7.0-20130221-002146 And also can we edit the login screen interface? For example editing the logo image. Thank you..

The OpenERP files (server, addons, web) should never be edited. You should always prefer to do your modifications in a custom addon.

You can do this change by creating a custom addon and replacing the part of the UI you don't want.

Usual addons are installed on a database basis. Removing the Manage database link is global to an installation, so you'll need to start your server with the name of your module in the --load option.

./openerp-server --load=web,your_module

Your module should also be auto-installable, use the key auto_install in the of your module:

'auto_install': True,

To remove the Manage database, you'll need to create a file static/src/xml/base.xml:

    <!-- 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">
            <div class="oe_login_footer">
                <a href="" target="_blank">Powered by <span>OpenERP</span></a>


Then you need to load the file in

'qweb' : [

You can edit the logo or other elements interface too. You can refer to the file addons/web/static/src/xml/base.xml in openerp-web to see the base templates.

The templates use the QWeb syntax: QWeb documentation

Need more info?

This documentation page has been extracted from the Q&A section where you can discuss it and get feedback.
Related question