Bug 41194

Summary: Autobarcode not incrementing when receiving serial
Product: Koha Reporter: Esther Melander <esther.melander>
Component: SerialsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
Version: 25.05   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Esther Melander 2025-11-05 17:38:07 UTC
To replicate:

1. Enable the system preference Autobarcode. Select incremental EAN-13 barcodes.
2. Add a subscription to a bibliographic record. Be sure to select the option to create item records when receiving.
3. Receive an item. Click in the box for barcode and see the barcode autofill. Save
4. Receive a second item. Click in the box for barcode and see the previous barcode is inserted. Save fails because of the duplicate barcode.

I would expect the barcodes to increment properly. Tested on 25.05 in a sandbox.