summaryrefslogtreecommitdiff
path: root/addons/hr_holidays/static/src/components/thread_view/thread_view.xml
diff options
context:
space:
mode:
authorXavier Dubuc <xdu@odoo.com>2020-11-10 08:59:25 +0000
committerSébastien Theys <seb@odoo.com>2020-11-30 15:21:27 +0000
commitd9aa362914945e6cb095b04fa94cfb3469abd907 (patch)
treed234604da02879d539155206949e112d437957c2 /addons/hr_holidays/static/src/components/thread_view/thread_view.xml
parent24d52d4a8d0f475bb62b6653c08ce409e27e1d58 (diff)
[FIX] hr_holidays: bring back the out of office panel in threads
task-2277511 closes odoo/odoo#61586 Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
Diffstat (limited to 'addons/hr_holidays/static/src/components/thread_view/thread_view.xml')
-rw-r--r--addons/hr_holidays/static/src/components/thread_view/thread_view.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/hr_holidays/static/src/components/thread_view/thread_view.xml b/addons/hr_holidays/static/src/components/thread_view/thread_view.xml
index f5e0dce55d8..796dcfba651 100644
--- a/addons/hr_holidays/static/src/components/thread_view/thread_view.xml
+++ b/addons/hr_holidays/static/src/components/thread_view/thread_view.xml
@@ -2,8 +2,8 @@
<templates xml:space="preserve">
<t t-inherit="mail.ThreadView" t-inherit-mode="extension">
<xpath expr="//*[@name='loadingCondition']" position="before">
- <t t-if="threadView.thread.correspondent and threadView.thread.correspondent.out_of_office_date_end">
- <div class="o_ThreadView_outOfOffice alert alert-primary" t-esc="getOutOfOfficeText()" role="alert"/>
+ <t t-if="threadView.thread.correspondent and threadView.thread.correspondent.outOfOfficeText">
+ <div class="o_ThreadView_outOfOffice alert alert-primary" t-esc="threadView.thread.correspondent.outOfOfficeText" role="alert"/>
</t>
</xpath>
</t>