diff options
| author | Alexandre Kühn <aku@odoo.com> | 2019-11-29 13:52:10 +0000 |
|---|---|---|
| committer | Alexandre Kühn <aku@odoo.com> | 2019-11-29 14:16:00 +0000 |
| commit | 4876dd7906a7a96c7e782638a1cb04ee44923e7d (patch) | |
| tree | f1b77e514b3140dd98476ff2233ecaeedb04b373 /addons/hr_holidays/views | |
| parent | 72386a4832db2568aad2843db7ecee2abae30d04 (diff) | |
[REV] hr_holidays: consecutive leave date on out of office message
This reverts commit 802817c92586f87ef6dd431011d8a9615eb4df8c.
The new test was crashing when current weekday is Friday.
This is easy to fix, but some other considerations are missing in
the original commit, like taking into account timezones.
We will add a proper fix later, and revert now in the meantime.
closes odoo/odoo#41123
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Diffstat (limited to 'addons/hr_holidays/views')
| -rw-r--r-- | addons/hr_holidays/views/hr_views.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/hr_holidays/views/hr_views.xml b/addons/hr_holidays/views/hr_views.xml index 55cc4bd2df5..10e47291c4f 100644 --- a/addons/hr_holidays/views/hr_views.xml +++ b/addons/hr_holidays/views/hr_views.xml @@ -154,7 +154,7 @@ <div role="img" class="fa fa-fw fa-plane o_button_icon text-danger" aria-label="Off Till" title="Off Till"/> <div class="o_field_widget o_stat_info"> <span class="o_stat_value"> - <field name="leave_consolidated_date_to"/> + <field name="leave_date_to"/> </span> <span class="o_stat_text"> Off Till @@ -211,7 +211,7 @@ <div role="img" class="fa fa-fw fa-plane o_button_icon text-warning" aria-label="Off Till" title="Off Till"/> <div class="o_field_widget o_stat_info"> <span class="o_stat_value"> - <field name="leave_consolidated_date_to"/> + <field name="leave_date_to"/> </span> <span class="o_stat_text"> Off Till @@ -251,7 +251,7 @@ <div role="img" class="fa fa-fw fa-plane o_button_icon text-danger" aria-label="Off Till" title="Off Till"/> <div class="o_field_widget o_stat_info"> <span class="o_stat_value"> - <field name="leave_consolidated_date_to"/> + <field name="leave_date_to"/> </span> <span class="o_stat_text"> Off Till |
