[FIX] hr_holidays: remove useless boolean display on employee
Removes a useless boolean value on an employee smartbutton closes odoo/odoo#99694 Signed-off-by: Kevin Baptiste <kba@odoo.com>
This commit is contained in:
@@ -190,12 +190,12 @@
|
||||
<div attrs="{'invisible': [('hr_icon_display', '!=', 'presence_holiday_absent')]}" 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_date_to"/>
|
||||
</span>
|
||||
<span class="o_stat_text">
|
||||
Off Till
|
||||
</span>
|
||||
<span class="o_stat_value">
|
||||
<field name="leave_date_to"/>
|
||||
</span>
|
||||
</div>
|
||||
</button>
|
||||
<button name="action_time_off_dashboard"
|
||||
@@ -256,13 +256,12 @@
|
||||
<div attrs="{'invisible': [('hr_icon_display', '!=', 'presence_holiday_absent')]}" 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_date_to"/>
|
||||
</span>
|
||||
<span class="o_stat_text">
|
||||
Off Till
|
||||
</span>
|
||||
<t t-esc="hr_icon_display == 'presence_holiday_present'"/>
|
||||
<span class="o_stat_value">
|
||||
<field name="leave_date_to"/>
|
||||
</span>
|
||||
</div>
|
||||
</button>
|
||||
</xpath>
|
||||
@@ -306,12 +305,12 @@
|
||||
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_date_to"/>
|
||||
</span>
|
||||
<span class="o_stat_text">
|
||||
Off Till
|
||||
</span>
|
||||
<span class="o_stat_value">
|
||||
<field name="leave_date_to"/>
|
||||
</span>
|
||||
</div>
|
||||
</button>
|
||||
<button name="%(hr_leave_action_new_request)d"
|
||||
|
||||
Reference in New Issue
Block a user