Skip to content

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

Open
P-H-Phuc wants to merge 86 commits intoOCA:18.0from
P-H-Phuc:18.0-mig-pos_payment_terminal
Open

[18.0][MIG] pos_payment_terminal: Migration to 18.0#1474
P-H-Phuc wants to merge 86 commits intoOCA:18.0from
P-H-Phuc:18.0-mig-pos_payment_terminal

Conversation

@P-H-Phuc
Copy link
Copy Markdown

@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

Auélien DUMAINE and others added 25 commits April 9, 2026 18:13
pos_customer_display bugfix : new massage on deleting orderLine and fixing unit_price computation on adding orderLine

Fix copyright headers
PEP8 stuff
pos_customer_display: FIX JS code and make it more robust
Adapt JS code of pos_payment_terminal
Some cleanup
…tion !)

Move CSS definition from pos_payment_terminal_view.xml to pos_payment_terminal.xml
Small cleanups
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.
… 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
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
Fix indentation

Increment version number

[ADD] icon.png
sbidoul and others added 28 commits April 9, 2026 18:13
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.
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>
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.
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/
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/
- 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
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
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/
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
… the proxy + raise an error when its not properly configured

[UPD] Update pos_payment_terminal.pot

[BOT] post-merge updates
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/
@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
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.