From 0362de05a67f75c92daff1d50de2d382617cf009 Mon Sep 17 00:00:00 2001 From: Bakry Date: Sun, 28 Sep 2025 13:14:42 +0300 Subject: [PATCH] fix report mission add especially_hours --- odex25_hr/hr_base_reports/report/mission_report.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/odex25_hr/hr_base_reports/report/mission_report.py b/odex25_hr/hr_base_reports/report/mission_report.py index a644fe516..17560daec 100644 --- a/odex25_hr/hr_base_reports/report/mission_report.py +++ b/odex25_hr/hr_base_reports/report/mission_report.py @@ -29,7 +29,7 @@ class EmployeeMissionReport(models.AbstractModel): if form['mission_type']: day_case += [('mission_type', '=', form['mission_type'][0])] day_case += [('employee_ids.employee_id', 'in', employees.ids), ('state', 'not in', ['draft', 'refused']), - ('process_type', '=', 'mission'), '|', + ('process_type', 'in', ('mission','especially_hours')), '|', '|'] + clause_1 + clause_2 + clause_3 day = self.env['hr.official.mission'].sudo().search(day_case) day_mission = day.sorted(key=lambda r: r.department_id.id)