mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Fix typo
This commit is contained in:
parent
57f3efe758
commit
224092e192
@ -178,7 +178,7 @@ class LocatePluginView(APIView):
|
||||
|
||||
elif location_pk:
|
||||
try:
|
||||
location = StockItem.objects.get(pk=location_pk)
|
||||
location = StockLocation.objects.get(pk=location_pk)
|
||||
|
||||
offload_task('plugin.registry.call_function', plugin, 'locate_stock_location', location_pk)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user