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.

85 lines
3.2 KiB

10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
  1. # -*- encoding: utf-8 -*-
  2. ##############################################################################
  3. #
  4. # Hardware Customer Display module for Odoo
  5. # Copyright (C) 2014 Akretion (http://www.akretion.com)
  6. # @author Alexis de Lattre <alexis.delattre@akretion.com>
  7. #
  8. # This program is free software: you can redistribute it and/or modify
  9. # it under the terms of the GNU Affero General Public License as
  10. # published by the Free Software Foundation, either version 3 of the
  11. # License, or (at your option) any later version.
  12. #
  13. # This program is distributed in the hope that it will be useful,
  14. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. # GNU Affero General Public License for more details.
  17. #
  18. # You should have received a copy of the GNU Affero General Public License
  19. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  20. #
  21. ##############################################################################
  22. {
  23. 'name': 'Hardware Customer Display',
  24. 'version': '0.1',
  25. 'category': 'Hardware Drivers',
  26. 'license': 'AGPL-3',
  27. 'summary': 'Adds support for Customer Display in the Point of Sale',
  28. 'description': """
  29. Hardware Customer Display
  30. =========================
  31. This module adds support for Customer Display in the Point of Sale.
  32. This module is designed to be installed on the *POSbox* (i.e. the
  33. proxy on which the USB devices are connected) and not on the main
  34. Odoo server. On the main Odoo server, you should install the module
  35. *pos_customer_display*.
  36. The configuration of the hardware is done in the configuration file of
  37. the Odoo server of the POSbox. You should add the following entries in
  38. the configuration file:
  39. * customer_display_device_name (default = /dev/ttyUSB0)
  40. * customer_display_device_rate (default = 9600)
  41. * customer_display_device_timeout (default = 2 seconds)
  42. The number of cols of the Customer Display (usually 20) should be
  43. configured on the main Odoo server, in the menu Point of Sale >
  44. Configuration > Point of Sales. The number of rows is supposed to be 2.
  45. It should support most serial and USB-serial LCD displays out-of-the-box
  46. or with inheritance of a few functions.
  47. It has been tested with:
  48. * Bixolon BCD-1100 (Datasheet :
  49. http://www.bixolon.com/html/en/product/product_detail.xhtml?prod_id=61)
  50. * Bixolon BCD-1000
  51. To setup the BCD-1100 on Linux, you will find some technical instructions
  52. on this page:
  53. http://techtuxwords.blogspot.fr/2012/12/linux-and-bixolon-bcd-1100.html
  54. If you have a kernel >= 3.12, you should also read this:
  55. http://www.leniwiec.org/en/2014/06/25/ubuntu-14-04lts-how-to-pass-id-ven
  56. dor-and-id-product-to-ftdi_sio-driver/
  57. This module has been developped during a POS code sprint at Akretion
  58. France from July 7th to July 10th 2014. This module is part of the POS
  59. project of the Odoo Community Association http://odoo-community.org/.
  60. You are invited to become a member and/or get involved in the
  61. Association !
  62. This module has been written by Alexis de Lattre from Akretion
  63. <alexis.delattre@akretion.com>.
  64. """,
  65. 'author': 'Akretion',
  66. 'website': 'http://www.akretion.com',
  67. 'depends': ['hw_proxy'],
  68. 'external_dependencies': {
  69. 'python': ['serial', 'unidecode'],
  70. },
  71. 'data': [],
  72. }