OdooWiki OCA HUB

Website Sale Financial Risk

website_sale_financial_risk folder_open OCA/credit-control open_in_new
E-Commerce License: AGPL-3

If a customer has sufficient credit, they can complete their purchase by paying with a specific payment method. In this case, the order is automatically confirmed.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Adds an 'On Credit' payment option to your website checkout. Customers with enough remaining credit can confirm their order without paying immediately.

This module adds a new payment method called 'On Credit' to the online shop. When a customer reaches checkout, the 'On Credit' option only appears if they have a credit limit set and their remaining credit is at least the order total. The checkout page also shows the customer's financial risk information so they can see their available credit.

If the customer chooses 'On Credit', the order is automatically confirmed and the payment is registered as pending, waiting to be invoiced later. The customer sees a message explaining that the order is confirmed on credit and that payment is pending invoicing.

  • The payment provider is created automatically with the name 'On Credit' and the code 'credit'.
  • A payment method for accounting is also created with the name 'Credit'.
  • The checkout page displays the customer's credit information from the account_financial_risk module.
  • The order is confirmed automatically when the credit payment is processed.
  • The transaction remains in a 'pending' state, and the customer is redirected to the payment status page.

This module touches the payment.provider, payment.transaction, and sale.order models, and adds a new payment provider and payment method.

Depends on

Models and fields (2)
  • payment.provider · extends an existing modelcode
  • payment.transaction · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 2 confirmed, 7 with no information of 9 versions.

Sources · Odoo 18.0

Confirmed on 2026-11-03 in branch 18.0 of OCA/credit-control.

terminal Installation and usage

OCA documentation · Odoo 18.0

Activate the ‘On credit’ payment provider and publish it on the website so that it is available in the order payment process. Set a credit limit and configure financial risk settings as described in the account_financial_risk module. If the configuration has been set to display credit information on the portal, this information will also be displayed during the checkout process.

Place an order in the online store. If you have credit available and the order amount does not exceed the available credit, you can place the order by selecting credit as the payment method.

No verified information in OCA: Installation.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.