OdooWiki OCA HUB

Partner Payment Return Risk

account_payment_return_financial_risk folder_open OCA/credit-control open_in_new
Sales Management License: AGPL-3

Extends Account Financial Risk to manage payments returns.

If any limit is exceed the partner gets forbidden to confirm sale orders.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Adds a new risk category for returned customer payments on the partner form, so you can set a limit and include returned payments in the partner's financial risk. When the limit is exceeded, the partner is blocked from confirming sale orders.

This module extends the financial risk controls already available on customer and vendor records. On the partner form, in the risk section, you now see three new items:

  • "Include Payments Returns": a checkbox that decides whether returned payments count towards the partner's total risk.
  • "Limit Payments Returns": a money field where you set the maximum amount of returned payments allowed. Set it to 0 if you do not want this limit to block anything.
  • "Total Payments Returns": a computed amount, shown as a clickable link that opens a pivot view of the underlying journal items.

The total is calculated automatically from unpaid receivable journal items that are linked to returned payments. The module also changes how the existing risk totals are computed: journal items that have been returned are excluded from the normal open and unpaid risk amounts, and are counted separately in the new returned-payments risk.

Because the new risk field is added to the list of risk fields checked by the financial risk engine, the usual blocking rules apply: if the returned-payments total goes above the limit you set, the partner is prevented from confirming sale orders. The module touches res.partner and the risk computation on account.move.line.

Models and fields (1)
  • res.partner · extends an existing modelrisk_payment_return (Total Payments Returns), risk_payment_return_limit (Limit Payments Returns), risk_payment_return_include (Include Payments Returns)

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: 7 confirmed, 2 with no information of 9 versions.

Sources · Odoo 14.0

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

terminal Installation and usage

OCA documentation · Odoo 18.0

Refer to the module 'account_financial_risk' configuration for the initial steps

To use this module, you need to:

  • Go to Customers \> Financial Risk
  • Set limits and choose options to compute in credit limit.
  • Create an invoice and pay it.
  • Create a payment return.
  • Go to Invoicing/Accounting \> Customers \> Invoices and create new customer invoices.
  • Test the restriction trying to create an invoice for the partner for an amount higher of the limit you have set.

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.