Browse Source

[MIG] pos_payment_terminal

pull/440/head
Sylvain LE GAL 5 years ago
parent
commit
b0b1912071
  1. 71
      pos_payment_terminal/README.rst
  2. 2
      pos_payment_terminal/__init__.py
  3. 3
      pos_payment_terminal/__manifest__.py
  4. 2
      pos_payment_terminal/models/__init__.py
  5. 1
      pos_payment_terminal/models/account_journal.py
  6. 1
      pos_payment_terminal/models/pos_config.py
  7. 1
      pos_payment_terminal/models/pos_order.py
  8. 4
      pos_payment_terminal/readme/CONFIGURE.rst
  9. 2
      pos_payment_terminal/readme/CONTRIBUTORS.rst
  10. 2
      pos_payment_terminal/readme/DESCRIPTION.rst
  11. 6
      pos_payment_terminal/readme/INSTALL.rst
  12. 1
      pos_payment_terminal/readme/USAGE.rst
  13. 1
      pos_payment_terminal/tests/test_transactions.py

71
pos_payment_terminal/README.rst

@ -1,74 +1,3 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
====================
POS Payment Terminal
====================
This module adds support for credit card reader and checks printer
in the Point of Sale.
This module has been developped during a POS code sprint at Akretion
France from July 7th to July 10th 2014. This module is part of the POS
project of the Odoo Community Association http://odoo-community.org/.
You are invited to become a member and/or get involved in the
Association !
Installation
============
This module is designed to be installed on the
*main Odoo server*. On the *POSbox*, you should install the module
*hw_x* depending on the protocol implemented in your device.
`Ingenico <http://en.wikipedia.org/wiki/Ingenico>`
and old Sagem devices support the Telium protocol implemented in the
*hw_telium_payment_terminal* module.
Configuration
=============
This module support two payment modes : *card* and *check*. The payment
mode should be configured on the main Odoo server, in the menu *Point
of Sale > Configuration > Payment Methods*, under the *Point of Sale* tab.
Usage
=====
In the frontend of the POS, when you select a payment method that has a payment mode *card* or *check*, you will have a *Start Transaction* button : if you click on that button, the amount, the currency and the payment mode will be sent to the POSbox.
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/184/10.0
Bug Tracker
===========
Bugs are tracked on `GitHub Issues
<https://github.com/OCA/pos/issues>`_. In case of trouble, please
check there if your issue has already been reported. If you spotted it first,
help us smashing it by providing a detailed and welcomed feedback.
Credits
=======
Contributors
------------
* Aurelien Dumaine
* Alexis de Lattre <alexis.delattre@akretion.com>
Maintainer
----------
.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.
To contribute to this module, please visit https://odoo-community.org.

2
pos_payment_terminal/__init__.py

@ -1,3 +1 @@
# -*- coding: utf-8 -*-
from . import models

3
pos_payment_terminal/__manifest__.py

@ -1,11 +1,10 @@
# -*- coding: utf-8 -*-
# © 2014-2016 Aurélien DUMAINE
# © 2015-2016 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
'name': 'POS Payment Terminal',
'version': '10.0.0.1.1',
'version': '12.0.0.1.1',
'category': 'Point Of Sale',
'summary': 'Manage Payment Terminal device from POS front end',
'author': "Aurélien DUMAINE,Akretion,Odoo Community Association (OCA)",

2
pos_payment_terminal/models/__init__.py

@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
from . import pos_config
from . import account_journal
from . import pos_order

1
pos_payment_terminal/models/account_journal.py

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# © 2014-2016 Aurélien DUMAINE
# © 2015-2016 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

1
pos_payment_terminal/models/pos_config.py

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# © 2014-2016 Aurélien DUMAINE
# © 2015-2016 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

1
pos_payment_terminal/models/pos_order.py

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# © 2018 ACSONE SA/NV
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from collections import defaultdict

4
pos_payment_terminal/readme/CONFIGURE.rst

@ -0,0 +1,4 @@
This module support two payment modes : *card* and *check*. The payment
mode should be configured on the main Odoo server, in the menu *Point
of Sale > Configuration > Payment Methods*, under the *Point of Sale* tab.

2
pos_payment_terminal/readme/CONTRIBUTORS.rst

@ -0,0 +1,2 @@
* Aurelien Dumaine
* Alexis de Lattre <alexis.delattre@akretion.com>

2
pos_payment_terminal/readme/DESCRIPTION.rst

@ -0,0 +1,2 @@
This module adds support for credit card reader and checks printer
in the Point of Sale.

6
pos_payment_terminal/readme/INSTALL.rst

@ -0,0 +1,6 @@
This module is designed to be installed on the
*main Odoo server*. On the *POSbox*, you should install the module
*hw_x* depending on the protocol implemented in your device.
`Ingenico <http://en.wikipedia.org/wiki/Ingenico>`
and old Sagem devices support the Telium protocol implemented in the
*hw_telium_payment_terminal* module.

1
pos_payment_terminal/readme/USAGE.rst

@ -0,0 +1 @@
In the frontend of the POS, when you select a payment method that has a payment mode *card* or *check*, you will have a *Start Transaction* button : if you click on that button, the amount, the currency and the payment mode will be sent to the POSbox.

1
pos_payment_terminal/tests/test_transactions.py

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# Copyright (C) 2018-TODAY ACSONE SA/NV (<https://www.acsone.eu>).
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

Loading…
Cancel
Save