From 9a138427513da4c3dfb13fed05c36da1c451a2b1 Mon Sep 17 00:00:00 2001 From: Deepesh Garg Date: Sun, 14 Jan 2024 11:25:30 +0530 Subject: [PATCH] Revert "fix: check for split entries in stock entry test" This reverts commit a56b79cc72241f6a4540cb93b1b0f39926137cdc. --- erpnext/stock/doctype/stock_entry/test_stock_entry.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/erpnext/stock/doctype/stock_entry/test_stock_entry.py b/erpnext/stock/doctype/stock_entry/test_stock_entry.py index 085d215e75..23dacc8343 100644 --- a/erpnext/stock/doctype/stock_entry/test_stock_entry.py +++ b/erpnext/stock/doctype/stock_entry/test_stock_entry.py @@ -517,14 +517,7 @@ class TestStockEntry(FrappeTestCase): self.check_gl_entries( "Stock Entry", repack.name, - sorted( - [ - ["Cost of Goods Sold - TCP1", 0.0, 1200.0], - ["Stock Adjustment - TCP1", 0.0, 1200.0], - ["Stock Adjustment - TCP1", 1200.0, 0.0], - [stock_in_hand_account, 1200.0, 0.0], - ] - ), + sorted([[stock_in_hand_account, 1200, 0.0], ["Cost of Goods Sold - TCP1", 0.0, 1200.0]]), ) def check_stock_ledger_entries(self, voucher_type, voucher_no, expected_sle):