[IMP] hr_holiday: show absent employee in dashboard

This commit is contained in:
rmu-odoo
2016-03-23 10:55:37 +01:00
committed by David Monjoie
parent c01f5758b0
commit f1e4402b6a
+8 -1
View File
@@ -38,7 +38,14 @@
<xpath expr="//div[contains(@class, 'o_kanban_primary_right')]" position="after">
<div class="col-xs-12 o_kanban_primary_bottom">
<field name="absence_of_today" widget="progress" title="Absence" options="{'current_value': 'absence_of_today', 'max_value': 'total_employee', 'editable': false}"/>
<div class="row">
<div class="col-xs-3">
<a name="%(hr_employee_action_from_department)d" type="action" title="Absent Employee(s), Whose leaves request are either confirmed or validated on today">Absence</a>
</div>
<div class="col-xs-9">
<field name="absence_of_today" widget="progress" options="{'current_value': 'absence_of_today', 'max_value': 'total_employee', 'editable': false}"/>
</div>
</div>
</div>
</xpath>