Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[14.0][MIG] pos_payment_terminal #572

Merged
merged 79 commits into from
Feb 18, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
79 commits
Select commit Hold shift + click to select a range
2dae345
Initial check-in of the module pos_payment_terminal.
Jul 10, 2014
4f86a06
Add dependancy on currency_iso_numeric.
Jul 10, 2014
0ecab88
pos_customer_display bugfix : new massage on deleting orderLine and f…
Jul 11, 2014
8306742
Fix copyright headers
Jul 11, 2014
2b068bb
pos_payment_terminal : bigger button for start transaction with touch…
Jul 20, 2014
db2f725
pos_payment_terminal: add missing css file
Oct 22, 2014
f14a00a
Remove currency_iso_numeric (replaced by pycountry)
Oct 23, 2014
d6f34f1
Add Spanish translation by Alejandro Amador (thanks for your contribu…
Nov 17, 2014
a1aaf1f
[FIX] Vicious bug that is invisible alone, but becomes visible when u…
Dec 30, 2014
7196103
PEP8
Jan 6, 2015
1a2ec15
Add license key in __openerp__.py
yvaucher Feb 6, 2015
c84df9b
Add OCA as author of OCA addons
gurneyalex Mar 2, 2015
3c8c0fb
pos_payment_terminal: Add POT file, FR translation and demo data
Apr 30, 2015
0e8aba4
Better XML header
Apr 30, 2015
7da0a55
pos_customer_display: Add button "Display Total to Customer" and port…
May 16, 2015
dac5cae
pos_payment_terminal: smiplify JS code
alexis-via Jun 8, 2015
aaa100b
FIX my previous commit: sent currency to POSbox
alexis-via Jun 12, 2015
0df197d
[FIX] bug #36 : take advantage of the recent update in the odoo codeb…
alexis-via Jul 6, 2015
48b8662
[UPD] prefix versions with 8.0
sbidoul Oct 9, 2015
7d46451
[MIG] Make modules uninstallable
pedrobaeza Oct 14, 2015
36aaf76
[MIG] Rename manifest files
pedrobaeza Oct 6, 2016
513dc12
begin of porting pos_payment_terminal to Odoo 9.0
yuntux May 17, 2016
b848b97
overload render_paymentlines
yuntux May 17, 2016
db109ed
FIX : multiple calls to action on 'start transaction' click event
yuntux May 21, 2016
f26da53
Add static/src/xml/templates.xml
yuntux Jul 10, 2016
57868e3
FIX crash on demo data
alexis-via Oct 10, 2016
6e2c5dc
Port pos_payment_terminal to v10
alexis-via Oct 10, 2016
3dbf26c
OCA Transbot updated translations from Transifex
oca-transbot Dec 17, 2016
091b5e1
OCA Transbot updated translations from Transifex
oca-transbot Jan 7, 2017
5abde4a
OCA Transbot updated translations from Transifex
oca-transbot Jun 10, 2017
733f7d0
OCA Transbot updated translations from Transifex
oca-transbot Jul 15, 2017
07bf44d
[FIX] fixes currencies with decimals <>2
Feb 9, 2018
3bab83f
OCA Transbot updated translations from Transifex
oca-transbot Mar 3, 2018
b18fac7
remove obsolete .pot files [ci skip]
sbidoul Jun 15, 2018
f863393
[UPD] Update pos_payment_terminal.pot
oca-travis Jun 22, 2018
89f07c6
Fix JS loading : module should only be loaded in pos
hparfr Oct 8, 2018
75e0051
Increment version number
hparfr Oct 8, 2018
bc964c4
[ADD] icon.png
OCA-git-bot Apr 3, 2019
b754b74
pos_payment_terminal: receive transaction refs
andreparames Feb 9, 2018
336a27c
pos_payment_terminal: inform user of transaction status
andreparames Mar 14, 2018
6fed7ea
pos_payment_terminal: use currency precision
andreparames May 3, 2018
ddc67cf
pos_payment_terminal: auto-validate orders with mixed payments
andreparames May 3, 2018
314633d
[FIX] pos_payment_terminal: Fix tests
rousseldenis Aug 29, 2019
63cec6b
[UPD] Update pos_payment_terminal.pot
oca-travis Aug 29, 2019
a0f47aa
Update translation files
oca-transbot Aug 29, 2019
54bfd86
[MIG] pos_payment_terminal
legalsylvain Jan 17, 2020
592c864
[MIG][12.0] pos_payment_terminal
legalsylvain Jan 18, 2020
72ea140
Update pos_payment_terminal/static/src/js/devices.js
legalsylvain Jan 24, 2020
5942e70
[REF] rename field
legalsylvain Jan 24, 2020
b6311de
fixup! [REF] rename field
legalsylvain Jan 24, 2020
10d2a3e
fixup! fixup! [REF] rename field
legalsylvain Jan 24, 2020
9477bcd
[UPD] Update pos_payment_terminal.pot
oca-travis Jan 24, 2020
f6aab78
[UPD] README.rst
OCA-git-bot Jan 24, 2020
0ac8cd5
Update translation files
oca-transbot Feb 11, 2020
2214c74
[UPD] Update pos_payment_terminal.pot
oca-travis Jul 20, 2020
573434f
Update translation files
oca-transbot Jul 20, 2020
16db543
Translated using Weblate (Spanish)
danimv5 Jul 27, 2020
72a1d59
Update translation files
oca-transbot Aug 16, 2020
1acb15e
[IMP] pos_payment_terminal : improve display of the loading button
legalsylvain Oct 6, 2020
e051f4e
[UPD] Update pos_payment_terminal.pot
oca-travis Nov 12, 2020
4fd9d4b
pos_payment_terminal 12.0.0.1.2
OCA-git-bot Nov 12, 2020
f2b71c6
Update translation files
oca-transbot Nov 12, 2020
f6da0ed
[UPD] Update pos_payment_terminal.pot
oca-travis Nov 12, 2020
730926b
Update translation files
oca-transbot Nov 12, 2020
83f5637
[IMP] pos_payment_terminal : improve the display of the button start…
legalsylvain Nov 12, 2020
5f76676
[UPD] Update pos_payment_terminal.pot
oca-travis Nov 13, 2020
2596166
pos_payment_terminal 12.0.0.1.3
OCA-git-bot Nov 13, 2020
6720ce0
Update translation files
oca-transbot Nov 13, 2020
bf564bc
[UPD] Update pos_payment_terminal.pot
oca-travis Nov 13, 2020
0534109
Update translation files
oca-transbot Nov 13, 2020
ab45556
[MIG] pos_payment_terminal to v14
alexis-via Dec 17, 2020
8222128
pos_payment_terminal: black, isort and pre-commit stuff
alexis-via Dec 17, 2020
a9b5e13
pos_payment_terminal: update README and screenshots
alexis-via Dec 17, 2020
5859bfa
pos_payment_terminal: remove commented lines
alexis-via Dec 17, 2020
1a50a80
pos_payment_terminal: fix lint issues
sbidoul Feb 16, 2021
d4f1f02
pos_payment_terminal: api conformity
sbidoul Feb 17, 2021
1089241
pos_payment_terminal: reject transactions with zero amount
sbidoul Feb 17, 2021
8bf0174
pos_payment_terminal: remove dead code
sbidoul Feb 17, 2021
50b2d40
Merge pull request #20 from acsone/14.0-mig-pos-payment-terminal-sbi
Feb 17, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
108 changes: 108 additions & 0 deletions pos_payment_terminal/README.rst
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.
1 change: 1 addition & 0 deletions pos_payment_terminal/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
20 changes: 20 additions & 0 deletions pos_payment_terminal/__manifest__.py
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,
}
79 changes: 79 additions & 0 deletions pos_payment_terminal/i18n/es.po
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"
80 changes: 80 additions & 0 deletions pos_payment_terminal/i18n/fr.po
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"
81 changes: 81 additions & 0 deletions pos_payment_terminal/i18n/hr_HR.po
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"
Loading