test: fixed account settings in test case

This commit is contained in:
ljain112
2024-10-09 17:34:59 +05:30
parent f5a7c8b0b0
commit d5c82ccbab

View File

@@ -214,6 +214,10 @@ class TestTaxWithholdingCategory(FrappeTestCase):
d.reload()
d.cancel()
@change_settings(
"Accounts Settings",
{"unlink_payment_on_cancellation_of_invoice": 1},
)
def test_tcs_on_allocated_advance_payments(self):
frappe.db.set_value(
"Customer", "Test TCS Customer", "tax_withholding_category", "Cumulative Threshold TCS"