Repository
OCA/credit-control · module folder · Try on Runboat
Module version
1.0.0
Category
Sales
Folder size
0.18 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/credit-control
Last tracking update
2026-08-07 09:06:36
Authors
Akretion, Odoo Community Association (OCA)
Maintainers
Akretion, Odoo Community Association (OCA)
Committers
Christopher Rogos, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
account_invoice_overdue_warn_sale
Description
This module adds a warning banner on the customer form view when it has
overdue invoices. The banner informs the user about the number of
overdue invoices and the total overdue amount. It contains a link to see
the corresponding overdue invoices.

![](static/description/partner_overdue_invoice_warn.png)

If you also install the module *account_invoice_overdue_warn_sale*, you
will have the same banner on the form view of quotations and sale
orders.

Implementation details:

- in a multi-company configuration, the overdue invoices taken into
  account are the invoices of the company of the partner, or, if the
  partner is not attached to a company, in the current company.
- the overdue amount is in the company currency.
- the overdue banner is displayed on the parent partner and also all its
  contacts. The overdue invoices taken into account are all the overdue
  invoices of the parent partners and all its contacts.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_partner_form_overdue_warn res.partner form Inherits base.view_partner_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (1)

New fields (2)
  • overdue_invoice_amount Monetary
    compute='_compute_overdue_invoice_count_amount' compute_sudo=True help='Overdue invoice total residual amount in company currency.' string='Overdue Invoices Residual'
  • overdue_invoice_count Integer
    compute='_compute_overdue_invoice_count_amount' compute_sudo=True string='# of Overdue Invoices'
Public methods (1)
  • jump_to_overdue_invoices(self)

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…