Use patchStockItem to save stock detail identifier code
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful

This commit is contained in:
2026-04-12 00:39:58 +02:00
parent 2974124555
commit ac2eafb504
+1 -1
View File
@@ -605,7 +605,7 @@ export function stockDetailPageData(store) {
this.identifierState.error = ''; this.identifierState.error = '';
await runAsyncState(this.identifierState, async () => { await runAsyncState(this.identifierState, async () => {
const identifierCode = normalizeIdentifierCode(this.identifierDraft); const identifierCode = normalizeIdentifierCode(this.identifierDraft);
const updated = await updateStockItem(store, this.entry.uuid_b64, { const updated = await patchStockItem(store, this.entry.uuid_b64, {
identifier_code: identifierCode || null, identifier_code: identifierCode || null,
}); });