Remove Odoo Support from Odoo chat
来源:互联网 发布:mac mini双系统切换 编辑:程序博客网 时间:2024/05/22 08:20
来自:http://www.odoo.yenthevg.com/remove-odoo-support-odoo-chat/
Today I’ll learn you how to remove the ‘Odoo Support’ user from the Odoo chat. Most of us do not want this to show up in our list of people to chat with and especially not when you’re selling Odoo to customers.
Originally in Odoo you will get this:
So how do you remove this user?
1. Go to your addons folder and search for the addon im_odoo_support. Open this folder up, you’ll now see this structure:
2. Open up the folder views and then open the XML file im_odoo_support.xml. In this file you can directly see that there is a function and it looks to Odoo Support. So go ahead and comment this block out, like this:
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<!-- <template id="assets_backend" name="im_odoo_support assets" inherit_id="web.assets_backend">
<xpath expr="." position="inside">
<script type="text/javascript" src="/im_odoo_support/static/src/js/im_odoo_support.js"></script>
<script type="text/javascript">
(function() {
openerp.im_odoo_support.support = new openerp.im_odoo_support.OdooSupport(
"<t t-esc="request.session.login"/>",
"<t t-esc="request.registry['ir.config_parameter'].get_param(request.cr, request.uid, 'database.uuid')"/>"
);
})();
</script>
</xpath>
</template>-->
</data>
</openerp>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<!-- <template id="assets_backend" name="im_odoo_support assets" inherit_id="web.assets_backend">
<xpath expr="." position="inside">
<script type="text/javascript" src="/im_odoo_support/static/src/js/im_odoo_support.js"></script>
<script type="text/javascript">
(function() {
openerp.im_odoo_support.support = new openerp.im_odoo_support.OdooSupport(
"<t t-esc="request.session.login"/>",
"<t t-esc="request.registry['ir.config_parameter'].get_param(request.cr, request.uid, 'database.uuid')"/>"
);
})();
</script>
</xpath>
</template>-->
</data>
</openerp>
2. Go to im_odoo_support/static/src/xml/ and open the file im_odoo_support.xml. You’ll see an li class here for Odoo Support too. Comment it out like this:
<?xml version="1.0" encoding="UTF-8"?>
<templates xml:space="preserve">
<t t-extend="UserMenu">
<t t-jquery=".dropdown-menu li:eq(3)" t-operation="after">
<!--
<li class="odoo_support_contact">
<a data-menu="odoo_support" href="#">Odoo Support</a>
</li>-->
</t>
</t>
</templates>
1
2
3
4
5
6
7
8
9
10
11
12
<?xml version="1.0" encoding="UTF-8"?>
<templates xml:space="preserve">
<t t-extend="UserMenu">
<t t-jquery=".dropdown-menu li:eq(3)" t-operation="after">
<!--
<li class="odoo_support_contact">
<a data-menu="odoo_support" href="#">Odoo Support</a>
</li>-->
</t>
</t>
</templates>
3. Now restart your Odoo server and update your module. You can do it with this command:
./odoo.py -u im_odoo_support
4. Open Odoo in your browser and you’ll see there is no more ‘Odoo Support’ user in the list!
- Remove Odoo Support from Odoo chat
- Odoo
- 部署odoo
- odoo documentation
- odoo conf
- odoo--connector
- Odoo知识库
- odoo学习方法
- odoo报表
- Odoo 安装
- Odoo Wizards
- odoo开发
- Odoo配置文件
- odoo 须知
- 【Odoo】XML_RPC访问Odoo数据库
- 命令行界面: odoo.py(Odoo启动参数)
- Odoo web 机制浅析
- odoo SSO:单点登录
- 情商的一点理解
- SPOJ 370 SPOJ ONEZERO(BFS + 递归)
- httpClient java.net.URLEncoder.encode二次转码问题
- CV领域的一些评价指标(持续更新)
- 传作业图片
- Remove Odoo Support from Odoo chat
- javadoc 生成
- 找出字符串中最长的数字子串并指出位置长度,输出。
- org.apache.commons.lang.exception.NestableRuntimeException
- List之Vector的特有的迭代方法
- web开发时java.lang.IllegalArgumentException: argument type mismatch异常及解决方法
- 数据管理技术的产生和发展
- 3674: 可持久化并查集加强版
- QTcreator:中文乱码问题解决办法!