mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-15 19:19:17 +00:00
test: fix test_purchase_invoice setup
This commit is contained in:
@@ -45,6 +45,7 @@ IGNORE_TEST_RECORD_DEPENDENCIES = ["Serial No"]
|
|||||||
class TestPurchaseInvoice(IntegrationTestCase, StockTestMixin):
|
class TestPurchaseInvoice(IntegrationTestCase, StockTestMixin):
|
||||||
@classmethod
|
@classmethod
|
||||||
def setUpClass(self):
|
def setUpClass(self):
|
||||||
|
super().setUpClass()
|
||||||
unlink_payment_on_cancel_of_invoice()
|
unlink_payment_on_cancel_of_invoice()
|
||||||
frappe.db.set_single_value("Buying Settings", "allow_multiple_items", 1)
|
frappe.db.set_single_value("Buying Settings", "allow_multiple_items", 1)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user