Earned Leave (#14143)

* Earned Leave Allocations will be initially zero, escaped validation in leave allocation to allow this

* Earned Leave monthly scheduler method, test

* remove whitelist of method
This commit is contained in:
Ranjith Kurungadam
2018-06-01 16:09:28 +05:30
committed by Nabin Hait
parent f9f35d0b76
commit 375db6181d
6 changed files with 105 additions and 47 deletions

View File

@@ -238,7 +238,8 @@ scheduler_events = {
"erpnext.assets.doctype.asset.asset.make_post_gl_entry"
],
"monthly": [
"erpnext.accounts.doctype.sales_invoice.sales_invoice.booked_deferred_revenue"
"erpnext.accounts.doctype.sales_invoice.sales_invoice.booked_deferred_revenue",
"erpnext.hr.utils.allocate_earned_leaves"
]
}