From 7b56ba26397277a13a9f67480c4114dfeafb0960 Mon Sep 17 00:00:00 2001 From: pengyuthon Date: Tue, 14 Oct 2025 00:09:40 +0800 Subject: [PATCH] 1 --- .../data/attendance_month_date.xml | 24 +++++++++---------- .../wizard/property_rental_wizard.py | 1 - 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/yuthon_hr_attendance/data/attendance_month_date.xml b/yuthon_hr_attendance/data/attendance_month_date.xml index 54380a6ce..08708ea0e 100644 --- a/yuthon_hr_attendance/data/attendance_month_date.xml +++ b/yuthon_hr_attendance/data/attendance_month_date.xml @@ -42,17 +42,17 @@ - - 每天生成出勤数据 - - code - model.create_attendance_data_holiday() - - - 1 - days - -1 - - + + + + + + + + + + + + diff --git a/yuthon_property_approval/wizard/property_rental_wizard.py b/yuthon_property_approval/wizard/property_rental_wizard.py index b63a6a9b4..098bd3df7 100644 --- a/yuthon_property_approval/wizard/property_rental_wizard.py +++ b/yuthon_property_approval/wizard/property_rental_wizard.py @@ -170,7 +170,6 @@ class PropertyRentalWizard(models.Model): records = self.env['property.lease.contract'].search([ ('actual_start_time', '<', next_month_first_day), ('actual_end_time', '>=', first_day), - ('contract_code', '=', '租(2025)001') ]) for record in records: