oca-ocb-hr/odoo-bringout-oca-ocb-hr_holidays/doc/REPORTS.md
2025-08-29 15:20:50 +02:00

41 lines
1.2 KiB
Markdown

# Reports
Report definitions and templates in hr_holidays.
```mermaid
classDiagram
class LeaveReport
Model <|-- LeaveReport
class HrHolidaySummaryReport
AbstractModel <|-- HrHolidaySummaryReport
class LeaveReportCalendar
Model <|-- LeaveReportCalendar
class LeaveReport
Model <|-- LeaveReport
```
## Available Reports
### PDF/Document Reports
- **Time Off Summary** (PDF/Print)
- **Time Off Summary** (PDF/Print)
## Report Files
- **holidays_summary_report.py** (Python logic)
- **hr_holidays_reports.xml** (XML template/definition)
- **hr_holidays_templates.xml** (XML template/definition)
- **hr_leave_employee_type_report.py** (Python logic)
- **hr_leave_employee_type_report.xml** (XML template/definition)
- **hr_leave_report_calendar.py** (Python logic)
- **hr_leave_report_calendar.xml** (XML template/definition)
- **hr_leave_report.py** (Python logic)
- **hr_leave_reports.xml** (XML template/definition)
- **__init__.py** (Python logic)
## Notes
- Named reports above are accessible through Odoo's reporting menu
- Python files define report logic and data processing
- XML files contain report templates, definitions, and formatting
- Reports are integrated with Odoo's printing and email systems