mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 16:04:46 +00:00
refactor(test): make bom deterministic
This commit is contained in:
@@ -654,7 +654,7 @@ class TestBOM(ERPNextTestSuite):
|
|||||||
|
|
||||||
from erpnext.manufacturing.doctype.production_plan.test_production_plan import make_bom
|
from erpnext.manufacturing.doctype.production_plan.test_production_plan import make_bom
|
||||||
|
|
||||||
bom = make_bom(item=fg_item, raw_materials=[rm_item], do_not_save=True)
|
bom = make_bom(item=fg_item, raw_materials=[rm_item], currency="INR", do_not_save=True)
|
||||||
|
|
||||||
bom.rm_cost_as_per = "Last Purchase Rate"
|
bom.rm_cost_as_per = "Last Purchase Rate"
|
||||||
bom.save()
|
bom.save()
|
||||||
|
|||||||
Reference in New Issue
Block a user