{
    "name": "Xenoptics Employee Module Access",
    "version": "19.0.1.1.0",
    "summary": "Per-employee/per-group self-service module access, mirrors XENHR's System Access page",
    "description": """
Config-only first pass (enforcement wired in separately): ports XENHR's
System Access page, which lets HR control which self-service modules
(Attendance, Leave, and whatever else gets added) each employee can use.

Access resolves the same way as XENHR: group-granted OR individually
granted. Group grant always wins -- the individual toggle is disabled
whenever a tag already grants the module, matching XENHR's
"group-granted access cannot be overridden here" rule.

- xeno.hr.module: the admin-managed module list (name + active), seeded
  with the two modules XENHR actually enforces today (Attendance, Leave).
- Employee Group = Odoo's native hr.employee.category ("Tags"), extended
  with a module_ids field instead of a new parallel model -- employees
  already get tagged via the Tags field on their own form.
- xeno.employee.module.access: the per-employee individual override.
- hr.employee._xeno_has_module_access(module_name): the single resolution
  point (group OR individual OR HR/Admin bypass) other modules should call
  once enforcement is wired in.
""",
    "author": "Xenoptics",
    "license": "LGPL-3",
    "category": "Human Resources",
    "depends": ["hr", "xeno_leave"],
    "data": [
        "security/ir.model.access.csv",
        "data/hr_module_data.xml",
        "views/hr_module_views.xml",
        "views/hr_employee_category_views.xml",
        "views/employee_module_access_views.xml",
        "views/hr_employee_views.xml",
        "views/hr_app_menu_shortcuts.xml",
    ],
    "installable": True,
    "application": False,
}
