mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-14 04:15:10 +00:00
chore: code clean up
This commit is contained in:
@@ -167,7 +167,7 @@ def get_test_item_qty(pos_profile):
|
||||
item_group="All Item Groups",
|
||||
)
|
||||
|
||||
test_item_qty = [item for item in test_item_pos["items"] if item["item_code"] == "_Test Item"][0][
|
||||
"actual_qty"
|
||||
]
|
||||
test_item_qty = [item for item in test_item_pos["items"] if item["item_code"] == "_Test Item"][
|
||||
0
|
||||
].get("actual_qty")
|
||||
return test_item_qty
|
||||
|
||||
Reference in New Issue
Block a user