From 72f7235c18c391ccd2526566579b6de6c9ea0864 Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Fri, 2 Feb 2018 11:51:50 +0100 Subject: [PATCH] Avoid the use of > and < in the text of mail templates, because it is converted to >/< in translations, even when inside code --- hr_holidays_usability/hr_holidays_mail.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hr_holidays_usability/hr_holidays_mail.xml b/hr_holidays_usability/hr_holidays_mail.xml index 4e48540..210b038 100644 --- a/hr_holidays_usability/hr_holidays_mail.xml +++ b/hr_holidays_usability/hr_holidays_mail.xml @@ -29,7 +29,7 @@
  • Start date : ${object.vacation_date_from or ''} ${object.vacation_time_from or ''}
  • End date : ${object.vacation_date_to or ''} ${object.vacation_time_to or ''}
  • % endif -
  • Number of days : ${object.number_of_days < 0 and object.number_of_days * -1 or object.number_of_days}
  • +
  • Number of days : ${abs(object.number_of_days)}
  • Leave type : ${object.holiday_status_id.name or ''}
  • Public title : ${object.name or ''}
  • Notes for the manager : ${object.notes or ''}
  • @@ -37,9 +37,9 @@ % if ctx.get('new_holiday_state') == 'submitted': % if object.type == 'remove': -

    To validate or refuse it, go to the menu Leaves > Leaves to Approve > Leaves.

    +

    To validate or refuse it, go to the menu Leaves / Leaves to Approve / Leaves.

    % else: -

    To validate or refuse it, go to the menu Leaves > Leaves to Approve > Leaves Allocation.

    +

    To validate or refuse it, go to the menu Leaves / Leaves to Approve / Leaves Allocation.

    % endif % endif