diff --git a/yuthon_hr_attendance/models/yuthon_vacation_reports.py b/yuthon_hr_attendance/models/yuthon_vacation_reports.py index f780afb1a..c0db69c17 100644 --- a/yuthon_hr_attendance/models/yuthon_vacation_reports.py +++ b/yuthon_hr_attendance/models/yuthon_vacation_reports.py @@ -341,9 +341,6 @@ class YuthonVacationReports(models.Model): self_overtime = rec.overtime_ids.filtered(lambda o: not o.workflow_record_id and o.text == '上月额度继承') self_overtime.workday = (rec.dynamic_previous_year1 + rec.this_year1) * 8 - self_meal = rec.meal_fee_ids.filtered(lambda o: not o.workflow_record_id and o.text == '上月额度继承') - self_meal.update_lines = rec.remain_missed_meals - # 如果上个月育儿假是0 删除明细 if rec.remaining_parental_leave == 0: self_parental_leave = rec.parenting_line_ids.filtered(lambda o: o.text == '上月额度继承')