refactor(test): make production plan deterministic

This commit is contained in:
ruthra kumar
2025-11-29 16:52:45 +05:30
parent 464c09ed10
commit 7b8e15c5b8

View File

@@ -549,7 +549,9 @@ class TestProductionPlan(ERPNextTestSuite):
make_rm_stock_entry(sco.name)
scr = make_subcontracting_receipt(sco.name)
scr.submit()
scr_make_purchase_receipt(scr.name).submit()
doc = scr_make_purchase_receipt(scr.name)
doc.currency = "INR"
doc.submit()
fg_item = "Test Motherboard 1"
bom_tree_1 = {"Test Laptop 1": {fg_item: {"Test Motherboard Wires 1": {}}}}