odoo/odoo#159649
Created by fw-bot
Merged
at 41ff4d4712989a1bc7e4cf5e5379313d8fb511fd
- label
- odoo-dev:saas-17.2-16.0-sentry-5103720097-typeerror-mercado-pago-payment-alsh-iXru-fw
- head
- 4ba326778cfb208ab5cb9b89505ae79cd925239c
- target
- saas-17.2
- merged
- 2 months 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