mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 16:34:46 +00:00
refactor: use idx for identifying row
This commit is contained in:
@@ -56,7 +56,7 @@ class TestReactivity(AccountsTestMixin, IntegrationTestCase):
|
||||
)
|
||||
itm = si.append("items")
|
||||
itm.item_code = self.item
|
||||
si.process_item_selection(si.items[0].name)
|
||||
si.process_item_selection(itm.idx)
|
||||
self.assertEqual(itm.rate, 90)
|
||||
|
||||
df = qb.DocType("DocField")
|
||||
|
||||
Reference in New Issue
Block a user