Skip to content

[18.0][MIG] pos_payment_terminal: Migration to 18.0#1474

Merged
OCA-git-bot merged 40 commits intoOCA:18.0from
P-H-Phuc:18.0-mig-pos_payment_terminal
Apr 20, 2026
Merged

[18.0][MIG] pos_payment_terminal: Migration to 18.0#1474
OCA-git-bot merged 40 commits intoOCA:18.0from
P-H-Phuc:18.0-mig-pos_payment_terminal

Conversation

@P-H-Phuc
Copy link
Copy Markdown
Contributor

@P-H-Phuc P-H-Phuc commented Jan 22, 2026

Migration to 18.0

UPDATED

  • Refactor js file
  • Remove pos_session.py:
    • _loader_params_pos_payment_method is deprecated, use _load_pos_data_fields in pos.payment.method model.
  • Using register_payment_method instead of.

NEW FEATURES

  • Add "OCA Payment Terminal" field to use the Proxy.
  • Add "Hide Back Button" field to prevent from returning to basket from payment screen when a payment line exists.
  • Add "Fast Payment" field to auto send request to the terminal.

CONFIGUATION

  • Go to Point of Sale > Configuration > Payment Methods
image
  • Go to Point of Sale > Configuration > Settings, add payment method to PoS and config IoT Box
2025-12-22_17-25 image

ISSUE

Copy link
Copy Markdown
Contributor

@ivantodorovich ivantodorovich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/ocabot migration pos_payment_terminal

@OCA-git-bot OCA-git-bot added this to the 18.0 milestone Apr 9, 2026
@OCA-git-bot OCA-git-bot mentioned this pull request Apr 9, 2026
33 tasks
@ivantodorovich
Copy link
Copy Markdown
Contributor

/ocabot rebase

@OCA-git-bot
Copy link
Copy Markdown
Contributor

Congratulations, PR rebased to 18.0.

@OCA-git-bot OCA-git-bot force-pushed the 18.0-mig-pos_payment_terminal branch from 86f3580 to 5b9010d Compare April 9, 2026 18:13
Copy link
Copy Markdown

@metaminux metaminux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@P-H-Phuc P-H-Phuc force-pushed the 18.0-mig-pos_payment_terminal branch from 5b9010d to e47f962 Compare April 20, 2026 08:20
@OCA-git-bot OCA-git-bot added series:18.0 mod:pos_payment_terminal Module pos_payment_terminal labels Apr 20, 2026
rousseldenis and others added 18 commits April 20, 2026 15:24
[IMP] pos_order_to_sale_order: Added option to print sale pdf

[UPD] Update pos_order_to_sale_order.pot

[BOT] post-merge updates

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: pos-18.0/pos-18.0-pos_order_to_sale_order
Translate-URL: https://translation.odoo-community.org/projects/pos-18-0/pos-18-0-pos_order_to_sale_order/

[FIX] pos_product_display_default_code: skip opening control in test tour

[BOT] post-merge updates

Initial check-in of the module pos_payment_terminal.

Add dependancy on currency_iso_numeric.

pos_customer_display bugfix : new massage on deleting orderLine and fixing unit_price computation on adding orderLine

Fix copyright headers
PEP8 stuff

pos_payment_terminal : bigger button for start transaction with touchscreen

pos_payment_terminal: add missing css file
pos_customer_display: FIX JS code and make it more robust

Remove currency_iso_numeric (replaced by pycountry)
Adapt JS code of pos_payment_terminal
Some cleanup

Add Spanish translation by Alejandro Amador (thanks for your contribution !)
Move CSS definition from pos_payment_terminal_view.xml to pos_payment_terminal.xml
Small cleanups

[FIX] Vicious bug that is invisible alone, but becomes visible when used with the module pos_pay_invoice

PEP8
Add OCA as author of OCA addons

In order to get visibility on https://www.odoo.com/apps the OCA board has
decided to add the OCA as author of all the addons maintained as part of the
association.

pos_payment_terminal: Add POT file, FR translation and demo data

Better XML header
… to new API

pos_payment_terminal: code cleanup
Move description from __openerp__.py to README.rst
Update demo data

FIX my previous commit: sent currency to POSbox

[FIX] bug OCA#36 : take advantage of the recent update in the odoo codebase to properly get the 'name' of the currency
[MIG] Make modules uninstallable

[MIG] Rename manifest files
OCA Transbot updated translations from Transifex

OCA Transbot updated translations from Transifex

OCA Transbot updated translations from Transifex

OCA Transbot updated translations from Transifex

[FIX] fixes currencies with decimals <>2

OCA Transbot updated translations from Transifex

remove obsolete .pot files [ci skip]

[UPD] Update pos_payment_terminal.pot
Fix indentation

Increment version number

[ADD] icon.png
Provide a mechanism to send the order UID to the payment terminal,
which can then pass the transaction reference generated by the
payment provider back to Odoo, and which is then added to the
order payment lines. This allows their subsequent reconciliation.
The order is also automatically validated when the payment
finishes.
[FIX] pos_payment_terminal: Fix tests

[UPD] Update pos_payment_terminal.pot

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: pos-10.0/pos-10.0-pos_payment_terminal
Translate-URL: https://translation.odoo-community.org/projects/pos-10-0/pos-10-0-pos_payment_terminal/
Update pos_payment_terminal/static/src/js/devices.js

Co-Authored-By: Iván Todorovich <ivan.todorovich@druidoo.io>

[REF] rename field

[UPD] Update pos_payment_terminal.pot

[UPD] README.rst

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: pos-12.0/pos-12.0-pos_payment_terminal
Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_payment_terminal/

[UPD] Update pos_payment_terminal.pot

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: pos-12.0/pos-12.0-pos_payment_terminal
Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_payment_terminal/

Translated using Weblate (Spanish)

Currently translated at 100.0% (10 of 10 strings)

Translation: pos-12.0/pos-12.0-pos_payment_terminal
Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_payment_terminal/es/

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: pos-12.0/pos-12.0-pos_payment_terminal
Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_payment_terminal/
legalsylvain and others added 22 commits April 20, 2026 15:25
Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: pos-12.0/pos-12.0-pos_payment_terminal
Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_payment_terminal/

[UPD] Update pos_payment_terminal.pot

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: pos-12.0/pos-12.0-pos_payment_terminal
Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_payment_terminal/
…transaction

[UPD] Update pos_payment_terminal.pot
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: pos-12.0/pos-12.0-pos_payment_terminal
Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_payment_terminal/

[UPD] Update pos_payment_terminal.pot

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: pos-12.0/pos-12.0-pos_payment_terminal
Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_payment_terminal/
It is a full re-write of the module, in order to take advantage of the new
payment interface JS framework of Odoo POS
Update FR translation
pos_payment_terminal: update README and screenshots

pos_payment_terminal: remove commented lines

pos_payment_terminal: fix lint issues
Have send_payment_request return a promise as requested by the
documentation. This open the door to handling the transaction status
reported by the terminal driver asynchronously.

Also, catch errors when sending the transaction start command.
[UPD] Update pos_payment_terminal.pot

[UPD] README.rst
pos.proxy.message does not raise a proper error apparently,
so we can't access error.stack.
… used

Without this, the driver proxy would only activate if another device
is enabled in the POS config (such as a printer or customer display).
This prevented using a configuration where the oca payment terminal
is the only connected device.
[UPD] Update pos_payment_terminal.pot

[UPD] README.rst
Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: pos-14.0/pos-14.0-pos_payment_terminal
Translate-URL: https://translation.odoo-community.org/projects/pos-14-0/pos-14-0-pos_payment_terminal/
Co-authored-by: Tom Blauwendraat <tom@sunflowerweb.nl>

[FIX] pos_payment_terminal: reject cancellation

Since we can't cancel the transaction, we return a rejected
promise. The user should cancel manually which will
effectively free the transaction and let the user delete it.

[UPD] Update pos_payment_terminal.pot
Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: pos-14.0/pos-14.0-pos_payment_terminal
Translate-URL: https://translation.odoo-community.org/projects/pos-14-0/pos-14-0-pos_payment_terminal/

Translated using Weblate (Italian)

Currently translated at 21.4% (3 of 14 strings)

Translation: pos-14.0/pos-14.0-pos_payment_terminal
Translate-URL: https://translation.odoo-community.org/projects/pos-14-0/pos-14-0-pos_payment_terminal/it/

[IMP] pos_payment_terminal: black, isort, prettier
- Moved asset definiton to manifest
- pos.proxy was moved to pos.env.proxy
- Adapted models.js to new class structure of point_of_sale.models

[UPD] Update pos_payment_terminal.pot

[UPD] README.rst

pos_payment_terminal 16.0.1.0.1

Translated using Weblate (Italian)

Currently translated at 100.0% (14 of 14 strings)

Translation: pos-16.0/pos-16.0-pos_payment_terminal
Translate-URL: https://translation.odoo-community.org/projects/pos-16-0/pos-16-0-pos_payment_terminal/it/

Translated using Weblate (Italian)

Currently translated at 100.0% (14 of 14 strings)

Translation: pos-16.0/pos-16.0-pos_payment_terminal
Translate-URL: https://translation.odoo-community.org/projects/pos-16-0/pos-16-0-pos_payment_terminal/it/

Translated using Weblate (Spanish)

Currently translated at 28.5% (4 of 14 strings)

Translation: pos-16.0/pos-16.0-pos_payment_terminal
Translate-URL: https://translation.odoo-community.org/projects/pos-16-0/pos-16-0-pos_payment_terminal/es/

Translated using Weblate (Italian)

Currently translated at 100.0% (14 of 14 strings)

Translation: pos-16.0/pos-16.0-pos_payment_terminal
Translate-URL: https://translation.odoo-community.org/projects/pos-16-0/pos-16-0-pos_payment_terminal/it/

Translated using Weblate (Spanish)

Currently translated at 100.0% (14 of 14 strings)

Translation: pos-16.0/pos-16.0-pos_payment_terminal
Translate-URL: https://translation.odoo-community.org/projects/pos-16-0/pos-16-0-pos_payment_terminal/es/

[UPD] README.rst

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: pos-16.0/pos-16.0-pos_payment_terminal
Translate-URL: https://translation.odoo-community.org/projects/pos-16-0/pos-16-0-pos_payment_terminal/

Translated using Weblate (Spanish)

Currently translated at 100.0% (12 of 12 strings)

Translation: pos-16.0/pos-16.0-pos_payment_terminal
Translate-URL: https://translation.odoo-community.org/projects/pos-16-0/pos-16-0-pos_payment_terminal/es/

Translated using Weblate (Italian)

Currently translated at 100.0% (12 of 12 strings)

Translation: pos-16.0/pos-16.0-pos_payment_terminal
Translate-URL: https://translation.odoo-community.org/projects/pos-16-0/pos-16-0-pos_payment_terminal/it/

[FIX] eslint error 'no-shadow' in all modules

[FIX] eslint error 'eqeqeq' in all modules

[BOT] post-merge updates

[FIX] check current config payment methods to force or not the use of the proxy + raise an error when its not properly configured

[UPD] Update pos_payment_terminal.pot

[BOT] post-merge updates

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: pos-16.0/pos-16.0-pos_payment_terminal
Translate-URL: https://translation.odoo-community.org/projects/pos-16-0/pos-16-0-pos_payment_terminal/

Translated using Weblate (Italian)

Currently translated at 100.0% (13 of 13 strings)

Translation: pos-16.0/pos-16.0-pos_payment_terminal
Translate-URL: https://translation.odoo-community.org/projects/pos-16-0/pos-16-0-pos_payment_terminal/it/
@P-H-Phuc P-H-Phuc force-pushed the 18.0-mig-pos_payment_terminal branch from e47f962 to 2e86b44 Compare April 20, 2026 08:25
@ivantodorovich
Copy link
Copy Markdown
Contributor

/ocabot merge nobump

@OCA-git-bot
Copy link
Copy Markdown
Contributor

On my way to merge this fine PR!
Prepared branch 18.0-ocabot-merge-pr-1474-by-ivantodorovich-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit f3b52cf into OCA:18.0 Apr 20, 2026
5 of 7 checks passed
@OCA-git-bot
Copy link
Copy Markdown
Contributor

Congratulations, your PR was merged at c3bc83c. Thanks a lot for contributing to OCA. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.