From d5160c4c86749a7e37775953f97c29ef11412b88 Mon Sep 17 00:00:00 2001 From: Diptanil Saha Date: Wed, 12 Nov 2025 12:26:26 +0530 Subject: [PATCH] test: delete outdated pos opening entry --- erpnext/accounts/doctype/pos_profile/test_pos_profile.py | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/accounts/doctype/pos_profile/test_pos_profile.py b/erpnext/accounts/doctype/pos_profile/test_pos_profile.py index 5efe3bd5380..20ee2faadcf 100644 --- a/erpnext/accounts/doctype/pos_profile/test_pos_profile.py +++ b/erpnext/accounts/doctype/pos_profile/test_pos_profile.py @@ -70,6 +70,7 @@ class TestPOSProfile(unittest.TestCase): ) test_user, pos_profile = init_user_and_profile() + frappe.db.delete("POS Opening Entry", {"pos_profile": pos_profile.name}) if pos_profile: opening_entry = create_opening_entry(pos_profile, test_user.name)