fix(HR): Permission error while adding weekly holidays (#25450)
This commit is contained in:
parent
1b1c1bcbd0
commit
184317d5bd
@ -16,6 +16,7 @@ class HolidayList(Document):
|
||||
self.validate_days()
|
||||
self.total_holidays = len(self.holidays)
|
||||
|
||||
@frappe.whitelist()
|
||||
def get_weekly_off_dates(self):
|
||||
self.validate_values()
|
||||
date_list = self.get_weekly_off_date_list(self.from_date, self.to_date)
|
||||
|
Loading…
Reference in New Issue
Block a user