mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-19 21:19:19 +00:00
Merge pull request #6216 from rohitwaghchaure/update_component_patch_fix
[Patch] Fixed error unknown column 'type' in 'field list'
This commit is contained in:
@@ -2,6 +2,7 @@ import frappe
|
|||||||
from frappe.utils import flt
|
from frappe.utils import flt
|
||||||
|
|
||||||
def execute():
|
def execute():
|
||||||
|
frappe.reload_doc('hr', 'doctype', 'salary_component')
|
||||||
sal_components = frappe.db.sql("""
|
sal_components = frappe.db.sql("""
|
||||||
select DISTINCT salary_component, parentfield from `tabSalary Detail`""", as_dict=True)
|
select DISTINCT salary_component, parentfield from `tabSalary Detail`""", as_dict=True)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user