fix: test cases
diff --git a/erpnext/stock/doctype/stock_reconciliation/test_stock_reconciliation.py b/erpnext/stock/doctype/stock_reconciliation/test_stock_reconciliation.py
index 4e76ae7..7b984d3 100644
--- a/erpnext/stock/doctype/stock_reconciliation/test_stock_reconciliation.py
+++ b/erpnext/stock/doctype/stock_reconciliation/test_stock_reconciliation.py
@@ -729,15 +729,19 @@
sr.expense_account = args.expense_account or (
(
frappe.get_cached_value("Company", sr.company, "stock_adjustment_account")
- or "Stock Adjustment - _TC"
+ or frappe.get_cached_value(
+ "Account", {"account_type": "Stock Adjustment", "company": sr.company}, "name"
+ )
)
if frappe.get_all("Stock Ledger Entry", {"company": sr.company})
- else "Temporary Opening - _TC"
+ else frappe.get_cached_value(
+ "Account", {"account_type": "Temporary", "company": sr.company}, "name"
+ )
)
sr.cost_center = (
args.cost_center
or frappe.get_cached_value("Company", sr.company, "cost_center")
- or "_Test Cost Center - _TC"
+ or frappe.get_cached_value("Cost Center", filters={"is_group": 0, "company": sr.company})
)
sr.append(