fixed merge conflict

This commit is contained in:
Nabin Hait
2016-11-17 15:55:11 +05:30
15 changed files with 229 additions and 29 deletions

View File

@@ -9,6 +9,8 @@ earnings or deductions in existing salary slips
'''
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`
where ifnull(type, "")="" or ifnull(salary_component_abbr, "") = ""''', as_dict=1):
@@ -43,4 +45,4 @@ def execute():
component.salary_component_abbr = abbr
component.save()
component.save()