test: added the currency key and fixed company

This commit is contained in:
diptanilsaha
2026-03-01 04:32:43 +05:30
parent 913ce9454e
commit e6bebbfe81
2 changed files with 3 additions and 1 deletions

View File

@@ -49,6 +49,7 @@ class TestReactivity(AccountsTestMixin, IntegrationTestCase):
"debit_to": self.debit_to, "debit_to": self.debit_to,
"posting_date": today(), "posting_date": today(),
"cost_center": self.cost_center, "cost_center": self.cost_center,
"currency": "INR",
"conversion_rate": 1, "conversion_rate": 1,
"selling_price_list": self.price_list, "selling_price_list": self.price_list,
} }

View File

@@ -11,8 +11,9 @@ class TestGetItemDetail(IntegrationTestCase):
args = frappe._dict( args = frappe._dict(
{ {
"item_code": "_Test Item", "item_code": "_Test Item",
"company": "_Test Company", "company": "_Test Company 1",
"customer": "_Test Customer", "customer": "_Test Customer",
"currency": "USD",
"conversion_rate": 1.0, "conversion_rate": 1.0,
"price_list_currency": "USD", "price_list_currency": "USD",
"plc_conversion_rate": 1.0, "plc_conversion_rate": 1.0,