fix: creating salary slip from timesheet (#24541)

This commit is contained in:
Afshan 2021-02-05 11:34:55 +05:30 committed by GitHub
parent eff675f45b
commit b814b002ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -288,7 +288,7 @@ def make_sales_invoice(source_name, item_code=None, customer=None):
def make_salary_slip(source_name, target_doc=None):
target = frappe.new_doc("Salary Slip")
set_missing_values(source_name, target)
target.run_method("get_emp_and_leave_details")
target.run_method("get_emp_and_working_day_details")
return target