Merge pull request #18853 from Mangesh-Khairnar/fix-allocation-expiry

fix: process allocation expiry
This commit is contained in:
Mangesh-Khairnar
2019-08-29 18:29:07 +05:30
committed by GitHub

View File

@@ -95,7 +95,6 @@ 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