@@ -192,6 +192,8 @@ class YuthonVacationReports(models.Model):
|
||||
rec.update_line()
|
||||
|
||||
def update_line(self):
|
||||
if self.vacation_date == fields.Date.from_string('2026-01-01'):
|
||||
return
|
||||
self.manage_reject()
|
||||
# ========== 第一步:处理年假逻辑 ==========
|
||||
for rec in self:
|
||||
|
||||
Reference in New Issue
Block a user