Revert "fix: process allocation expiry"

This reverts commit b654dc0e288e3ecfdfbd0831c3ae15cc7036bb90.
This commit is contained in:
Mangesh-Khairnar 2019-08-31 14:28:10 +05:30
parent dbc69da409
commit 42d0da8f5a

View File

@ -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