Browse Source
[9.0] web_hide_db_manager link - Port to v9 (#411)
[9.0] web_hide_db_manager link - Port to v9 (#411)
* [PRT][REN] Added module web_hide_db_manager_link, as a port to v8 of web_nocreatedb, but with a more descriptive name. * [IMP] web_hide_db_manager_link: Improve README file. * [IMP] web_hide_db_manager_link: Improve README file as reviewed. * [UPD] web_hide_db_manager_link: Removed useless README line, as it explains a standard procedure for updating modules. * Add bug tracker link on README.rst * [UPD] prefix versions with 8.0 * [FIX] fixes the disabling of the db manager * [IMP] change screenshot to v9, README, and improve style as per OCA guidelines * [FIX] improve README and XML style, as per reviewer's commentspull/415/merge
Jordi Ballester Alomar
8 years ago
committed by
Moises Lopez - https://www.vauxoo.com/
5 changed files with 55 additions and 50 deletions
-
50web_hide_db_manager_link/README.rst
-
4web_hide_db_manager_link/__init__.py
-
29web_hide_db_manager_link/__openerp__.py
-
BINweb_hide_db_manager_link/static/src/img/screenshot.png
-
22web_hide_db_manager_link/views/webclient_templates.xml
@ -0,0 +1,4 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Copyright Anubía, soluciones en la nube,SL (http://www.anubia.es) |
|||
# Alejandro Santana <alejandrosantana@anubia.es> |
|||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). |
Before Width: 733 | Height: 769 | Size: 33 KiB After Width: 759 | Height: 401 | Size: 25 KiB |
@ -1,13 +1,11 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
|
|||
<openerp> |
|||
<data> |
|||
|
|||
<template id="login_layout_no_db" inherit_id="web.login_layout" name="Login Layout"> |
|||
<xpath expr="//div[@class='oe_single_form_footer']" position="before"> |
|||
<t t-set="disable_database_manager" t-value="1"/> |
|||
</xpath> |
|||
</template> |
|||
|
|||
</data> |
|||
</openerp> |
|||
<!-- Copyright Anubía, soluciones en la nube,SL (http://www.anubia.es) |
|||
Alejandro Santana <alejandrosantana@anubia.es> |
|||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). --> |
|||
<odoo> |
|||
<template id="login_layout_no_db" inherit_id="web.login_layout" name="Login Layout"> |
|||
<xpath expr="//div[@class='col-md-6 col-md-offset-3 o_database_list']" position="before"> |
|||
<t t-set="disable_database_manager" t-value="1"/> |
|||
</xpath> |
|||
</template> |
|||
</odoo> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue