diff --git a/erpnext/hr/doctype/salary_structure/salary_structure.js b/erpnext/hr/doctype/salary_structure/salary_structure.js index 9e62b6640e6..56f59929fcf 100755 --- a/erpnext/hr/doctype/salary_structure/salary_structure.js +++ b/erpnext/hr/doctype/salary_structure/salary_structure.js @@ -19,7 +19,9 @@ frappe.ui.form.on('Salary Structure', { frm.set_query("salary_component", "earnings", function() { return { filters: { - type: "earning" + type: "earning", + is_additional_component: 0, + is_group: 0 } } });