添加功能

This commit is contained in:
李鹏宇
2026-02-04 11:08:25 +08:00
parent d99c517569
commit 3b269cf7f6
@@ -1173,7 +1173,7 @@ class YuthonVacationReports(models.Model):
rec.vacation_state = 'confirmed'
def monthly_report(self):
fixed_date = date(2026, 2, 1)
fixed_date = date(2026, 1, 1)
current_month_first = fixed_date
employees = self.env['hr.employee'].search([
('user_state', '=', 'in')