Merge branch 'pawan_branch' into 'development'

add debranding module

See merge request prakash.jain/cor-odoo!21
This commit is contained in:
pawan.sharma 2020-12-21 03:28:33 -08:00
commit 4b18f52867
6 changed files with 91 additions and 0 deletions

17
odoo-debranding/__manifest__.py Executable file
View File

@ -0,0 +1,17 @@
{
'name': 'odoo debranding',
'version': '14.0',
'summary': 'odoo debranding',
'description': 'odoo debranding',
'category': '',
'author': '',
'website': '',
'license': '',
'depends': ['base_setup', 'web'],
'data': ['views/webclient_templates.xml'],
'demo': [''],
'qweb': ["static/src/xml/base.xml"],
'installable': True,
'auto_install': False,
}

View File

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

View File

@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<templates>
<t t-extend="mail.client_action">
<t t-jquery=".o_mail_request_permission" t-operation="inner">
Your permission is required to <a href="#"> enable desktop notifications</a>.
</t>
</t>
<t t-extend="UserMenu.Actions">
<t t-jquery="a[data-menu='documentation']" t-operation="replace">
</t>
<t t-jquery="a[data-menu='support']" t-operation="replace">
</t>
<!-- <t t-jquery="a[data-menu='about']" t-operation="replace"></t> -->
<t t-jquery="a[data-menu='account']" t-operation="replace">
</t>
<t t-jquery="li.divider" t-operation="replace">
</t>
</t>
<t t-extend="res_config_edition">
<t t-jquery="div[id='edition']" t-operation="replace">
</t>
</t>
<t t-extend="res_config_dev_tool">
<t t-jquery="div[id='developer_tool']" t-operation="replace"/>
</t>
</templates>

View File

@ -0,0 +1,40 @@
<odoo>
<template id="web.layout" name="Web layout">&lt;!DOCTYPE html&gt;
<html t-att="html_data or {}">
<head>
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<title t-esc="title or 'COR'"/>
<link type="image/x-icon" rel="shortcut icon" t-att-href="x_icon or '/odoo-debranding/static/src/img/image.png'"/>
<script type="text/javascript">
var odoo = {
csrf_token: "<t t-esc="request.csrf_token(None)"/>",
debug: "<t t-esc="debug"/>",
};
</script>
<t t-raw="head or ''"/>
</head>
<body t-att-class="body_classname">
<t t-raw="0"/>
</body>
</html>
</template>
<record id="res_config_settings_view_form_inherit" model="ir.ui.view">
<field name="name">res.config.settings.view.form.inherit.remove.about</field>
<field name="model">res.config.settings</field>
<field name="inherit_id" ref="base_setup.res_config_settings_view_form"/>
<field name="arch" type="xml">
<div id="about" position="replace"/>
</field>
</record>
</odoo>