test: fix test_purchase_invoice setup

This commit is contained in:
David
2024-10-11 06:43:41 +02:00
parent fc6a7ca56a
commit 4f2db78247

View File

@@ -45,6 +45,7 @@ IGNORE_TEST_RECORD_DEPENDENCIES = ["Serial No"]
class TestPurchaseInvoice(IntegrationTestCase, StockTestMixin):
@classmethod
def setUpClass(self):
super().setUpClass()
unlink_payment_on_cancel_of_invoice()
frappe.db.set_single_value("Buying Settings", "allow_multiple_items", 1)