summaryrefslogtreecommitdiff
path: root/addons/hr_holidays/static/src/components/thread_viewer/thread_viewer.xml
diff options
context:
space:
mode:
authorSébastien Theys <seb@odoo.com>2020-08-28 10:16:37 +0000
committerSébastien Theys <seb@odoo.com>2020-08-28 13:43:54 +0000
commitf9ee1cf5f904116e4d1d70a8eaf4ee1d58b18a3a (patch)
tree89425d0677083bb9489e42d47521c4bcf1e4ff44 /addons/hr_holidays/static/src/components/thread_viewer/thread_viewer.xml
parent98e12901c97a67dc87f21647473754cd6f384d4a (diff)
[FIX] mail, *: rename thread viewer to thread view
The "viewer" should be the "parent" not the view itself. This distinction will become important in a future commit to allow viewers to not display the view in some situations. Rename done as a standalone commit to ease diff readability. Part of task-2310623 closes odoo/odoo#56737 X-original-commit: 1b811e6a972d72de02965adda67c5b039bee023f Related: odoo/enterprise#12756 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com> Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
Diffstat (limited to 'addons/hr_holidays/static/src/components/thread_viewer/thread_viewer.xml')
-rw-r--r--addons/hr_holidays/static/src/components/thread_viewer/thread_viewer.xml10
1 files changed, 0 insertions, 10 deletions
diff --git a/addons/hr_holidays/static/src/components/thread_viewer/thread_viewer.xml b/addons/hr_holidays/static/src/components/thread_viewer/thread_viewer.xml
deleted file mode 100644
index b670d5d8c61..00000000000
--- a/addons/hr_holidays/static/src/components/thread_viewer/thread_viewer.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<templates xml:space="preserve">
- <t t-inherit="mail.ThreadViewer" t-inherit-mode="extension">
- <xpath expr="//*[@name='loadingCondition']" position="before">
- <t t-if="threadViewer.thread.correspondent and threadViewer.thread.correspondent.out_of_office_date_end">
- <div class="o_ThreadViewer_outOfOffice alert alert-primary" t-esc="getOutOfOfficeText()" role="alert"/>
- </t>
- </xpath>
- </t>
-</templates>