mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-27 16:45:03 +00:00
fix: update filters on period closing voucher
(cherry picked from commit 7ab1e1f677)
This commit is contained in:
committed by
Mergify
parent
478992812f
commit
6499a1dae0
@@ -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"]],
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user