fix: update filters on period closing voucher

(cherry picked from commit 7ab1e1f677)
This commit is contained in:
SowmyaArunachalam
2026-01-03 14:15:03 +05:30
committed by Mergify
parent 478992812f
commit 6499a1dae0

View File

@@ -11,9 +11,9 @@ frappe.ui.form.on("Period Closing Voucher", {
return { return {
filters: [ filters: [
["Account", "company", "=", frm.doc.company], ["Account", "company", "=", frm.doc.company],
["Account", "is_group", "=", "0"], ["Account", "is_group", "=", 0],
["Account", "freeze_account", "=", "No"], ["Account", "freeze_account", "=", "No"],
["Account", "root_type", "in", "Liability, Equity"], ["Account", "root_type", "in", ["Liability", "Equity"]],
], ],
}; };
}); });