Skip to content
Health
80/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 1 month ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 13 Odoo series since 8.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
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.77 MB
Module directory on disk
Code analysis 0 migration notes 3 models 5 views 6 HTTP endpoints

Description

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 5

XML IDNameModelTypeStatus
inline_form inline_form ir.ui.view qweb New
payment_paypal.method_form payment_paypal.method_form ir.ui.view qweb Inherits payment.method_form
payment_provider_form PayPal Provider Form payment.provider form Inherits payment.payment_provider_form
payment_submit_button_inherit payment_submit_button_inherit ir.ui.view qweb Inherits payment.submit_button
payment_transaction_form PayPal Transaction Form payment.transaction form Inherits payment.payment_transaction_form

HTTP endpoints 6

Route(s)HandlerAuthTypeMethodsFlags
(inherited route override) PaypalController.paypal_cancel_payment public http GET sudo
(inherited route override) PaypalController.paypal_complete_order public jsonrpc POST sudo
(inherited route override) PaypalController.paypal_return_from_checkout public http GET sudo
(inherited route override) PaypalController.paypal_webhook public http POST csrf off sudo
(inherited route override) PaypalOnboardingController.finalize_onboarding user jsonrpc ALL
(inherited route override) PaypalOnboardingController.init_onboarding user jsonrpc ALL

Models touched 3

New fields (12)
  • code Selection
    ondelete={'paypal': 'set default'} selection_add=[('paypal', 'PayPal')]
  • paypal_access_token Char
    copy=False groups='base.group_system' help='The short-lived token used to access Paypal APIs' string='PayPal Access Token'
  • paypal_access_token_expiry Datetime
    copy=False default='1970-01-01' groups='base.group_system' help='The moment at which the access token becomes invalid.' string='PayPal Access Token Expiry'
  • paypal_account_id Char
    copy=False string='PayPal Seller Account ID'
  • paypal_client_id Char
    copy=False string='PayPal Client ID'
  • paypal_client_secret Char
    copy=False groups='base.group_system' string='PayPal Client Secret'
  • paypal_email_account Char
    copy=False default=<expr> help='The public business email solely used to identify the account with PayPal' string='PayPal Email'
  • paypal_email_confirmed Boolean
    copy=False
  • paypal_is_oauth_onboarded Boolean
    copy=False
  • paypal_payments_receivable Boolean
    copy=False
  • paypal_seller_nonce Char
    copy=False
  • paypal_webhook_id Char
    copy=False string='PayPal Webhook ID'
Public methods (4)
  • action_paypal_create_webhook(self)
    Create a new webhook. Note: This action only works for instances using a public URL. :return: None :raise UserError: If the base URL is not in HTTPS.
  • action_paypal_update_onboarding_status(self)
    Update the providers with the status of their merchant account. :return: True :rtype: bool :raise UserError: If the merchant account id of a provider is missing.
  • action_reset_credentials(self)
    Override of `payment` to trigger a hard reload on the page when credentials are reset. This is necessary because the PayPal SDK is single-use and must be loaded again. :return: The action to reload the page. :rtype: dict
  • action_start_onboarding(self, menu_id=None)
    Override of `payment` to start the OAuth onboarding in the client.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • paypal_setup_token_ref Char
    string='PayPal Setup Token ID'
  • paypal_type Char
    string='PayPal Transaction Type'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…