Library and stock views don't handle barcodes the same way
Create a book in the library, and add a specimen for this book. Give the specimen a barcode with an apostrophe, e.g "BPM'200".
Then go to the stock application, and edit the specimen. Change nothing, just submit the form to save.
Back on the stock list, the barcode has been modified: the apostrophe was removed.
There is no reason for the stock and library apps to handle barcodes (and probably serials?) differently. We need to unify that.
This came from Colombia, where they seem to use barcodes like the example above, so we probably should allow apostrophes in both cases. (and in fact, is there really a reason not to absolutely anything?)