◄ ► | Edit | Home | Admin | en de fr et | Sign in

#4704 (add feature: barcode scan.)

by Sharif Mehedi · in Developers · assigned to Luc Saffre

Summary

Children

Comments

  • 2 years, 8 months ago by Luc Saffre about #4704 (add feature: barcode scan.) : For printing barcode labels I suggest to define a DirectPrintAction() on Product. Similar to class PrintPresenceSheet(DirectPrintAction) in lino_xl/lib/courses/actions.py.
  • 2 years, 8 months ago by Sharif Mehedi about #4704 (add feature: barcode scan.) : As of yet, I am NOT sure how to put this into practice, @luc , I'd like to talk to you about this but I am not available right now and will avail myself so in 3 hours.
  • 2 years, 8 months ago by Sharif Mehedi about #4704 (add feature: barcode scan.) : A EAN13 code has three components. They are: 1) Country code, 2) Manufacturer code & 3) Product code. I think it's better to have three fields on three models as 1) countries.Country.GS1, 2) contacts.Company.company_code & 3) products.Product.product_code Product model can have a method Product.get_b...
  • 2 years, 8 months ago by Sharif Mehedi about #4704 (add feature: barcode scan.) : For bangladesh I plan to keep the manufacturer code to 5 digits as UCC does.
  • 2 years, 8 months ago by Sharif Mehedi about #4704 (add feature: barcode scan.) : GS1 in EAN13 does NOT includes a code for Bangladesh [url en.wikipedia.org/wiki/International_Article_Number#Composition see code components composition]. I plan to keep the GS1 code to "000" for Bangladesh since we don't have any international affairs. And the other component parts we can assign to...
  • 3 years, 11 months ago by Luc Saffre about #4704 (add feature: barcode scan.) : I pushed my work for barcode support. I don't yet know how to find reasonable demo barcodes. But that's not the most urgent (there are still lots of other issues in shop1).
  • 3 years, 11 months ago by Luc Saffre about #4704 (add feature: barcode scan.) : TODO: the generated demo barcodes are actually invalid.
  • 3 years, 11 months ago by Luc Saffre about #4704 (add feature: barcode scan.) : I finished a first series of changes (still local): new plugin setting products.barcode_driver and a htmlbox "barcode_svg" shows the barcode on screen.. The shop1 demo shows it, at least for books. NB I think that the EAN field for books should go away when we have EAN13 barcodes because every EAN c...
  • 3 years, 11 months ago by Luc Saffre about #4704 (add feature: barcode scan.) : I plan to work on this a bit now.
  • 3 years, 11 months ago by Luc Saffre about #4704 (add feature: barcode scan.) : In the demo fixtures we can simply add fictive EAN numbers to the existing products. [url en.wikipedia.org/wiki/International_Article_Number Wikipedia] probably explains certain rules. Probably we just should have a correct check digit.
  • 3 years, 11 months ago by Luc Saffre about #4704 (add feature: barcode scan.) : Maybe add a virtual char field to the sales note, which adds an item. For printing their own labels: [url www.geeksforgeeks.org/how-to-generate-barcode-in-python/]. In React we can write an action that opens the camera for scanning a barcode (no need to buy a handheld scanner). This will probably set...
  • 3 years, 11 months ago by Sharif Mehedi about #4704 (add feature: barcode scan.) : Created a new Ticket.