Closed cedric-anne closed 5 years ago
It is possible to also enable barcode generation for every item, based on its id if the otherserial
field is not present.
Is this relevant to be able to generate codes for any itemtype ? Or is the list should be filtered ?
I have made the checks with the modifications you made and it works correctly
IMHO barcodes only make sense in case you have a significative number (inventory number for example). Currently the mass actions is shown for tickets and generating a barcode for a ticket doesn't make sense, (and doesn't work neither)
QR are more flexible, allowing lots of information and should be enabled GLPI wide as you've done.
I made this PR to give ability to generate bar and QR codes for any object that has required fields.
Bar codes will not be available for any item having a
otherserial
field, and for CommonITILObject types (in replacement of Ticket).QR codes will be available for any item, as it can be generated using only the ID.
Replaces https://github.com/pluginsGLPI/barcode/pull/35