mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-01 12:38:27 +00:00
Merge pull request #23166 from bhavesh95863/patch-8
fix: set company filter in condition
This commit is contained in:
@@ -132,6 +132,9 @@ def get_conditions(filters):
|
|||||||
if filters.get('employee'):
|
if filters.get('employee'):
|
||||||
conditions['name'] = filters.get('employee')
|
conditions['name'] = filters.get('employee')
|
||||||
|
|
||||||
|
if filters.get('company'):
|
||||||
|
conditions['company'] = filters.get('company')
|
||||||
|
|
||||||
return conditions
|
return conditions
|
||||||
|
|
||||||
def get_department_leave_approver_map(department=None):
|
def get_department_leave_approver_map(department=None):
|
||||||
|
|||||||
Reference in New Issue
Block a user