-
-
Notifications
You must be signed in to change notification settings - Fork 603
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
Conversation
…ixing unit_price computation on adding orderLine
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
…sed with the module pos_pay_invoice
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
…debase to properly get the 'name' of the currency
@alexis-via this is not finished, right ? This module needs to support send_payment_cancel and send_payment_request must return a promise that manages the transaction status via the Are you or @PierrickBrun working on this these days ? Shall we coordinate or efforts ? |
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.
@alexis-via I made this PR green in akretion#20 and improved it a little bit. Now I'll work on handling the transaction statuses from the payment terminal drivers, compatible with pywebdriver. |
[14.0] pos_payment_terminal migration improvements
@ivantodorovich @legalsylvain your review comments have been processed. |
BTW, when the transaction has been sent to the terminal, this is what happens in the POS - I post this so others don't have to research why this is normal :) This is normal behaviour until we have transaction status from the driver: the user has to manually confirm that the transaction suceeded by clicking "Force done". The "Connection error" message is hard coded in Odoo. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 👍
Please squash migration commits before merging
Well, there are two authors and this is more a rewrite than a migration, and the commit history helps understand why things are as they are. |
I'd at least clean a bit the commits, whilst keeping the authors For instance there are commits like
It's also a good opportunity to clean the previous history. as well as the usual administrative commits
https://github.com/OCA/maintainer-tools/wiki/Merge-commits-in-pull-requests |
This PR has the |
I try to make small commits that are easy to review, and also sufficiently atomic that they are easy to revert. I also strive to not rewrite past history. Anyway, I can't do the squashing myself here as this is not a branch I own. |
I'm not blocking in this 👍🏻 |
/ocabot merge nobump |
What a great day to merge this nice PR. Let's do it! |
Congratulations, your PR was merged at c7e3587. Thanks a lot for contributing to OCA. ❤️ |
This PR works and has been tested on real Ingenico card reader (for France, with Telium) connected via pywebdriver (master branch).
It is a full re-write of the module, in order to take advantage of the new payment interface JS framework of Odoo POS.
FR translation updated.