sale_financial_risk_info
Extend sales orders with partner financial risk consumption details derived from the account financial risk module.
Key Features
- res.partner: Adds a warning threshold percentage that controls when associated sales risk info is flagged as dangerous.
- sale.order: Computes an HTML credit risk summary per order showing usage, limit, percentage, and available amount using the invoicing partner's figures.
- sale.order: Highlights the risk summary in red when the customer's credit usage exceeds their warning threshold and falls back to Unlimited when no limit is set.
- sale.order: Exposes related fields for remaining credit value and percentage from the invoicing partner for reuse in views and reports.
- configuration: Allows administrators to customize the risk summary format via the sale_financial_risk_info.info_pattern parameter.