mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 10:49:09 +00:00
fix(test): test_stock_reservation_against_sales_order
This commit is contained in:
@@ -286,6 +286,7 @@ class TestStockReservationEntry(FrappeTestCase):
|
|||||||
self.assertEqual(item.stock_reserved_qty, sre_details.reserved_qty)
|
self.assertEqual(item.stock_reserved_qty, sre_details.reserved_qty)
|
||||||
self.assertEqual(sre_details.status, "Partially Reserved")
|
self.assertEqual(sre_details.status, "Partially Reserved")
|
||||||
|
|
||||||
|
cancel_stock_reservation_entries("Sales Order", so.name)
|
||||||
se.cancel()
|
se.cancel()
|
||||||
|
|
||||||
# Test - 3: Stock should be fully Reserved if the Available Qty to Reserve is greater than the Un-reserved Qty.
|
# Test - 3: Stock should be fully Reserved if the Available Qty to Reserve is greater than the Un-reserved Qty.
|
||||||
|
|||||||
Reference in New Issue
Block a user