I am install OpenERP (Odoo)in system, I want to remove links for
1. "Login with OpenERP"
2. "Manage Databses"
3. "Powered by OpenERP",
those appear on login page of OpenERP
I am using OpenERp Odoo(V8)Saas-4
I try to make change in "base.xml","webclient_templates.xml" and "database_selector.html" but still make no effect.
You have to create a new module with a view to inherit from `web.login_layout` template from `web/views/webclient_templates.xml`. So
- Create a new module `mytheme`:
- `__init__.py`: Empty, because we do not need to import any module
'name': 'My Theme',
<?xml version="1.0" encoding="UTF-8"?>
<template id="assets_backend" name="mytheme assets" inherit_id="web.assets_backend">
<xpath expr="." position="inside">
<link rel="stylesheet" href="/mytheme/static/src/css/mytheme.css"/>
<template id="mytheme.login_layout" inherit_id="web.login_layout" name="My Theme Login">
<xpath expr="//div[@class='oe_single_form_footer']" position="replace">
<div class="oe_single_form_footer">Here you can write your login footer</div>
<xpath expr="//div[@class='oe_single_form_logo']" position="replace">
alt="My Theme Logo"
title="My Theme Logo" />
- Create CSS and JS files:
- Copy your logo (180x90 px is a good one):
Install module in Settings > Modules > Local Modules. This will override login template, you can inherit from any other template and add or replace any html using an xpath expresion.
I don't know what you mean by 'Login with OpenERP'.
You can remove the link 'Powered by OpenERP' in the linked answer.
first you must manage Odoo server; if you are using Odoo Saas you cannot do it.
1.Remove login with OpenERP
if you mean announce bar, you can install web_adblock
if you mean link in user preference menu (on right top of screen) it is more compliecated and you have to write python code, not easy to explain here.
In you server, you can update openerp-server.conf. Here the meaning OpenERP/Parametri Configurazione
3.Why remove Powered by OpenERP ?
Legally and ethically you should hold OpenERP name
Antonio Maria Vigliotti
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 6/18/14, 12:57 AM|
|Seen: 19677 times|
|Last updated: 9/8/16, 8:49 AM|