Repository
odoo/odoo · module folder
Module version
1.0
Category
Accounting/Payment Providers
Folder size
0.59 MB
License
LGPL-3
Application
No
Auto-installable
No
Website
None
Last tracking update
2026-08-18 22:14:45
Authors
Odoo S.A.
Maintainers
Odoo S.A.
Committers
Odoo Translation Bot, Julien Castiaux, Tiffany Chang (tic), Gorash, Jigar Vaghela, Antoine Vandevenne (anv), Valentin Chevalier, Pedram (PEBR), Dylan Kiss (dyki), Valeriya(vchu), Anita (anko), Louis (loti), kcv-odoo, mega, Louis Gobert, Pierre Lamotte (pila), Anton Romanova (roan), nikj-odoo, Valeriya (vchu), Shrey Mehta, shka-odoo, chpa-odoo
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
 

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
authorization_error Authorization Error ir.ui.view qweb New
payment_provider_form_razorpay Razorpay Provider Form payment.provider form Inherits payment.payment_provider_form
token_inline_form token_inline_form ir.ui.view qweb New
HTTP endpoints (3)
Route(s)HandlerAuthTypeMethodsFlags
(inherited route override) RazorpayController.razorpay_return_from_authorization user http GET website
(inherited route override) RazorpayController.razorpay_return_from_checkout public http POST csrf off sudo
(inherited route override) RazorpayController.razorpay_webhook public http POST csrf off sudo
Models touched (3)

New fields (9)
  • code Selection
    ondelete={'razorpay': 'set default'} selection_add=[('razorpay', 'Razorpay')]
  • razorpay_access_token Char
    copy=False groups='base.group_system' string='Razorpay Access Token'
  • razorpay_access_token_expiry Datetime
    copy=False groups='base.group_system' string='Razorpay Access Token Expiry'
  • razorpay_account_id Char
    copy=False groups='base.group_system' string='Razorpay Account ID'
  • razorpay_key_id Char
    copy=False help='The key solely used to identify the account with Razorpay.' string='Razorpay Key Id'
  • razorpay_key_secret Char
    copy=False groups='base.group_system' string='Razorpay Key Secret'
  • razorpay_public_token Char
    copy=False groups='base.group_system' string='Razorpay Public Token'
  • razorpay_refresh_token Char
    copy=False groups='base.group_system' string='Razorpay Refresh Token'
  • razorpay_webhook_secret Char
    copy=False groups='base.group_system' string='Razorpay Webhook Secret'
Public methods (2)
  • action_razorpay_create_webhook(self)
    Create a webhook and display a toast notification. Note: `self.ensure_one()` :return: The feedback notification. :rtype: dict
  • action_start_onboarding(self, menu_id=None)
    Override of `payment` to redirect to the Razorpay 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 Razorpay OAuth URL. :rtype: dict :raise RedirectWarning: If the company's currency is not supported.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

Loading…

Loading…

Loading…