mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-16 03:29:16 +00:00
refactor(test): make production plan deterministic
This commit is contained in:
@@ -549,7 +549,9 @@ class TestProductionPlan(ERPNextTestSuite):
|
|||||||
make_rm_stock_entry(sco.name)
|
make_rm_stock_entry(sco.name)
|
||||||
scr = make_subcontracting_receipt(sco.name)
|
scr = make_subcontracting_receipt(sco.name)
|
||||||
scr.submit()
|
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"
|
fg_item = "Test Motherboard 1"
|
||||||
bom_tree_1 = {"Test Laptop 1": {fg_item: {"Test Motherboard Wires 1": {}}}}
|
bom_tree_1 = {"Test Laptop 1": {fg_item: {"Test Motherboard Wires 1": {}}}}
|
||||||
|
|||||||
Reference in New Issue
Block a user