diff --git a/addons/hr_holidays/report/hr_leave_report.py b/addons/hr_holidays/report/hr_leave_report.py index b351f9c9470..ca4b81e9ce1 100644 --- a/addons/hr_holidays/report/hr_leave_report.py +++ b/addons/hr_holidays/report/hr_leave_report.py @@ -68,8 +68,8 @@ class LeaveReport(models.Model): allocation.holiday_status_id as holiday_status_id, allocation.state as state, allocation.holiday_type, - null as date_from, - null as date_to, + allocation.date_from as date_from, + allocation.date_to as date_to, 'allocation' as leave_type, allocation.employee_company_id as company_id from hr_leave_allocation as allocation diff --git a/addons/hr_holidays/report/hr_leave_reports.xml b/addons/hr_holidays/report/hr_leave_reports.xml index a3c9bed8601..be3af89183a 100644 --- a/addons/hr_holidays/report/hr_leave_reports.xml +++ b/addons/hr_holidays/report/hr_leave_reports.xml @@ -17,8 +17,7 @@ - +