Skip to content

Commit a29b900

Browse files
authored
Merge pull request #3784 from ljain112/fix-exp-acc-field
fix: add company and is_group filter to "default_gst_expense_account" search query
2 parents 1f2d9f7 + e1f1c4f commit a29b900

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • india_compliance/gst_india/client_scripts

india_compliance/gst_india/client_scripts/company.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ frappe.ui.form.on(DOCTYPE, {
2222
"default_customs_payable_account",
2323
{ root_type: "Liability" },
2424
]);
25+
erpnext.company.set_custom_query(frm, [
26+
"default_gst_expense_account",
27+
{},
28+
]);
2529

2630
frm.set_query("print_label", "bank_details_for_printing", (_, cdt, cdn) => {
2731
return {

0 commit comments

Comments
 (0)