Revert "fix: process allocation expiry"
This reverts commit b654dc0e288e3ecfdfbd0831c3ae15cc7036bb90.
This commit is contained in:
parent
dbc69da409
commit
42d0da8f5a
@ -95,6 +95,7 @@ def process_expired_allocation():
|
||||
'expire_carry_forwarded_leaves_after_days': (">", 0)
|
||||
}, fieldname=['name'])
|
||||
|
||||
if leave_type_records:
|
||||
leave_type = [record[0] for record in leave_type_records]
|
||||
|
||||
expired_allocation = frappe.db.sql_list("""SELECT name
|
||||
|
Loading…
x
Reference in New Issue
Block a user