Remove links that appear on the login page of OpenERP (Odoo)

3

1

I have installed OpenERP (Odoo) on a system, I want to remove the links for

  • Login with OpenERP
  • Manage Databases
  • Powered by OpenERP

That appear on the login page of OpenERP. I am using OpenERP Odoo v8 Saas-4.

kkk

Posted 2014-06-18T04:49:45.200

Reputation: 31

Answers

2

Below is process for removing these links.

  1. "Login with OpenERP"

    • Go to Setting->User menu->Oauth Provider
    • Uncheck "Allowed" for OpenERP.com Accounts
  2. Removing "Manage Databases" and "Powered by OpenERP"

    • Go to openerp/web module
    • Go to web/view/webclient_templates.xml and make it invisible using html tag (-->). Line number 64.
    • Do not forgot to upgrade web module after making changes in webclient_templates.xml
<!--          
<a class="oe_login_manage_db" t-attf-href="/web/database/manager{{ '?debug' if debug else '' }}">Manage Databases</a> 
<span class="oe_footer_seperator"> | </span>
     </t>
<a href="http://www.openerp.com" target="_blank">Powered by <span>OpenERP</span></a>
-->

Shagun

Posted 2014-06-18T04:49:45.200

Reputation: 21

It's probably possible to do it like this but it's not so great to change parts of Odoo core. It would be better to override the module. – kqw – 2014-08-18T17:03:56.380

@KasperSouren how to override the module easily? – davejal – 2016-10-12T00:18:38.090

2

You have to create a new module with a view to inherit from web.login_layout template from web/views/webclient_templates.xml. More details in this question from Odoo Q&A:

Antonio Espinosa

Posted 2014-06-18T04:49:45.200

Reputation: 121

1

<?xml version="1.0" encoding="UTF-8"?>
<templates id="template" xml:space="preserve">
  <t t-extend="Login">
    <t t-jquery="div.oe_login_footer" t-operation="replace">
      <a href="http://www.openerp.com" target="_blank">Powered by <span>OpenERP</span></a>
    </t>
  </t>
</templates>

This code is saved in your own module in static>src>xml> in base.xml file. declare in manifest file openerp.py

Farid Dilaver

Posted 2014-06-18T04:49:45.200

Reputation: 11