Repository
odoo/odoo · module folder
Module version
1.0
Category
Accounting/Payment Providers
Folder size
0.72 MB
License
LGPL-3
Application
No
Auto-installable
No
Website
None
Last tracking update
2026-08-15 22:44:21
Authors
Odoo S.A.
Maintainers
Odoo S.A.
Committers
Odoo Translation Bot, Julien Castiaux, Tiffany Chang (tic), Gorash, Antoine Vandevenne (anv), Valentin Chevalier, Pedram (PEBR), Andrew Gavgavian, Levi Siuzdak (sile), Dylan Kiss (dyki), Valeriya(vchu), Anita (anko), Louis (loti), Anton Romanova (roan), Valeriya (vchu), Mahdi Alijani (malj), anko-odoo, Eliott Loop (oplo-odoo), chpa-odoo
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
 

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
authorization_error authorization_error ir.ui.view qweb New
inline_form inline_form ir.ui.view qweb New
payment_mercado_pago.method_form payment_mercado_pago.method_form ir.ui.view qweb Inherits payment.method_form
payment_provider_form Mercado Pago Provider Form payment.provider form Inherits payment.payment_provider_form
redirect_form redirect_form ir.ui.view qweb New
HTTP endpoints (4)
Route(s)HandlerAuthTypeMethodsFlags
(inherited route override) MercadoPagoOnboardingController.mercado_pago_return_from_authorization user http GET website
/payment/mercado_pago/payments MercadoPagoPaymentController.mercado_pago_payment public jsonrpc ALL sudo
(inherited route override) MercadoPagoPaymentController.mercado_pago_return_from_checkout public http GET
(inherited route override) MercadoPagoPaymentController.mercado_pago_webhook public http POST csrf off
Models touched (3)

New fields (7)
  • code Selection
    ondelete={'mercado_pago': 'set default'} selection_add=[('mercado_pago', 'Mercado Pago')]
  • mercado_pago_access_token Char
    copy=False groups='base.group_system' string='Mercado Pago Access Token'
  • mercado_pago_access_token_expiry Datetime
    copy=False groups='base.group_system' string='Mercado Pago Access Token Expiry'
  • mercado_pago_account_country_id Many2one → res.country
    comodel_name='res.country' copy=False domain=[('code', 'in', list(const.SUPPORTED_COUNTRIES))] help='The country of the Mercado Pago account. The currency will be updated to match the country of the Mercado Pago account.' inverse='_inverse_mercado_pago_account_country_id' required_if_provider='mercado_pago' string='Mercado Pago Account Country'
  • mercado_pago_is_oauth_supported Boolean
    compute='_compute_mercado_pago_is_oauth_supported'
  • mercado_pago_public_key Char
    copy=False groups='base.group_system' string='Mercado Pago Public Key'
  • mercado_pago_refresh_token Char
    copy=False groups='base.group_system' string='Mercado Pago Refresh Token'
Public methods (1)
  • action_start_onboarding(self, menu_id=None)
    Override of `payment` to redirect to the Mercado Pago OAuth URL. Note: `self.ensure_one()` :param int menu_id: The menu from which the onboarding is started, as an `ir.ui.menu` id. :return: An URL action to redirect to the Mercado Pago OAuth URL. :rtype: dict :raise RedirectWarning: If the company's currency is not supported.

New fields (1)
  • mercado_pago_customer_id Char
    readonly=True
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

Loading…

Loading…

Loading…