Browse Source

web_company_logo_unclickable module

pull/368/head
ralwafaie 8 years ago
parent
commit
74cb4456d0
  1. 34
      web_company_logo_unclickable/README.rst
  2. 3
      web_company_logo_unclickable/__init__.py
  3. 29
      web_company_logo_unclickable/__openerp__.py
  4. 12
      web_company_logo_unclickable/static/src/xml/base.xml

34
web_company_logo_unclickable/README.rst

@ -0,0 +1,34 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
==============================
Web - Company Logo Unclickable
==============================
* Install this module to remove the link to the start page when clicking on the company logo
Installation
============
* No thing is required to install this module
Contributors
------------
* Rami Alwafaie <rami.alwafaie@initos.com>
Maintainer
----------
.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.
To contribute to this module, please visit https://odoo-community.org.

3
web_company_logo_unclickable/__init__.py

@ -0,0 +1,3 @@
# -*- coding: utf-8 -*-
# © initOS GmbH 2016
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

29
web_company_logo_unclickable/__openerp__.py

@ -0,0 +1,29 @@
# -*- coding: utf-8 -*-
# © initOS GmbH 2016
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "Web - Company Logo Unclickable",
"version": "7.0.1.0.0",
"depends": ["web",
],
'author': 'initOS GmbH, Odoo Community Association (OCA)',
"category": "",
"summary": "",
'license': 'AGPL-3',
"description": """
Web - Company Logo Unclickable
==============================
* removes the link to the start page when clicking on the company logo
""",
'data': [],
'images': [],
'demo': [
],
'test': [
],
'qweb': ['static/src/xml/base.xml',
],
'installable': True,
'auto_install': False,
}

12
web_company_logo_unclickable/static/src/xml/base.xml

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<templates id="template" xml:space="preserve">
<t t-extend="WebClient">
<t t-jquery="a[class=oe_logo]" t-operation="replace">
<a class="oe_logo">
<span class="oe_logo_edit">Edit Company data</span>
<img t-att-src='widget.session.url("/web/binary/company_logo")'/>
</a>
</t>
</t>
</templates>
Loading…
Cancel
Save