-
-
Notifications
You must be signed in to change notification settings - Fork 526
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
[15.0][MIG] payment_redsys: Migration to version 15.0 #2968
Conversation
/ocabot migration payment_redsys |
The migration issue (#1866) has been updated to reference the current pull request. |
* Corregido error en caso de que refence no este informado, al renderizar la plantilla del boton de pago. * Corregido error que no permite pagar por transferencia al instalar el modulo payment_redsys * Añadidas descripciones de los productos de la cesta a la clave 'DS_Merchant_ProductDescription'.
* Make quotation sending optional when a transaction ends without error website_sale module already sends an e-mail with the confirmed order, so it May not be necessary to send another e-mail with the same order unconfirmed. * Add more Redsys frontend languages * Remove options tab
* Send quotation e-mail invoking force_quotation_send() instead of action_quotation_send() + send_mail() * The function send_mail() does not respect the context language so the email is always sent in English. * It's not necessary to create the function send_mail() to sent an email when exists the method force_quotation_send(). * Add detailed error info
…r payment + Default values for urk_KO and url_OK + option to print print sale report. Delete url_ok and url_ko fields + Redondeo de merchant_amount
The discount is shown on the order summary if the current user is a member of sale.group_discount_per_so_line group OCA Transbot updated translations from Transifex OCA Transbot updated translations from Transifex OCA Transbot updated translations from Transifex
[IMP] payment_redsys: Allow partial payment by percent
Includes to allow show order for unauthenticated users
When we have an order sequence of length six (SO123456), the signature process fails with the following message: Server Error: We are not able to redirect you to the payment form. 'str' object has no attribute 'decode'
Currently translated at 71.6% (48 of 67 strings) Translation: l10n-spain-12.0/l10n-spain-12.0-payment_redsys Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-12-0/l10n-spain-12-0-payment_redsys/es/ Translated using Weblate (Spanish) Currently translated at 100.0% (67 of 67 strings) Translation: l10n-spain-12.0/l10n-spain-12.0-payment_redsys Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-12-0/l10n-spain-12-0-payment_redsys/es/ Translated using Weblate (Spanish) Currently translated at 100.0% (67 of 67 strings) Translation: l10n-spain-12.0/l10n-spain-12.0-payment_redsys Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-12-0/l10n-spain-12-0-payment_redsys/es/
- JSON request: For a JSON request there's no website attribute. This is the case for payment links. We try to fallback to context if it has the `website_id` in it. Otherwise, `web.base.url` will be our last resource as usual. TT34154 - wrong reference TT34312
pycrypto is unmaintained since several ago, and in fact pycryptodome was the library being used in previous version. The API we are using is compatible between both libraries though. There's no problem for already deployed systems, as the check on the external dependencies is only done at install. We took the occasion to remove the try mechanism that is not needed now, although the linter emits a warning.
We're sending the string template without parameters to the method _set_transcation_error() so no info is shown. TT41589
1f2f27f
to
e31ff41
Compare
/ocabot merge nobump |
On my way to merge this fine PR! |
@pedrobaeza your merge command was aborted due to failed check(s), which you can inspect on this commit of 15.0-ocabot-merge-pr-2968-by-pedrobaeza-bump-nobump. After fixing the problem, you can re-issue a merge command. Please refrain from merging manually as it will most probably make the target branch red. |
/ocabot merge nobump |
What a great day to merge this nice PR. Let's do it! |
@pedrobaeza your merge command was aborted due to failed check(s), which you can inspect on this commit of 15.0-ocabot-merge-pr-2968-by-pedrobaeza-bump-nobump. After fixing the problem, you can re-issue a merge command. Please refrain from merging manually as it will most probably make the target branch red. |
/ocabot merge nobump |
This PR looks fantastic, let's merge it! |
Congratulations, your PR was merged at 3cca688. Thanks a lot for contributing to OCA. ❤️ |
Thanks @sergio-teruel @OCA-git-bot @pedrobaeza Having a issue, cannot install on latest 15 - Odoo 15.0-20230331 (Versión Community). Please, might you try installing, please, on your side ? Appreciate
|
The log entry is ripped and the significant part is missing, but anyway, that seems something on your side, as the module installs in a fresh DB like the runboat. |
Yes, you are 100% right. Apologies. Tried on a fresh DB and instalaltion OK. Me, should have read carefully the detailed error log. Our fault: we are on running database and probably issue is due to an older module previously installed:
Again, apologies !! Best regards |
cc @Tecnativa
ping @chienandalu @CarlosRoca13 @luisplanes
superseded #2149 and last changes
@luisplanes Te he añadido como autor y contrubuidor por los cambios de tu PR. Gracias.