!9224 添加功能

Merge pull request !9224 from 李鹏宇/dev_zhou
This commit is contained in:
李鹏宇
2026-03-04 04:05:00 +00:00
committed by Gitee
+1 -1
View File
@@ -48,7 +48,7 @@ class CardApprovals(models.Model):
('vacation_date', '=', vacation_date),
], limit=1)
if vacation_report:
vacation_report.vacation_date()
vacation_report._compute_number_card()
self.number_cards_replaced = vacation_report.number_card