diff --git a/yuthon_holiday/models/inherit_hr_leave_allocation.py b/yuthon_holiday/models/inherit_hr_leave_allocation.py index 785bca415..d2744f5c6 100644 --- a/yuthon_holiday/models/inherit_hr_leave_allocation.py +++ b/yuthon_holiday/models/inherit_hr_leave_allocation.py @@ -226,6 +226,7 @@ class HrLeaveAllocation(models.Model): reports_id.write({'leave_ids': leave_list}) reports_id.write({'overtime_ids': compensatory_list}) reports_id.write({'other_fee_ids': other_list}) + # def allocation_date(self): # date = datetime(2025, 1, 1) # leave_id = self.env['hr.leave.allocation'].search([])