Merge pull request #29280 from rohitwaghchaure/company-filter-issue-for-default-account

fix: accounts are coming from different company in the dropdown
This commit is contained in:
rohitwaghchaure 2022-01-13 21:11:55 +05:30 committed by GitHub
commit 388293dbea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -213,6 +213,9 @@ erpnext.company.setup_queries = function(frm) {
["default_payroll_payable_account", {"root_type": "Liability"}],
["round_off_account", {"root_type": "Expense"}],
["write_off_account", {"root_type": "Expense"}],
["default_deferred_expense_account", {}],
["default_deferred_revenue_account", {}],
["default_expense_claim_payable_account", {}],
["default_discount_account", {}],
["discount_allowed_account", {"root_type": "Expense"}],
["discount_received_account", {"root_type": "Income"}],