summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/xml
diff options
context:
space:
mode:
authorSébastien Theys <seb@odoo.com>2020-02-10 12:38:52 +0000
committerSébastien Theys <seb@odoo.com>2020-02-10 13:05:04 +0000
commit5018b01dc7e0e5f2c2198367f13ec41b1ed402c7 (patch)
tree203d080acdde573908db7eff49030adbb924b4c7 /addons/mail/static/src/xml
parentb7ade94c30cfb78dbb94d01b76be17f7175e1eb2 (diff)
[IMP] mail, test_mail, hr_holidays: remove obsolete out of office
The customizable "out of office" text was removed from the editable views as part of task-2053585, but some places in the code were still using it, even though it was never set anymore. This commit removes the obsolete code. Part of task-2171864 closes odoo/odoo#44968 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Diffstat (limited to 'addons/mail/static/src/xml')
-rw-r--r--addons/mail/static/src/xml/out_of_office.xml4
-rw-r--r--addons/mail/static/src/xml/user_menu.xml11
2 files changed, 0 insertions, 15 deletions
diff --git a/addons/mail/static/src/xml/out_of_office.xml b/addons/mail/static/src/xml/out_of_office.xml
index 89723daf5dc..19fb2c341c6 100644
--- a/addons/mail/static/src/xml/out_of_office.xml
+++ b/addons/mail/static/src/xml/out_of_office.xml
@@ -5,9 +5,5 @@
-->
<div class="o_out_of_office" t-name="mail.thread.OutOfOffice">
<div class="o_out_of_office_info" t-if="thread.getOutOfOfficeInfo()" t-esc="thread.getOutOfOfficeInfo()"/>
- <div class="o_out_of_office_text o_text_wrap" t-if="thread.getOutOfOfficeMessage()">
- <t t-esc="thread.getOutOfOfficeMessage()"/>
- <a href="#" class="o_out_of_office_read_more_less_button">Read more</a>
- </div>
</div>
</templates>
diff --git a/addons/mail/static/src/xml/user_menu.xml b/addons/mail/static/src/xml/user_menu.xml
deleted file mode 100644
index 1240d4744fb..00000000000
--- a/addons/mail/static/src/xml/user_menu.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<templates xml:space="preserve">
-
- <t t-extend="UserMenu">
- <t t-jquery=".oe_topbar_name" t-operation="before">
- <t t-if="widget.outOfOfficeMessage">
- <i class="o_mail_user_status o_user_idle fa fa-minus-circle" title="You have set a chat message."/>
- </t>
- </t>
- </t>
-</templates>