-
-
Notifications
You must be signed in to change notification settings - Fork 602
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by alexis-via
- Loading branch information
Showing
25 changed files
with
1,252 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
==================== | ||
POS Payment Terminal | ||
==================== | ||
|
||
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png | ||
:target: https://odoo-community.org/page/development-status | ||
:alt: Beta | ||
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png | ||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html | ||
:alt: License: AGPL-3 | ||
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpos-lightgray.png?logo=github | ||
:target: https://github.com/OCA/pos/tree/12.0/pos_payment_terminal | ||
:alt: OCA/pos | ||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png | ||
:target: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_payment_terminal | ||
:alt: Translate me on Weblate | ||
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png | ||
:target: https://runbot.odoo-community.org/runbot/184/12.0 | ||
:alt: Try me on Runbot | ||
|
||
|badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
||
This module adds support for credit card reader and checks printer | ||
in the Point of Sale. | ||
|
||
**Table of contents** | ||
|
||
.. contents:: | ||
:local: | ||
|
||
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 | ||
============= | ||
|
||
* Go to Point of Sale > Configuration > Point of Sale, and check | ||
the field "Payment Terminal" | ||
|
||
.. figure:: https://raw.githubusercontent.com/OCA/pos/12.0/pos_payment_terminal/static/description/pos_config_form.png | ||
|
||
* Then, in the same point of sale form, click on "Payment Methods" to | ||
set correctly your account journals. | ||
This module support two payment modes : *card* and *check*, this | ||
option is available in te Point of sale tab. | ||
|
||
.. figure:: https://raw.githubusercontent.com/OCA/pos/12.0/pos_payment_terminal/static/description/account_journal_form.png | ||
|
||
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. | ||
|
||
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 <https://github.com/OCA/pos/issues/new?body=module:%20pos_payment_terminal%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. | ||
|
||
Do not contact contributors directly about support or help with technical issues. | ||
|
||
Credits | ||
======= | ||
|
||
Authors | ||
~~~~~~~ | ||
|
||
* Aurélien DUMAINE | ||
* GRAP | ||
* Akretion | ||
|
||
Contributors | ||
~~~~~~~~~~~~ | ||
|
||
* Aurelien Dumaine | ||
* Alexis de Lattre <alexis.delattre@akretion.com> | ||
* Sylvain LE GAL (https://twitter.com/legalsylvain) | ||
|
||
Maintainers | ||
~~~~~~~~~~~ | ||
|
||
This module is maintained by the OCA. | ||
|
||
.. image:: https://odoo-community.org/logo.png | ||
:alt: Odoo Community Association | ||
:target: https://odoo-community.org | ||
|
||
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. | ||
|
||
This module is part of the `OCA/pos <https://github.com/OCA/pos/tree/12.0/pos_payment_terminal>`_ project on GitHub. | ||
|
||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from . import models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Copyright 2014-2020 Aurélien DUMAINE | ||
# Copyrght 2015-2020 Akretion (http://www.akretion.com/) | ||
# @author: Alexis de Lattre <alexis.delattre@akretion.com> | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
|
||
{ | ||
"name": "POS Payment Terminal", | ||
"version": "14.0.1.0.0", | ||
"category": "Point Of Sale", | ||
"summary": "Point of sale: support generic payment terminal", | ||
"author": "Aurélien DUMAINE,GRAP,Akretion," "Odoo Community Association (OCA)", | ||
"website": "https://github.com/OCA/pos", | ||
"license": "AGPL-3", | ||
"depends": ["point_of_sale"], | ||
"data": [ | ||
"views/pos_payment_method.xml", | ||
"views/assets.xml", | ||
], | ||
"installable": True, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * pos_payment_terminal | ||
# | ||
# Translators: | ||
# OCA Transbot <transbot@odoo-community.org>, 2017 | ||
# enjolras <yo@miguelrevilla.com>, 2018 | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 10.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2018-03-01 02:01+0000\n" | ||
"PO-Revision-Date: 2020-07-27 11:19+0000\n" | ||
"Last-Translator: Daniel Martinez Vila <daniel.martinez@qubiq.es>\n" | ||
"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" | ||
"Language: es\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: \n" | ||
"Plural-Forms: nplurals=2; plural=n != 1;\n" | ||
"X-Generator: Weblate 3.10\n" | ||
|
||
#. module: pos_payment_terminal | ||
#: model:ir.model.fields,help:pos_payment_terminal.field_pos_config__iface_payment_terminal | ||
msgid "A payment terminal is available on the Proxy" | ||
msgstr "Un terminal de pago está disponible en el Proxy" | ||
|
||
#. module: pos_payment_terminal | ||
#: selection:account.journal,pos_terminal_payment_mode:0 | ||
msgid "Card" | ||
msgstr "Tarjeta" | ||
|
||
#. module: pos_payment_terminal | ||
#: selection:account.journal,pos_terminal_payment_mode:0 | ||
msgid "Check" | ||
msgstr "Talón" | ||
|
||
#. module: pos_payment_terminal | ||
#: model:ir.model,name:pos_payment_terminal.model_account_journal | ||
msgid "Journal" | ||
msgstr "Diario" | ||
|
||
#. module: pos_payment_terminal | ||
#: model:ir.model.fields,field_description:pos_payment_terminal.field_pos_config__iface_payment_terminal | ||
#: model_terms:ir.ui.view,arch_db:pos_payment_terminal.view_pos_config_form | ||
msgid "Payment Terminal" | ||
msgstr "Terminal de pago" | ||
|
||
#. module: pos_payment_terminal | ||
#: model:ir.model,name:pos_payment_terminal.model_pos_config | ||
msgid "Point of Sale Configuration" | ||
msgstr "Configuración del punto de venta" | ||
|
||
#. module: pos_payment_terminal | ||
#: model:ir.model,name:pos_payment_terminal.model_pos_order | ||
msgid "Point of Sale Orders" | ||
msgstr "Pedidos de Punto de Venta" | ||
|
||
#. module: pos_payment_terminal | ||
#: model:ir.model.fields,help:pos_payment_terminal.field_account_bank_statement_import_journal_creation__pos_terminal_payment_mode | ||
#: model:ir.model.fields,help:pos_payment_terminal.field_account_journal__pos_terminal_payment_mode | ||
msgid "Select the payment mode sent to the payment terminal" | ||
msgstr "Seleccione la forma de pega enviada al terminal de pago" | ||
|
||
#. module: pos_payment_terminal | ||
#. openerp-web | ||
#: code:addons/pos_payment_terminal/static/src/xml/pos_payment_terminal.xml:17 | ||
#, python-format | ||
msgid "Start transaction" | ||
msgstr "Iniciar transacción" | ||
|
||
#. module: pos_payment_terminal | ||
#: model:ir.model.fields,field_description:pos_payment_terminal.field_account_bank_statement_import_journal_creation__pos_terminal_payment_mode | ||
#: model:ir.model.fields,field_description:pos_payment_terminal.field_account_journal__pos_terminal_payment_mode | ||
msgid "Terminal Payment Mode" | ||
msgstr "Modo de pago del terminal" | ||
|
||
#~ msgid "pos.config" | ||
#~ msgstr "Configuración del TPV" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * pos_payment_terminal | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 14.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2020-12-17 08:57+0000\n" | ||
"PO-Revision-Date: 2020-12-17 08:57+0000\n" | ||
"Last-Translator: \n" | ||
"Language-Team: \n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: \n" | ||
"Plural-Forms: \n" | ||
|
||
#. module: pos_payment_terminal | ||
#. openerp-web | ||
#: code:addons/pos_payment_terminal/static/src/js/payment_terminal.js:0 | ||
#, python-format | ||
msgid "Cannot process transactions with negative amount." | ||
msgstr "Impossible d'envoyer des montants négatifs au lecteur CB" | ||
|
||
#. module: pos_payment_terminal | ||
#: model:ir.model.fields.selection,name:pos_payment_terminal.selection__pos_payment_method__oca_payment_terminal_mode__card | ||
msgid "Card" | ||
msgstr "Carte" | ||
|
||
#. module: pos_payment_terminal | ||
#: model:ir.model.fields.selection,name:pos_payment_terminal.selection__pos_payment_method__oca_payment_terminal_mode__check | ||
msgid "Check" | ||
msgstr "Chèque" | ||
|
||
#. module: pos_payment_terminal | ||
#: model:ir.model.fields,field_description:pos_payment_terminal.field_pos_payment_method__display_name | ||
msgid "Display Name" | ||
msgstr "Nom affiché" | ||
|
||
#. module: pos_payment_terminal | ||
#. openerp-web | ||
#: code:addons/pos_payment_terminal/static/src/js/payment_terminal.js:0 | ||
#, python-format | ||
msgid "" | ||
"Failed to send the amount to pay to the payment terminal. Press the red " | ||
"button on the payment terminal and try again." | ||
msgstr "Échec de l'envoi du montant à payer au lecteur CB. Appuyez sur le bouton rouge du lecteur CB et essayez à nouveau." | ||
|
||
#. module: pos_payment_terminal | ||
#: model:ir.model.fields,field_description:pos_payment_terminal.field_pos_payment_method__id | ||
msgid "ID" | ||
msgstr "ID" | ||
|
||
#. module: pos_payment_terminal | ||
#: model:ir.model.fields,field_description:pos_payment_terminal.field_pos_payment_method____last_update | ||
msgid "Last Modified on" | ||
msgstr "Dernière modification le" | ||
|
||
#. module: pos_payment_terminal | ||
#: code:addons/pos_payment_terminal/models/pos_payment_method.py:0 | ||
#, python-format | ||
msgid "OCA Payment Terminal" | ||
msgstr "Terminal de paiement OCA" | ||
|
||
#. module: pos_payment_terminal | ||
#: model:ir.model.fields,field_description:pos_payment_terminal.field_pos_payment_method__oca_payment_terminal_mode | ||
msgid "Payment Mode" | ||
msgstr "Mode de paiement" | ||
|
||
#. module: pos_payment_terminal | ||
#. openerp-web | ||
#: code:addons/pos_payment_terminal/static/src/js/payment_terminal.js:0 | ||
#, python-format | ||
msgid "Payment Terminal Error" | ||
msgstr "Erreur - Lecteur CB" | ||
|
||
#. module: pos_payment_terminal | ||
#: model:ir.model,name:pos_payment_terminal.model_pos_payment_method | ||
msgid "Point of Sale Payment Methods" | ||
msgstr "Modes de paiement du point de vente" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * pos_payment_terminal | ||
# | ||
# Translators: | ||
# Bole <bole@dajmi5.com>, 2017 | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 10.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2016-12-13 19:51+0000\n" | ||
"PO-Revision-Date: 2016-12-13 19:51+0000\n" | ||
"Last-Translator: Bole <bole@dajmi5.com>, 2017\n" | ||
"Language-Team: Croatian (Croatia) (https://www.transifex.com/oca/teams/23907/" | ||
"hr_HR/)\n" | ||
"Language: hr_HR\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: \n" | ||
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" | ||
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" | ||
|
||
#. module: pos_payment_terminal | ||
#: model:ir.model.fields,help:pos_payment_terminal.field_pos_config__iface_payment_terminal | ||
msgid "A payment terminal is available on the Proxy" | ||
msgstr "" | ||
|
||
#. module: pos_payment_terminal | ||
#: selection:account.journal,pos_terminal_payment_mode:0 | ||
msgid "Card" | ||
msgstr "Kartica" | ||
|
||
#. module: pos_payment_terminal | ||
#: selection:account.journal,pos_terminal_payment_mode:0 | ||
msgid "Check" | ||
msgstr "Ček" | ||
|
||
#. module: pos_payment_terminal | ||
#: model:ir.model,name:pos_payment_terminal.model_account_journal | ||
msgid "Journal" | ||
msgstr "Dnevnik" | ||
|
||
#. module: pos_payment_terminal | ||
#: model:ir.model.fields,field_description:pos_payment_terminal.field_pos_config__iface_payment_terminal | ||
#: model_terms:ir.ui.view,arch_db:pos_payment_terminal.view_pos_config_form | ||
#, fuzzy | ||
msgid "Payment Terminal" | ||
msgstr "Način plaćanja" | ||
|
||
#. module: pos_payment_terminal | ||
#: model:ir.model,name:pos_payment_terminal.model_pos_config | ||
msgid "Point of Sale Configuration" | ||
msgstr "" | ||
|
||
#. module: pos_payment_terminal | ||
#: model:ir.model,name:pos_payment_terminal.model_pos_order | ||
msgid "Point of Sale Orders" | ||
msgstr "" | ||
|
||
#. module: pos_payment_terminal | ||
#: model:ir.model.fields,help:pos_payment_terminal.field_account_bank_statement_import_journal_creation__pos_terminal_payment_mode | ||
#: model:ir.model.fields,help:pos_payment_terminal.field_account_journal__pos_terminal_payment_mode | ||
msgid "Select the payment mode sent to the payment terminal" | ||
msgstr "Odaberite način plaćanja korišten na naplatnom terminalu" | ||
|
||
#. module: pos_payment_terminal | ||
#. openerp-web | ||
#: code:addons/pos_payment_terminal/static/src/xml/pos_payment_terminal.xml:17 | ||
#, python-format | ||
msgid "Start transaction" | ||
msgstr "Započni transakciju" | ||
|
||
#. module: pos_payment_terminal | ||
#: model:ir.model.fields,field_description:pos_payment_terminal.field_account_bank_statement_import_journal_creation__pos_terminal_payment_mode | ||
#: model:ir.model.fields,field_description:pos_payment_terminal.field_account_journal__pos_terminal_payment_mode | ||
#, fuzzy | ||
msgid "Terminal Payment Mode" | ||
msgstr "Način plaćanja" | ||
|
||
#~ msgid "pos.config" | ||
#~ msgstr "pos.config" |
Oops, something went wrong.