mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 00:14:50 +00:00
fix: creating salary slip from timesheet (#24541)
This commit is contained in:
@@ -288,7 +288,7 @@ def make_sales_invoice(source_name, item_code=None, customer=None):
|
|||||||
def make_salary_slip(source_name, target_doc=None):
|
def make_salary_slip(source_name, target_doc=None):
|
||||||
target = frappe.new_doc("Salary Slip")
|
target = frappe.new_doc("Salary Slip")
|
||||||
set_missing_values(source_name, target)
|
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
|
return target
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user