-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Leave policy assignment (#23112)
* feat: Leave Policy Assignment * feat: linking with leave allocation and valiations * style: removed old code from leave period * feat: Bulk Leave policy Assignment and grant Leaves * fix: overlap validation * feat: earned leaves based on joining date * feat: automatic grant leave based on leave policy * patch: create leave policy assignment based on employee current leave policy * fix: dependent test cases * test: Leave policy assignment * fix: some enhancement * style: break large function into small function * fix:requested Changes * fix(patch): Handled old Leave allocatioln * fix:codacy * fix: travis and sider,codacy * fix: codacy * fix: codacy * fix: requested changes and sider Co-authored-by: Nabin Hait <nabinhait@gmail.com>
- Loading branch information
Showing
21 changed files
with
899 additions
and
414 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,167 +1,69 @@ | ||
{ | ||
"allow_copy": 0, | ||
"allow_guest_to_view": 0, | ||
"allow_import": 1, | ||
"allow_rename": 1, | ||
"autoname": "Prompt", | ||
"beta": 0, | ||
"creation": "2018-04-13 16:14:24.174138", | ||
"custom": 0, | ||
"docstatus": 0, | ||
"doctype": "DocType", | ||
"document_type": "", | ||
"editable_grid": 1, | ||
"engine": "InnoDB", | ||
"actions": [], | ||
"allow_import": 1, | ||
"allow_rename": 1, | ||
"autoname": "Prompt", | ||
"creation": "2018-04-13 16:14:24.174138", | ||
"doctype": "DocType", | ||
"editable_grid": 1, | ||
"engine": "InnoDB", | ||
"field_order": [ | ||
"default_salary_structure" | ||
], | ||
"fields": [ | ||
{ | ||
"allow_bulk_edit": 0, | ||
"allow_in_quick_entry": 0, | ||
"allow_on_submit": 0, | ||
"bold": 0, | ||
"collapsible": 0, | ||
"columns": 0, | ||
"fieldname": "default_leave_policy", | ||
"fieldtype": "Link", | ||
"hidden": 0, | ||
"ignore_user_permissions": 0, | ||
"ignore_xss_filter": 0, | ||
"in_filter": 0, | ||
"in_global_search": 0, | ||
"in_list_view": 0, | ||
"in_standard_filter": 0, | ||
"label": "Default Leave Policy", | ||
"length": 0, | ||
"no_copy": 0, | ||
"options": "Leave Policy", | ||
"permlevel": 0, | ||
"precision": "", | ||
"print_hide": 0, | ||
"print_hide_if_no_value": 0, | ||
"read_only": 0, | ||
"remember_last_selected_value": 0, | ||
"report_hide": 0, | ||
"reqd": 0, | ||
"search_index": 0, | ||
"set_only_once": 0, | ||
"translatable": 0, | ||
"unique": 0 | ||
}, | ||
{ | ||
"allow_bulk_edit": 0, | ||
"allow_in_quick_entry": 0, | ||
"allow_on_submit": 0, | ||
"bold": 0, | ||
"collapsible": 0, | ||
"columns": 0, | ||
"fieldname": "default_salary_structure", | ||
"fieldtype": "Link", | ||
"hidden": 0, | ||
"ignore_user_permissions": 0, | ||
"ignore_xss_filter": 0, | ||
"in_filter": 0, | ||
"in_global_search": 0, | ||
"in_list_view": 0, | ||
"in_standard_filter": 0, | ||
"label": "Default Salary Structure", | ||
"length": 0, | ||
"no_copy": 0, | ||
"options": "Salary Structure", | ||
"permlevel": 0, | ||
"precision": "", | ||
"print_hide": 0, | ||
"print_hide_if_no_value": 0, | ||
"read_only": 0, | ||
"remember_last_selected_value": 0, | ||
"report_hide": 0, | ||
"reqd": 0, | ||
"search_index": 0, | ||
"set_only_once": 0, | ||
"translatable": 0, | ||
"unique": 0 | ||
"options": "Salary Structure" | ||
} | ||
], | ||
"has_web_view": 0, | ||
"hide_heading": 0, | ||
"hide_toolbar": 0, | ||
"idx": 0, | ||
"image_view": 0, | ||
"in_create": 0, | ||
"is_submittable": 0, | ||
"issingle": 0, | ||
"istable": 0, | ||
"max_attachments": 0, | ||
"modified": "2018-09-18 17:17:45.617624", | ||
"index_web_pages_for_search": 1, | ||
"links": [], | ||
"modified": "2020-08-26 13:12:07.815330", | ||
"modified_by": "Administrator", | ||
"module": "HR", | ||
"name": "Employee Grade", | ||
"name_case": "", | ||
"owner": "Administrator", | ||
"permissions": [ | ||
{ | ||
"amend": 0, | ||
"cancel": 0, | ||
"create": 1, | ||
"delete": 1, | ||
"email": 1, | ||
"export": 1, | ||
"if_owner": 0, | ||
"import": 0, | ||
"permlevel": 0, | ||
"print": 1, | ||
"read": 1, | ||
"report": 1, | ||
"role": "System Manager", | ||
"set_user_permissions": 0, | ||
"share": 1, | ||
"submit": 0, | ||
"write": 1 | ||
}, | ||
{ | ||
"amend": 0, | ||
"cancel": 0, | ||
"create": 1, | ||
"delete": 1, | ||
"email": 1, | ||
"export": 1, | ||
"if_owner": 0, | ||
"import": 0, | ||
"permlevel": 0, | ||
"print": 1, | ||
"read": 1, | ||
"report": 1, | ||
"role": "HR Manager", | ||
"set_user_permissions": 0, | ||
"share": 1, | ||
"submit": 0, | ||
"write": 1 | ||
}, | ||
{ | ||
"amend": 0, | ||
"cancel": 0, | ||
"create": 1, | ||
"delete": 1, | ||
"email": 1, | ||
"export": 1, | ||
"if_owner": 0, | ||
"import": 0, | ||
"permlevel": 0, | ||
"print": 1, | ||
"read": 1, | ||
"report": 1, | ||
"role": "HR User", | ||
"set_user_permissions": 0, | ||
"share": 1, | ||
"submit": 0, | ||
"write": 1 | ||
} | ||
], | ||
"quick_entry": 0, | ||
"read_only": 0, | ||
"read_only_onload": 0, | ||
"show_name_in_global_search": 0, | ||
"sort_field": "modified", | ||
"sort_order": "DESC", | ||
"track_changes": 1, | ||
"track_seen": 0, | ||
"track_views": 0 | ||
"track_changes": 1 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.