fix: Server Tests and sider

This commit is contained in:
marination 2022-02-14 21:00:51 +05:30
parent 86ca41b14a
commit e46a1bc80f

View File

@ -506,11 +506,11 @@ class TestProductionPlan(ERPNextTestCase):
) )
make_stock_entry(item_code="Raw Material Item 1", make_stock_entry(item_code="Raw Material Item 1",
target="_Test Warehouse - _TC", target="Work In Progress - _TC",
qty=2, basic_rate=100 qty=2, basic_rate=100
) )
make_stock_entry(item_code="Raw Material Item 2", make_stock_entry(item_code="Raw Material Item 2",
target="_Test Warehouse - _TC", target="Work In Progress - _TC",
qty=2, basic_rate=100 qty=2, basic_rate=100
) )
@ -554,6 +554,15 @@ class TestProductionPlan(ERPNextTestCase):
make_stock_entry as make_se_from_wo, 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( pln = create_production_plan(
item_code='Test Production Item 1', item_code='Test Production Item 1',
skip_getting_mr_items=True skip_getting_mr_items=True