Skip to content

Commit 77794bf

Browse files
authored
Merge pull request #3785 from resilient-tech/mergify/bp/version-14-hotfix/pr-3784
fix: add company and is_group filter to "default_gst_expense_account" search query (backport #3784)
2 parents 2f04e89 + c58a5ae commit 77794bf

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

  • india_compliance/gst_india/client_scripts

india_compliance/gst_india/client_scripts/company.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ frappe.ui.form.on(DOCTYPE, {
1919
"default_customs_payable_account",
2020
{ root_type: "Liability" },
2121
]);
22+
23+
erpnext.company.set_custom_query(frm, [
24+
"default_gst_expense_account",
25+
{},
26+
]);
2227
},
2328

2429
make_default_tax_template: function (frm) {

0 commit comments

Comments
 (0)