Health
80/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 1 month ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 5 Odoo series since 16.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.69 MB
Module directory on disk
Code analysis
0 migration notes
3 models
3 views
3 HTTP endpoints
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
| (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 (10)
-
codeSelectionondelete={'razorpay': 'set default'}selection_add=[('razorpay', 'Razorpay')] -
razorpay_access_tokenCharcopy=Falsegroups='base.group_system'string='Razorpay Access Token' -
razorpay_access_token_expiryDatetimecopy=Falsegroups='base.group_system'string='Razorpay Access Token Expiry' -
razorpay_account_idCharcopy=Falsegroups='base.group_system'string='Razorpay Account ID' -
razorpay_is_oauth_supportedBooleancompute='_compute_razorpay_is_oauth_supported' -
razorpay_key_idCharcopy=Falsehelp='The key solely used to identify the account with Razorpay.'string='Razorpay Key Id' -
razorpay_key_secretCharcopy=Falsegroups='base.group_system'string='Razorpay Key Secret' -
razorpay_public_tokenCharcopy=Falsegroups='base.group_system'string='Razorpay Public Token' -
razorpay_refresh_tokenCharcopy=Falsegroups='base.group_system'string='Razorpay Refresh Token' -
razorpay_webhook_secretCharcopy=Falsegroups='base.group_system'string='Razorpay Webhook Secret'
-
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…
Loading…