From fc8fadf455a2cf328f7b45350db697989b96c83c Mon Sep 17 00:00:00 2001 From: ruthra kumar Date: Sat, 28 Feb 2026 16:20:49 +0530 Subject: [PATCH] refactor(test): make stock entry deterministic --- erpnext/stock/doctype/stock_entry/test_stock_entry.py | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/stock/doctype/stock_entry/test_stock_entry.py b/erpnext/stock/doctype/stock_entry/test_stock_entry.py index b12a132e6d4..e666b5743c6 100644 --- a/erpnext/stock/doctype/stock_entry/test_stock_entry.py +++ b/erpnext/stock/doctype/stock_entry/test_stock_entry.py @@ -58,6 +58,7 @@ def get_sle(**args): class TestStockEntry(ERPNextTestSuite): def setUp(self): self.load_test_records("Stock Entry") + frappe.local.flags.dont_execute_stock_reposts = False def test_stock_entry_qty(self): item_code = "_Test Item 2"