Could have collisions, no location lookup by name
This commit is contained in:
@@ -384,8 +384,6 @@ def get_location_id(barcode):
|
|||||||
#print(loc.name, loc.locationid)
|
#print(loc.name, loc.locationid)
|
||||||
if loc.locationid == barcode:
|
if loc.locationid == barcode:
|
||||||
return loc
|
return loc
|
||||||
elif loc.name == barcode:
|
|
||||||
return loc
|
|
||||||
return False
|
return False
|
||||||
else:
|
else:
|
||||||
return False
|
return False
|
||||||
|
|||||||
Reference in New Issue
Block a user