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.

83 lines
3.5 KiB

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 Telium Payment Terminal 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 Telium Payment Terminal',
  24. 'version': '0.1',
  25. 'category': 'Hardware Drivers',
  26. 'license': 'AGPL-3',
  27. 'summary': 'Adds support for Payment Terminals using Telium protocol',
  28. 'description': """
  29. Hardware Telium Payment Terminal
  30. ================================
  31. This module adds support for credit card reader and checks printers
  32. using Telium protocol in the Point of Sale. This module is designed to
  33. be installed on the *POSbox* (i.e. the proxy on which the USB devices
  34. are connected) and not on the main Odoo server. On the main Odoo server,
  35. you should install the module *pos_payment_terminal*.
  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. * payment_terminal_device_name (default = /dev/ttyACM0)
  40. * payment_terminal_device_rate (default = 9600)
  41. The Telium protocol is used by Ingenico and Sagem payment terminals. It
  42. is based on the Concert protocol, so it can probably work with payment
  43. terminals from other brands. This module implements the protocol E+ (and
  44. not the protocol E), so it requires a Telium Manager version 37783600
  45. or superior. To get the version of the Telium Manager on an Ingenico
  46. terminal press F > 0-TELIUM MANAGER > 2-Consultation > 4-Configuration
  47. > 2-Software > 1-TERMINAL > On Display > Telium Manager and then read
  48. the field *M20S*.
  49. You will need to configure your payment terminal to accept commands
  50. from the POS. On an Ingenico terminal press F > 0-TELIUM MANAGER >
  51. 5-Initialization > 1-Parameters > Cash Connection and then select *On*
  52. and then *USB*. After that, you should reboot the terminal.
  53. This module has been successfully tested with:
  54. * Ingenico EFTSmart4S
  55. * Ingenico EFTSmart2 2640 with Telim Manager version 37784503
  56. * Ingenico i2200 cheque reader and writer
  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
  63. <alexis.delattre@akretion.com> from Akretion.
  64. """,
  65. 'author': "Akretion,Odoo Community Association (OCA)",
  66. 'website': 'http://www.akretion.com',
  67. 'depends': ['hw_proxy'],
  68. 'external_dependencies': {
  69. 'python': ['serial', 'pycountry'],
  70. },
  71. 'data': [],
  72. }