diff --git a/yuthon_hr_attendance/models/yuthon_vacation_reports.py b/yuthon_hr_attendance/models/yuthon_vacation_reports.py index 231ef9187..b49e4aac2 100644 --- a/yuthon_hr_attendance/models/yuthon_vacation_reports.py +++ b/yuthon_hr_attendance/models/yuthon_vacation_reports.py @@ -113,7 +113,7 @@ class YuthonVacationReports(models.Model): default='not_sent') @api.depends('vacation_date', 'employee_id') - def compute_number_card(self): + def _compute_number_card(self): for record in self: count = 0 if not record.employee_id or not record.vacation_date: