You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
2.2 KiB

  1. # -*- coding: utf-8 -*-
  2. # Copyright (C) 2004-Today Odoo S.A.
  3. # License LGPLv3 (https://github.com/odoo/odoo/blob/9.0/LICENSE).
  4. # flake8: noqa
  5. {
  6. 'name': 'Barcodes',
  7. 'version': '2.0',
  8. 'category': 'Extra Tools',
  9. 'summary': 'Barcodes Scanning and Parsing',
  10. 'description': """
  11. This module adds support for barcode scanning and parsing.
  12. Scanning
  13. --------
  14. Use a USB scanner (that mimics keyboard inputs) in order to work with barcodes in Odoo.
  15. The scanner must be configured to use no prefix and a carriage return or tab as suffix.
  16. The delay between each character input must be less than or equal to 50 milliseconds.
  17. Most barcode scanners will work out of the box.
  18. However, make sure the scanner uses the same keyboard layout as the device it's plugged in.
  19. Either by setting the device's keyboard layout to US QWERTY (default value for most readers)
  20. or by changing the scanner's keyboard layout (check the manual).
  21. Parsing
  22. -------
  23. The barcodes are interpreted using the rules defined by a nomenclature.
  24. It provides the following features:
  25. - Patterns to identify barcodes containing a numerical value (e.g. weight, price)
  26. - Definition of barcode aliases that allow to identify the same product with different barcodes
  27. - Support for encodings EAN-13, EAN-8 and UPC-A
  28. Backport Note
  29. -------------
  30. This module is a backport of Odoo 9.0 modules. It has been done to have
  31. a module in V7 that have the same models. barcode, nomenclatures, rules than
  32. in V9.0 and same rules (same xml_ids).
  33. Data comes from stock, point_of_sale and barcodes V9.0 modules.
  34. The following changes has been done:
  35. - copyright has been added to Odoo SA in the header and licence LGPLv3 has been mentionned
  36. - new api usage has been removed
  37. - noqa has been set for all py files, to avoid to break OCA rules checked by Travis
  38. The following features has not been backported
  39. - JS feature. (PoS features, etc.)
  40. - abstract model. "barcodes.barcode_events_mixin"
  41. """,
  42. 'depends': ['web', 'stock', 'point_of_sale'],
  43. 'data': [
  44. 'data/barcodes_data.xml',
  45. 'data/default_barcode_patterns.xml',
  46. 'barcodes_view.xml',
  47. 'security/ir.model.access.csv',
  48. # 'views/templates.xml',
  49. ],
  50. 'installable': True,
  51. 'auto_install': False,
  52. }