fix: Filter Depreciation Expense Account by root type

This commit is contained in:
GangaManoj
2021-11-17 04:57:40 +05:30
committed by Saqib Ansari
parent 334f22f453
commit 84952beed4

View File

@@ -33,7 +33,7 @@ frappe.ui.form.on('Asset Category', {
var d = locals[cdt][cdn];
return {
"filters": {
"root_type": "Expense",
"root_type": ["in", ["Expense", "Income"]],
"is_group": 0,
"company": d.company_name
}