Merge pull request #23166 from bhavesh95863/patch-8

fix: set company filter in condition
This commit is contained in:
rohitwaghchaure 2020-08-26 12:57:06 +05:30 committed by GitHub
commit e950dcb32e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -132,6 +132,9 @@ def get_conditions(filters):
if filters.get('employee'):
conditions['name'] = filters.get('employee')
if filters.get('company'):
conditions['company'] = filters.get('company')
return conditions
def get_department_leave_approver_map(department=None):