| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Attendances (hr_attendance)
• Employees (hr) • Time Off (hr_holidays) • Discuss (mail) • Calendar (calendar) |
| Lines of code | 4611 |
| Technical Name |
wr_attendance_leave_dashboard |
| License | LGPL-3 |
| Website | https://www.webrulersinfotech.com |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Attendances (hr_attendance)
• Employees (hr) • Time Off (hr_holidays) • Discuss (mail) • Calendar (calendar) |
| Lines of code | 4611 |
| Technical Name |
wr_attendance_leave_dashboard |
| License | LGPL-3 |
| Website | https://www.webrulersinfotech.com |
Attendance / Leave Dashboard
A unified HR dashboard —colour-coded monthly attendance calendar, leave summary table, inline record management, and Excel export, all in one screen.
Dashboard at a Glance
| 1 | Dual-Tab Navigation —Switch between the Attendance calendar grid and the Leave Summary table with a single click. | 2 |
Export to Excel —Downloads a colour-coded
.xlsx file that mirrors the current view with all
active filters applied (department, employee, status, date range).
|
| 3 | Clickable Status Legend —Click any badge (P Present / A Absent / L Leave / H Holiday / W Weekend) to highlight only those days across all employees. Click again to clear. | 4 | Month & Year Stepper —Navigate to any month from 2023 to today using the left/right chevron buttons. Automatically disabled when a custom date range is active. |
| 5 | Custom Date Range —Pick any From →To range to view attendance across an arbitrary period, overriding the month/year stepper entirely. | 6 | Department Filter —Live-search dropdown to scope the grid to a specific department. Auto-locked for team managers who belong to a single department. |
| 7 | Employee Search —Narrow the grid to a single employee by typing their name. Results are scoped to the active department and the logged-in user's access level. | 8 | Employee Card —Shows avatar, full name, and department. Click the avatar or name to open the employee profile in a read-only dialog without leaving the dashboard. |
| 9 | Per-Employee Summary Badges —P / A / L / H counts for the selected period displayed as coloured badges. Clicking a badge filters that specific employee's row to show only days of that status. | 10 | Calendar Grid —Each column is a calendar day showing the day number and short weekday name. Cells are colour-coded by attendance status for instant visual scanning across the entire workforce. |
| 11 | Clickable Cells —Every cell is interactive. Present opens the Attendance Details dialog (view / edit / delete); Leave opens the Leave dialog; Absent opens a new attendance form pre-filled with employee + date; Holiday / Weekend shows an info popup. | 12 | Pagination —Displays 15 employees per page with full page info and smart navigation controls. Works independently for both the Attendance and Leave Summary tabs. |
Features
-
Dual-tab dashboard —two dedicated views accessible from a top tab bar:
- Attendance tab — a scrollable monthly calendar grid showing every employee as a row and every calendar day as a column. Each cell is colour-coded by status.
- Leave Summary tab — a paginated table listing all leave requests per employee, with columns for Leave Type, From, To, Days, Reason, and a colour-coded Status badge.
-
Five attendance status indicators —each cell in the calendar grid is assigned one of:
- P —Present (green): employee has an attendance check-in record for that day.
- A —Absent (red): working day with no attendance record and no approved leave.
- L —Leave (yellow): employee has a validated leave request covering that day.
- H —Holiday (teal): public holiday defined in the company's resource calendar.
- W —Weekend (grey): non-working day per the employee's individual work schedule.
-
Role-based access control —three tiers:
- Administrator —sees all departments and all employees; can create, edit, and delete attendance records.
- Own / Team Access –Edit —sees their own team (subordinates); can edit attendance records.
- Own / Team Access –View —sees their own team in read-only mode.
-
Flexible filtering panel —a collapsible filter bar provides:
- Month / Year stepper —navigate to any month from 2023 to the current date using left/right chevron buttons.
- Custom date range —optional From/To date pickers that override the month stepper and display an arbitrary date window.
- Department search —live-search dropdown with auto-lock: non-admin users who belong to a single department have it pre-selected and locked.
- Employee search —live-search dropdown filtered by the active department, respecting access-level restrictions.
-
Status legend filters and per-employee row filters — clicking a legend badge (Present / Absent / Leave / Holiday / Weekend) at the top of the attendance tab highlights only cells of that status across all employees, dimming the rest. Clicking the summary badges (P-A-L-H-W) on a specific employee row highlights only that employee's days of that status, independent of the global filter.
-
Clickable cells with detail dialogs:
- Present cell →Attendance Details Dialog: shows check-in time, check-out time, worked hours, and validated overtime. Authorised users can edit, check out, or delete the record directly from the dialog.
- Leave cell →Leave Details Dialog: shows leave type, date range, number of days, reason, and approval status. A button opens the full leave form (editable if authorised).
- Holiday cell →Holiday Details Dialog: shows the public holiday name, date range, and the resource calendar it belongs to.
- Weekend cell →Week Off popup: displays the employee name and date as a simple confirmation.
- Absent cell (admin/edit only) →opens a blank Attendance form pre-filled with the employee and the clicked date, with check-in defaulting to 08:00.
-
Inline attendance record management —create, edit, and delete attendance records without leaving the dashboard. All create/edit operations enforce a month-boundary validation: check-in and check-out dates must fall within the currently selected month, preventing accidental cross-month entries. The dashboard refreshes automatically after any change.
-
Export to Excel —the Export button generates a styled
.xlsxfile that mirrors the current dashboard view:- Title row with period label (month/year or custom date range).
- Header row with day-number and short weekday name for each date column.
- Per-employee data rows with colour-coded status cells (green, red, yellow, teal, grey).
- Summary columns (P / A / L / H counts) appended at the right.
- Frozen panes for comfortable horizontal scrolling on large date ranges.
- Respects all active filters: department, employee, status filter, and date range.
-
Work-calendar-aware logic —the dashboard reads each employee's individual resource work calendar (falling back to the company default) to correctly distinguish working days from weekends. Public holidays are sourced from
resource.calendar.leavesand can be calendar-specific or global. -
Timezone-aware date handling —all UTC datetime values (attendance check-ins, leave dates, holiday boundaries) are converted to the logged-in user's configured timezone before being assigned to calendar days, ensuring correct display for globally distributed teams.
-
Pagination on both tabs —both the Attendance grid and the Leave Summary table display 15 employees per page with smart pagination controls (previous / next buttons, numbered pages, ellipsis for large sets).
-
Employee profile quick-view —clicking any employee's avatar or name in either tab opens the employee form in a read-only dialog, without navigating away from the dashboard.
-
Leave Summary —click-through to leave form —each row in the Leave Summary table is clickable and opens the full
hr.leaveform. Administrators and editors open it in edit mode; viewers open it read-only. The Leave Summary refreshes automatically after the form is closed. -
Responsive design —a dedicated
responsive.cssstylesheet adapts the dashboard layout for tablet and mobile screen sizes.
How to Use
-
After installing the module, open the Attendance or Time Off app menu. A new Attendance / Leave Dashboard menu item will be available. Click it to open the dashboard.
-
Use the Filters toggle bar to expand the filter panel. Select a month and year using the stepper controls, or pick a custom date range. Optionally narrow results by department or employee using the live-search dropdowns.
-
Click any status badge in the legend row (P / A / L / H / W) to highlight only days of that status for all employees. Click it again to clear the filter. Click the per-employee summary badges (e.g. A-3) to highlight only absent days for that specific employee.
-
Click any coloured cell to open the corresponding detail dialog. From the Attendance Details dialog, authorised users can edit the check-in / check-out time, record a check-out, or delete the record. Clicking an Absent cell opens a new attendance form pre-filled with the employee and date.
-
Switch to the Leave Summary tab to see all leave requests for the selected period. Click any row to open the leave form. The same filter panel (month, year, date range, department, employee) applies to this tab independently.
-
Click Export to Excel at any time to download a colour-coded
.xlsxfile that reflects the current Attendance tab filters and visible data. -
To control which users can see or edit data, go to Settings > Users & Companies > Users, open a user record, and assign one of the three groups under Attendance / Leave Dashboard: Own / Team Access –View, Own / Team Access –Edit, or Administrator.
Also Useful For
Other Services
-
At WebRulers, we pride ourselves on offering a wide range of services to our clients. In addition to our core offerings, we are also experts in the following areas:
- Django, Flask and FastAPI Web/API Development: Our team is highly skilled in using these frameworks to create efficient and robust web applications that meet the unique needs of our clients.
- Android Mobile Application Development: We have extensive experience in developing high-performance mobile applications for the Android platform. Our apps are designed to provide a seamless user experience and meet the specific needs of our clients.
We are always looking for new and exciting challenges, and we are confident that our expertise in these areas will allow us to deliver outstanding results for our clients. If you have any project or requirement related to any of these services, please feel free to contact us to discuss further.
Contact us for Support / Query / Customization
Website:
- https://www.webrulersinfotech.com
Please log in to comment on this module