Skip to content

Commit

Permalink
fix: specify doctype in employee query (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
rtdany10 authored Oct 14, 2022
1 parent 2f6186f commit dca7ff0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hrms/payroll/doctype/payroll_entry/payroll_entry.py
Original file line number Diff line number Diff line change
Expand Up @@ -1010,6 +1010,7 @@ def employee_query(doctype, txt, searchfield, start, page_len, filters):
conditions = []
include_employees = []
emp_cond = ""
doctype = "Employee"

if not filters.payroll_frequency:
frappe.throw(_("Select Payroll Frequency."))
Expand Down

0 comments on commit dca7ff0

Please sign in to comment.