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)
|
||||
if loc.locationid == barcode:
|
||||
return loc
|
||||
elif loc.name == barcode:
|
||||
return loc
|
||||
return False
|
||||
else:
|
||||
return False
|
||||
|
||||
Reference in New Issue
Block a user