From fefc86e7263e756b35ec0eda511939ded3023301 Mon Sep 17 00:00:00 2001 From: Jay Turner Date: Mon, 2 Feb 2026 20:41:40 +0000 Subject: [PATCH] Fix API call for printing stock entry label After some investigation, I discovered that the edit stock entry form wasn't reprinting labels. This resolved it for me. --- public/viewjs/stockentryform.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/viewjs/stockentryform.js b/public/viewjs/stockentryform.js index b8286aed..7f35ac93 100644 --- a/public/viewjs/stockentryform.js +++ b/public/viewjs/stockentryform.js @@ -49,7 +49,7 @@ if (Grocy.FeatureFlags.GROCY_FEATURE_FLAG_LABEL_PRINTER && $("#print-label").is(":checked")) { - Grocy.Api.Get('stock/entry/' + result[0].stock_id + '/printlabel', function(labelData) + Grocy.Api.Get('stock/entry/' + result[0].id + '/printlabel', function(labelData) { if (Grocy.Webhooks.labelprinter !== undefined) {