[18.0][MIG] pos_payment_terminal: Migration to 18.0#1474
Open
[18.0][MIG] pos_payment_terminal: Migration to 18.0#1474
Conversation
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
…sed with the module pos_pay_invoice PEP8
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.
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
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
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
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.
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] README.rst
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/
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Migration to 18.0
UPDATED
_loader_params_pos_payment_methodis deprecated, use_load_pos_data_fieldsinpos.payment.methodmodel.register_payment_methodinstead of.NEW FEATURES
CONFIGUATION
ISSUE