{
    "name": "Xenoptics HR Dashboard",
    "version": "19.0.1.14.0",
    "summary": "Admin/HR overview landing page for the HR app, ports XENHR's AdminDashboardPage",
    "description": """
Landing page for the custom "HR" app (alongside Leave List / Leave
Approval), styled after XENHR's AdminDashboardPage.tsx:

- Stat cards: Total Employees, Present Today, Absent Today, Pending Leaves
  (present/absent sourced from the same HRSystem SP -- app/GPS + biometric
  merged -- xeno_attendance's monthly report already uses, so the two
  screens can never disagree on who's "present").
- Weekly Attendance: present/absent bar chart, last 7 days.
- Employee Attendance Report: employees on approved/pending leave for a
  selected date, with prev/next-day navigation (same leave data as
  xeno_leave, formatted for the day rather than the month).
- Dashboard Calendar: month view overlaying public/company holidays
  (xeno_holidays), passport/visa/work-permit expiry, employee birthdays
  (recurring by month+day, not date-ranged like the others), and Company
  Activities (xeno.hr.activity, xeno_theme_slate) per employee, with a
  click-through day-detail panel.
- Today's Announcements: today's xeno.hr.announcement rows. Uses that
  model as it exists today (name/body/date/active only) -- XENHR's richer
  version (date range, all-day/time-window, audience, attachment) is
  tracked separately and not built here.
- Daily email (09:30 ICT, working days only), subject "Update of Today's
  staff attendance - <date>": the Employee Attendance Report table above,
  for today's date, emailed as an inline HTML table with its own layout
  (red header row, leave type colored by its own font color, greeting
  text, HR signature block) rather than matching the on-screen page's own
  styling 1:1. Recipients are hardcoded to two addresses for now (testing
  phase, see hr_dashboard_email.py).
""",
    "author": "Xenoptics",
    "license": "LGPL-3",
    "category": "Human Resources",
    "depends": ["xeno_leave", "xeno_attendance", "xeno_holidays", "xeno_theme_slate"],
    "data": [
        "security/ir.model.access.csv",
        "views/hr_dashboard_menu.xml",
        "data/ir_cron.xml",
    ],
    "assets": {
        "web.assets_backend": [
            "xeno_hr_dashboard/static/src/js/dashboard_action.js",
            "xeno_hr_dashboard/static/src/xml/dashboard_templates.xml",
            "xeno_hr_dashboard/static/src/scss/dashboard.scss",
        ],
    },
    "installable": True,
    "application": False,
}
