mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-29 09:54:47 +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",
|
item_group="All Item Groups",
|
||||||
)
|
)
|
||||||
|
|
||||||
test_item_qty = [item for item in test_item_pos["items"] if item["item_code"] == "_Test Item"][0][
|
test_item_qty = [item for item in test_item_pos["items"] if item["item_code"] == "_Test Item"][
|
||||||
"actual_qty"
|
0
|
||||||
]
|
].get("actual_qty")
|
||||||
return test_item_qty
|
return test_item_qty
|
||||||
|
|||||||
Reference in New Issue
Block a user