odoo/odoo#159609
Created by fw-bot
Merged
at b33480a431a3708681478b7b556e97b351c0e3b2
- label
- odoo-dev:saas-16.4-16.0-sentry-5103720097-typeerror-mercado-pago-payment-alsh-LKcV-fw
- head
- 3aa9de02cd32588d23a50a6c8bda47bfdedbe3cb
- target
- saas-16.4
- merged
- 1 month ago by Altaf Shaik (alsh)
- forward-port of
- odoo/odoo#159433
[FW][FIX] payment_mercado_pago: fix traceback when the payment status is 404
This traceback arises when the payment status is 404.
A comma at the end is forgotten while creating a tuple with a single record,
which leads to a type error traceback.
Error:- "TypeError: 'in <string>' requires string as left operand, not int"
https://github.com/odoo/odoo/blob/7e3267fc69324a3c98d36983705a50420b5143f9/addons/payment_mercado_pago/const.py#L35-L39
https://github.com/odoo/odoo/blob/7e3267fc69324a3c98d36983705a50420b5143f9/addons/payment_mercado_pago/models/payment_transaction.py#L165-L170
sentry-5103720097
Forward-Port-Of: odoo/odoo#159526
Forward-Port-Of: odoo/odoo#159433