From 27e842ba02a546043c8ed1c0be9888c9b1c132d9 Mon Sep 17 00:00:00 2001 From: Mihir Kandoi Date: Thu, 8 May 2025 14:47:19 +0530 Subject: [PATCH] fix: linter error --- .../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 dfcaa49e4ea..52bce93ec8b 100644 --- a/erpnext/accounts/doctype/purchase_invoice/test_purchase_invoice.py +++ b/erpnext/accounts/doctype/purchase_invoice/test_purchase_invoice.py @@ -2813,6 +2813,7 @@ class TestPurchaseInvoice(IntegrationTestCase, StockTestMixin): # Test 4 - Since this PI is overbilled by 130% and only 120% is allowed, it will fail self.assertRaises(frappe.ValidationError, pi.submit) + def set_advance_flag(company, flag, default_account): frappe.db.set_value( "Company",