From 9e11b6cfb3f2f969c2996239f5af9bd55fe838f3 Mon Sep 17 00:00:00 2001 From: ruthra kumar Date: Wed, 18 Feb 2026 16:36:35 +0530 Subject: [PATCH] refactor(test): make bom deterministic --- erpnext/manufacturing/doctype/bom/test_bom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/manufacturing/doctype/bom/test_bom.py b/erpnext/manufacturing/doctype/bom/test_bom.py index 146a902d323..d86b2da4f34 100644 --- a/erpnext/manufacturing/doctype/bom/test_bom.py +++ b/erpnext/manufacturing/doctype/bom/test_bom.py @@ -654,7 +654,7 @@ class TestBOM(ERPNextTestSuite): 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.save()