mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-22 14:39:19 +00:00
Merge pull request #51467 from aerele/pcv-account-filter
fix: update filters on period closing voucher
This commit is contained in:
@@ -13,9 +13,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