-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[UPG] viin_brand_im_livechat: upgrade to version 17.0
- Loading branch information
Showing
11 changed files
with
152 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from . import models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<odoo> | ||
<data> | ||
<record id="im_livechat.digest_tip_im_livechat_0" model="digest.tip"> | ||
<field name="tip_description" type="html"> | ||
<div> | ||
<p class="tip_title">Tip: Use canned responses to chat faster | ||
</p> | ||
<p class="tip_content">Use canned responses to define templates | ||
of | ||
messages in the livechat app. To load a canned | ||
response, start your sentence with ':' and select | ||
the template. | ||
</p> | ||
<img | ||
src="im_livechat/static/src/img/milk-canned-responses.gif" | ||
width="540" class="illustration_border" /> | ||
</div> | ||
</field> | ||
</record> | ||
</data> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,20 @@ | ||
<?xml version="1.0"?> | ||
<odoo> | ||
<data> | ||
<record id="im_livechat.im_livechat_mail_message_20_data" model="mail.message"> | ||
<field name="model">mail.channel</field> | ||
<field name="res_id" ref="im_livechat.im_livechat_mail_channel_data_4"/> | ||
<field name="message_type">email</field> | ||
<field name="author_id" ref="base.partner_admin"/> | ||
<record id="im_livechat.livechat_channel_session_5_message_3" model="mail.message"> | ||
<field name="body">Hi, if you need help with your database, feel free to contact our support via http://www.viindoo.com/ticket</field> | ||
<field eval="DateTime.today() + relativedelta(months=-2, days=-4, minutes=20)" name="date"/> | ||
</record> | ||
<record id="im_livechat.im_livechat_mail_message_24_data" model="mail.message"> | ||
<field name="model">mail.channel</field> | ||
<field name="res_id" ref="im_livechat.im_livechat_mail_channel_data_5"/> | ||
<field name="message_type">email</field> | ||
<field name="author_id" ref="base.partner_admin"/> | ||
<record id="im_livechat.livechat_channel_session_6_message_3" model="mail.message"> | ||
<field name="body">Yes, of course, you can find it here: https://viindoo.com/documentation/16.0/applications.html</field> | ||
<field eval="DateTime.today() + relativedelta(months=-3, days=-5, minutes=24)" name="date"/> | ||
</record> | ||
<record id="im_livechat.livechat_channel_session_2_message_2" model="mail.message"> | ||
<field name="body">I was wondering if Viindoo has an application to easily manage social media for my business..</field> | ||
</record> | ||
<record id="im_livechat.livechat_channel_session_2_message_5" model="mail.message"> | ||
<field name="body">You're welcome, enjoy Viindoo!</field> | ||
</record> | ||
<record id="im_livechat.livechat_channel_session_4_message_2" model="mail.message"> | ||
<field name="body">Hello Joel Willis, you're at the right place! You can customize Viindoo using our Studio application in just a few clicks.</field> | ||
</record> | ||
</data> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<odoo> | ||
<data noupdate="1"> | ||
|
||
<record id="im_livechat.chatbot_script_welcome_bot" model="chatbot.script"> | ||
<field name="image_1920" type="base64" file="viin_brand/static/img/viindoobot.png" /> | ||
</record> | ||
|
||
</data> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<odoo> | ||
<template id="livechat_email_template" inherit_id="im_livechat.livechat_email_template"> | ||
<xpath expr="//table[1]/tr[2]/td[1]" position="replace" mode="inner"> | ||
<td align="center" style="min-width: 590px;"> | ||
Powered by <a target="_blank" href="https://viindoo.com?utm_source=db&utm_medium=email" style="color: #875A7B;">Viindoo</a> | ||
</td> | ||
</xpath> | ||
</template> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from . import im_livechat_channel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
from odoo import fields, models | ||
|
||
|
||
class ImLivechatChannel(models.Model): | ||
_inherit = 'im_livechat.channel' | ||
|
||
# override to debranding livechat of odoo | ||
header_background_color = fields.Char(default="#7f4282") | ||
button_background_color = fields.Char(default="#7f4282") |
22 changes: 0 additions & 22 deletions
22
viin_brand_im_livechat/static/src/legacy/public_livechat.scss
This file was deleted.
Oops, something went wrong.