2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-29 20:16:44 +00:00
This commit is contained in:
Oliver Walters 2022-05-09 23:44:58 +10:00
parent 57f3efe758
commit 224092e192

View File

@ -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)