From e6bebbfe8162dcfd87fb526e425ba1be9a0c0135 Mon Sep 17 00:00:00 2001 From: diptanilsaha Date: Sun, 1 Mar 2026 04:32:43 +0530 Subject: [PATCH] test: added the `currency` key and fixed `company` --- erpnext/controllers/tests/test_reactivity.py | 1 + erpnext/stock/tests/test_get_item_details.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/erpnext/controllers/tests/test_reactivity.py b/erpnext/controllers/tests/test_reactivity.py index c748003a6f6..8ba58419581 100644 --- a/erpnext/controllers/tests/test_reactivity.py +++ b/erpnext/controllers/tests/test_reactivity.py @@ -49,6 +49,7 @@ class TestReactivity(AccountsTestMixin, IntegrationTestCase): "debit_to": self.debit_to, "posting_date": today(), "cost_center": self.cost_center, + "currency": "INR", "conversion_rate": 1, "selling_price_list": self.price_list, } diff --git a/erpnext/stock/tests/test_get_item_details.py b/erpnext/stock/tests/test_get_item_details.py index e0f32402d85..6fee23181b1 100644 --- a/erpnext/stock/tests/test_get_item_details.py +++ b/erpnext/stock/tests/test_get_item_details.py @@ -11,8 +11,9 @@ class TestGetItemDetail(IntegrationTestCase): args = frappe._dict( { "item_code": "_Test Item", - "company": "_Test Company", + "company": "_Test Company 1", "customer": "_Test Customer", + "currency": "USD", "conversion_rate": 1.0, "price_list_currency": "USD", "plc_conversion_rate": 1.0,