From cb14eb9718ec9398f7b05292fa1603a30005fa7e Mon Sep 17 00:00:00 2001 From: Elouan Le Bars Date: Fri, 31 Jan 2020 16:40:41 +0100 Subject: [PATCH] fixup! [FIX] b_shift : email_template_non_attendance --- beesdoo_shift/data/mail_template.xml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/beesdoo_shift/data/mail_template.xml b/beesdoo_shift/data/mail_template.xml index ae6cc2a..fdcc910 100644 --- a/beesdoo_shift/data/mail_template.xml +++ b/beesdoo_shift/data/mail_template.xml @@ -37,9 +37,13 @@ % endif % if object.worker_id.working_mode == 'irregular': - Your shift counter is at ${object.worker_id.cooperative_status_ids.sr} and should - be superior or equal to 1 before the - ${object.worker_id.cooperative_status_ids.future_alert_date}.
+ Your shift counter is at ${object.worker_id.cooperative_status_ids.sr}. + + % if object.worker_id.cooperative_status_ids.future_alert_date: + It should be superior or equal to 1 before the + ${object.worker_id.cooperative_status_ids.future_alert_date}. + % endif +
% endif % if object.replaced_id: