添加功能

This commit is contained in:
李鹏宇
2026-03-26 11:11:23 +08:00
parent 86aaa1a70f
commit bb0a94a2ba
+1 -1
View File
@@ -197,7 +197,7 @@ class GoApprovals(models.Model):
# 3.1 查询当月的vacation_reports记录
reports_id = self.env['yuthon.vacation.reports'].search([
('employee_id', '=', self.users_id.employee_id.id),
('employee_id', '=', self.users_id.employee_ids.id),
('vacation_date', '=', month_first)
], limit=1)