Add continuous inventory barcode scanning workflow

This commit is contained in:
Joren de Graaf
2026-10-26 01:19:55 +01:00
parent a66ecd7c85
commit d305a99b1b
10 changed files with 776 additions and 11 deletions
+1 -1
View File
@@ -365,7 +365,7 @@ def import_product(request):
@login_required
def scanner(request):
if request.GET.get('mode') == 'inventory':
return render(request, 'food/scanner.html', {'inventory_mode': True})
return redirect('food:scanner-inventory')
day, error = _day(request)
if error:
return error