Bug 15042: Barcode hbyymmincr does not work when receiving serials
authorMagnus Enger <magnus@libriotech.no>
Wed, 21 Oct 2015 11:11:28 +0000 (13:11 +0200)
committerChris Cormack <chrisc@catalyst.net.nz>
Tue, 27 Oct 2015 20:06:24 +0000 (09:06 +1300)
commit2067f598760848cbef6b56d26d97ec9d44d566fe
tree8dbb5e943d8a6b40fe7d585ca40947c0cf09c917
parenta2372222d99dccbbb6b9a5f795999362cd96cf65
Bug 15042: Barcode hbyymmincr does not work when receiving serials

To test:
- Set autoBarcode = <branchcode>yymm0001
- Make sure you have a serial that is set to "create an item record
  when receiving this serial"
- Receive an issue
- Click in the barcode field - nothing happens
- Apply patch and reload page
- Receive an issue
- Click in the barcode field - a barcode conforming to the
  hbyymmincr setting appears

Patch works as advertised.
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 55127d50fb0a00f70d5de06dee76ddfad54bd094)
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
C4/Barcodes/ValueBuilder.pm