From 4f2db78247de943abeb45e35e81d4ffb6b0c79b2 Mon Sep 17 00:00:00 2001 From: David Date: Fri, 11 Oct 2024 06:43:41 +0200 Subject: [PATCH] test: fix test_purchase_invoice setup --- .../accounts/doctype/purchase_invoice/test_purchase_invoice.py | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/accounts/doctype/purchase_invoice/test_purchase_invoice.py b/erpnext/accounts/doctype/purchase_invoice/test_purchase_invoice.py index 784dea6083d..fdf4608ad62 100644 --- a/erpnext/accounts/doctype/purchase_invoice/test_purchase_invoice.py +++ b/erpnext/accounts/doctype/purchase_invoice/test_purchase_invoice.py @@ -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)