From 120ac7566f355f5b69fce5bfa748c0f8d5b6f195 Mon Sep 17 00:00:00 2001 From: kais-odoo Date: Wed, 23 Nov 2022 06:23:03 +0000 Subject: [PATCH] [IMP] im_livechat: modify mail short code demo data In this commit, remove space and modify content in demo data. task-3067151 closes odoo/odoo#106233 Related: odoo/enterprise#34232 Related: odoo/upgrade#4184 Signed-off-by: Xavier Bol (xbo) --- addons/im_livechat/data/mail_shortcode_data.xml | 16 ++++++++++------ addons/im_livechat/data/mail_shortcode_demo.xml | 2 +- .../test_discuss_full/tests/test_performance.py | 4 ++-- 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/addons/im_livechat/data/mail_shortcode_data.xml b/addons/im_livechat/data/mail_shortcode_data.xml index cc984c384c9..5c9840ad618 100644 --- a/addons/im_livechat/data/mail_shortcode_data.xml +++ b/addons/im_livechat/data/mail_shortcode_data.xml @@ -1,7 +1,11 @@ - - - hello - Hello. How may I help you? - - \ No newline at end of file + + + + + hello + Hello, how may I help you? + + + + diff --git a/addons/im_livechat/data/mail_shortcode_demo.xml b/addons/im_livechat/data/mail_shortcode_demo.xml index 239e8f03fa7..d768c4c0086 100644 --- a/addons/im_livechat/data/mail_shortcode_demo.xml +++ b/addons/im_livechat/data/mail_shortcode_demo.xml @@ -4,7 +4,7 @@ bye - Thanks for your feedback. Good bye! + Thanks for your feedback. Goodbye! diff --git a/addons/test_discuss_full/tests/test_performance.py b/addons/test_discuss_full/tests/test_performance.py index ba94a97bf1c..f40afd30b8b 100644 --- a/addons/test_discuss_full/tests/test_performance.py +++ b/addons/test_discuss_full/tests/test_performance.py @@ -947,12 +947,12 @@ class TestDiscussFullPerformance(TransactionCase): { 'id': 1, 'source': 'hello', - 'substitution': 'Hello. How may I help you?', + 'substitution': 'Hello, how may I help you?', }, { 'id': 2, 'source': 'bye', - 'substitution': 'Thanks for your feedback. Good bye!', + 'substitution': 'Thanks for your feedback. Goodbye!', }, ], 'internalUserGroupId': self.env.ref('base.group_user').id,