fix: Server Tests and sider
diff --git a/erpnext/manufacturing/doctype/production_plan/test_production_plan.py b/erpnext/manufacturing/doctype/production_plan/test_production_plan.py
index 3aa5c9f..afa1501 100644
--- a/erpnext/manufacturing/doctype/production_plan/test_production_plan.py
+++ b/erpnext/manufacturing/doctype/production_plan/test_production_plan.py
@@ -138,7 +138,7 @@
"""
- Disable 'ignore_existing_ordered_qty'.
- Test if MR Planning table avoids pulling Raw Material Qty as it is in stock for
- non exploded BOM.
+ non exploded BOM.
"""
sr1 = create_stock_reconciliation(item_code="Raw Material Item 1",
target="_Test Warehouse - _TC", qty=1, rate=130)
@@ -506,11 +506,11 @@
)
make_stock_entry(item_code="Raw Material Item 1",
- target="_Test Warehouse - _TC",
+ target="Work In Progress - _TC",
qty=2, basic_rate=100
)
make_stock_entry(item_code="Raw Material Item 2",
- target="_Test Warehouse - _TC",
+ target="Work In Progress - _TC",
qty=2, basic_rate=100
)
@@ -554,6 +554,15 @@
make_stock_entry as make_se_from_wo,
)
+ make_stock_entry(item_code="Raw Material Item 1",
+ target="Work In Progress - _TC",
+ qty=2, basic_rate=100
+ )
+ make_stock_entry(item_code="Raw Material Item 2",
+ target="Work In Progress - _TC",
+ qty=2, basic_rate=100
+ )
+
pln = create_production_plan(
item_code='Test Production Item 1',
skip_getting_mr_items=True