chore: fix linter

This commit is contained in:
Saurabh
2023-04-26 15:44:34 +05:30
parent 83afaf48df
commit 31bda37970

View File

@@ -12,6 +12,7 @@ salary_slip = frappe.qb.DocType("Salary Slip")
salary_detail = frappe.qb.DocType("Salary Detail")
salary_component = frappe.qb.DocType("Salary Component")
def execute(filters=None):
if not filters:
filters = {}
@@ -260,6 +261,7 @@ def get_salary_components(salary_slips):
.distinct()
).run(as_list=True)
def get_salary_component_type(salary_component):
return frappe.db.get_value("Salary Component", salary_component, "type", cache=True)