mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-16 10:20:31 +00:00
test: assert full negative batch slot in ageing regression test
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -1472,7 +1472,7 @@ class TestStockAgeing(ERPNextTestSuite):
|
|||||||
queue = slots["Enclosure Item"]["fifo_queue"]
|
queue = slots["Enclosure Item"]["fifo_queue"]
|
||||||
|
|
||||||
self.assertEqual(slots["Enclosure Item"]["total_qty"], 35.0)
|
self.assertEqual(slots["Enclosure Item"]["total_qty"], 35.0)
|
||||||
self.assertEqual(queue[0][:3], ["QI-06448", None, -10.0])
|
self.assertEqual(queue[0], ["QI-06448", None, -10.0, "2021-12-01", -100.0])
|
||||||
self.assertEqual(queue[1], [45.0, "2021-12-05", 1051.65])
|
self.assertEqual(queue[1], [45.0, "2021-12-05", 1051.65])
|
||||||
|
|
||||||
def test_batchwise_valuation_stock_reconciliation_with_bundle(self):
|
def test_batchwise_valuation_stock_reconciliation_with_bundle(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user