The new barcode batch printing tool from bug 7468 requires that one enter barcodes a "to" barcode higher than one's "from" barcode. That means you have to print at least 2 barcodes. It's be nice if the check was, instead, "to" must be greater than or equal to "from."
Created attachment 112726 [details] [review] Bug 26875: Allow printing of just one barcode in batch To test: 1- go to the Print Barcode Range page 2- enter From=1 and To=1 3- confirm error "Must be greater than from value." 4- apply patch, restart, reload page 5- enter From=1, To=1 6- confirm no error 7- change From to 2, error reappears
Created attachment 112973 [details] [review] Bug 26875: Allow printing of just one barcode in batch To test: 1- go to the Print Barcode Range page 2- enter From=1 and To=1 3- confirm error "Must be greater than from value." 4- apply patch, restart, reload page 5- enter From=1, To=1 6- confirm no error 7- change From to 2, error reappears Signed-off-by: David Nind <david@davidnind.com>
Created attachment 114714 [details] [review] Bug 26875: Allow printing of just one barcode in batch To test: 1- go to the Print Barcode Range page 2- enter From=1 and To=1 3- confirm error "Must be greater than from value." 4- apply patch, restart, reload page 5- enter From=1, To=1 6- confirm no error 7- change From to 2, error reappears Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Created attachment 114715 [details] [review] Bug 26875: (follow-up) Fix error message ("greater or equal") Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Pushed to master for 21.05, thanks to everybody involved!
Very small enhancement, I choose to backport. Pushed to 20.11.x for 20.11.02
Pushed to 20.05.x for 20.05.08
Missing dependencies for 19.11.x, can't backport.