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.

66 lines
2.0 KiB

8 years ago
8 years ago
8 years ago
8 years ago
  1. # -*- coding: utf-8 -*-
  2. # Copyright (C) 2016-Today GRAP (http://www.grap.coop)
  3. # @author: Sylvain LE GAL (https://twitter.com/legalsylvain)
  4. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
  5. {
  6. 'name': 'Barcodes - Generate',
  7. 'summary': 'Generate Barcodes for Products and Customers',
  8. 'version': '1.0',
  9. 'category': 'Point Of Sale',
  10. 'description': """
  11. ============================================
  12. Generate Barcodes for Products and Customers
  13. ============================================
  14. This module expends Odoo functionnality, allowing user to generate barcode
  15. depending on a given barcode rule.
  16. For exemple, a typical pattern for products is "23.....{NNNDD}" that means
  17. that the EAN13 code will begin by '23', followed by 5 digits and after 5 others
  18. digits to define the variable price. (EAN13 has a third char for control).
  19. With this module, it is possible to:
  20. * Affect a pattern (barcode.rule) to a product.product or a res.partner
  21. * To generate an EAN13 depending on the defined pattern and a custom ID
  22. Note
  23. ----
  24. Dependency to point_of_sale is required because barcode field, defined in 'base'
  25. module (in the res.partner model), is defined in a 'point_of_sale' view.
  26. It's a relative problem, because product barcodes generation will occures
  27. mostly in a Point of Sale context.
  28. You could comment 'point_of_sale' dependency if you want to use this module
  29. without point of sale.
  30. Copyright Note
  31. --------------
  32. Icon of the module is based on the Oxygen Team work and is under LGPL licence:
  33. http://www.iconarchive.com/show/oxygen-icons-by-oxygen-icons.org.html
  34. """,
  35. 'author': 'GRAP',
  36. 'website': 'http://www.grap.coop',
  37. 'license': 'AGPL-3',
  38. 'depends': [
  39. 'barcodes',
  40. 'point_of_sale',
  41. ],
  42. 'data': [
  43. 'security/res_groups.xml',
  44. 'views/view_res_partner.xml',
  45. 'views/view_product_product.xml',
  46. 'views/view_barcode_rule.xml',
  47. ],
  48. 'demo': [
  49. 'demo/res_users.xml',
  50. ],
  51. 'images': [
  52. 'static/description/barcode_rule.png'
  53. ],
  54. }