perf: use `get_cached_value` instead of `db.get_value` in accounts module
diff --git a/erpnext/accounts/utils.py b/erpnext/accounts/utils.py
index d7bf991..e9ff1d9 100644
--- a/erpnext/accounts/utils.py
+++ b/erpnext/accounts/utils.py
@@ -975,7 +975,7 @@
 def create_payment_gateway_account(gateway, payment_channel="Email"):
 	from erpnext.setup.setup_wizard.operations.install_fixtures import create_bank_account
 
-	company = frappe.db.get_value("Global Defaults", None, "default_company")
+	company = frappe.get_cached_value("Global Defaults", None, "default_company")
 	if not company:
 		return