fix: Filter Depreciation Expense Account by root type

This commit is contained in:
GangaManoj 2021-11-17 04:57:40 +05:30
parent c00d0a3e24
commit aa34780265

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
}