fix: unsupported operand type(s) for //: 'float' and 'NoneType' for POS Barcode search (#35710)

* fix: unsupported operand type(s) for //: 'float' and 'NoneType' for POS Barcode search (#35710)

(cherry picked from commit 58a6bbcf6d95f59821484ff29b585c10529a0fe4)

# Conflicts:
#	erpnext/selling/page/point_of_sale/point_of_sale.py

* chore: resolve conflicts

---------

Co-authored-by: Vishal Dhayagude <vishdha@users.noreply.github.com>
Co-authored-by: Deepesh Garg <deepeshgarg6@gmail.com>
This commit is contained in:
mergify[bot] 2023-06-19 09:14:43 +05:30 committed by GitHub
parent 2a24423ad2
commit 78fbd6452b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,7 +65,7 @@ def search_by_term(search_term, warehouse, price_list):
"item_code": item_code,
"batch_no": batch_no,
},
fields=["uom", "stock_uom", "currency", "price_list_rate", "batch_no"],
fields=["uom", "currency", "price_list_rate", "batch_no"],
)
def __sort(p):