Update update_missing_salary_component_type.py
This commit is contained in:
parent
aa68058910
commit
7fc05d6432
@ -9,6 +9,8 @@ earnings or deductions in existing salary slips
|
|||||||
'''
|
'''
|
||||||
|
|
||||||
def execute():
|
def execute():
|
||||||
|
frappe.reload_doc("accounts", "doctype", "salary_component_account")
|
||||||
|
|
||||||
for s in frappe.db.sql('''select name, type, salary_component_abbr from `tabSalary Component`
|
for s in frappe.db.sql('''select name, type, salary_component_abbr from `tabSalary Component`
|
||||||
where ifnull(type, "")="" or ifnull(salary_component_abbr, "") = ""''', as_dict=1):
|
where ifnull(type, "")="" or ifnull(salary_component_abbr, "") = ""''', as_dict=1):
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user