[FIX] im_livechat: temporarily disable client code
This is done because of large mail refactoring and the need of quick release. We will rewrite it asap.
This commit is contained in:
@@ -7,11 +7,14 @@ var user_session = require('web.session');
|
||||
var time = require('web.time');
|
||||
var utils = require('web.utils');
|
||||
var Widget = require('web.Widget');
|
||||
var mail_chat_common = require('mail.chat_common');
|
||||
// var mail_chat_common = require('mail.chat_common');
|
||||
|
||||
var _t = core._t;
|
||||
var QWeb = core.qweb;
|
||||
|
||||
return {
|
||||
LivechatButton: Widget,
|
||||
};
|
||||
|
||||
/*
|
||||
* Conversation Patch
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
odoo.define('im_livechat.chat_backend', function (require) {
|
||||
"use strict";
|
||||
|
||||
var mail_chat_backend = require('mail.chat_backend');
|
||||
// var mail_chat_backend = require('mail.chat_backend');
|
||||
return;
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<template>
|
||||
|
||||
<t t-extend="mail.chat.ChatMailThread.channels">
|
||||
<!-- <t t-extend="mail.chat.ChatMailThread.channels">
|
||||
<t t-jquery="li > a" t-operation="append">
|
||||
<t t-if="channel.channel_type === 'livechat'">
|
||||
<span class="fa fa-times pull-right o_mail_chat_channel_unpin" t-att-title="_t('Close')" t-att-data-channel-id="channel.id"/>
|
||||
@@ -11,12 +11,11 @@
|
||||
|
||||
<t t-extend="mail.chat.ChatMailThread">
|
||||
<t t-jquery=".o_mail_chat_sidebar" t-operation="append">
|
||||
<!-- Livechat list -->
|
||||
<h4 class="o_mail_chat_sidebar_title"><t t-esc="_t('Livechat')"/></h4>
|
||||
<t t-call="mail.chat.ChatMailThread.channels">
|
||||
<t t-set="channel_slot" t-value="'channel_livechat'"/>
|
||||
</t>
|
||||
</t>
|
||||
</t>
|
||||
</t> -->
|
||||
|
||||
</template>
|
||||
|
||||
@@ -125,11 +125,12 @@
|
||||
<script type="text/javascript" src="/web/static/src/js/framework/core.js"></script>
|
||||
<!-- Bus, Mail, Livechat -->
|
||||
<script type="text/javascript" src="/bus/static/src/js/bus.js"></script>
|
||||
<script type="text/javascript" src="/mail/static/src/js/mail_utils.js"></script>
|
||||
<script type="text/javascript" src="/mail/static/src/js/mail_chat_common.js"></script>
|
||||
<script type="text/javascript" src="/mail/static/src/js/chat_window.js"></script>
|
||||
<script type="text/javascript" src="/mail/static/src/js/thread.js"></script>
|
||||
<script type="text/javascript" src="/im_livechat/static/src/js/im_livechat.js"></script>
|
||||
<link rel="stylesheet" href="/mail/static/src/less/mail_chat_common.less"></link>
|
||||
<link rel="stylesheet" href="/im_livechat/static/src/css/im_livechat.css"/>
|
||||
<link rel="stylesheet" href="/mail/static/src/less/chat_window.less"></link>
|
||||
<link rel="stylesheet" href="/mail/static/src/less/thread.less"></link>
|
||||
<link rel="stylesheet" href="/im_livechat/static/src/less/im_livechat.less"/>
|
||||
</template>
|
||||
|
||||
<!-- the js code to initialize the LiveSupport object -->
|
||||
|
||||
Reference in New Issue
Block a user