refactor(test): set dependant value in company master

(cherry picked from commit 299e141cee)
This commit is contained in:
ruthra kumar
2026-04-15 12:29:29 +05:30
committed by Mergify
parent 47e78bd4b9
commit 6cc560a579

View File

@@ -203,6 +203,11 @@ class TestRepostAccountingLedger(ERPNextTestSuite):
def test_06_repost_purchase_receipt(self):
from erpnext.accounts.doctype.account.test_account import create_account
if not frappe.db.set_value("Company", "_Test Company", "service_expense_account"):
frappe.db.set_value(
"Company", "_Test Company", "service_expense_account", "Marketing Expenses - _TC"
)
provisional_account = create_account(
account_name="Provision Account",
parent_account="Current Liabilities - _TC",