Warning on Overdue Invoices - Sale

account_invoice_overdue_warn_sale
REPOSITORY
REPOSITORYOCA/credit-control
GIT
GIThttps://github.com/OCA/credit-control.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/credit-control/tree/19.0/account_invoice_overdue_warn_sale
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSales/Sales
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Christopher Rogos
WEBSITE
WEBSITEhttps://github.com/OCA/credit-control
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:40:50
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/credit-control:
    - account_invoice_overdue_warn
odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - account_payment
    - account
    - onboarding
    - product
    - uom
    - analytic
    - portal
    - http_routing
    - auth_signup
    - digest
    - resource
    - payment
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module adds a warning banner on quotation and sale order form view
when the invoicing partner 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/sale_order_overdue_invoice_warn.png)

This module depends on the module *account_invoice_overdue_warn* which
adds the same banner on the form view of partners.

Implementation details:

- in a multi-company configuration, the overdue invoices taken into
  account are the invoices of the company of the sale order.
- the overdue amount is in the company currency.
- the overdue invoices taken into account are all the overdue invoices
  of the parent partner of the invoicing partner of the order and of all
  its contacts.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_order_form sale.order xpath Inherits sale.view_order_form
Models touched (1)

New fields (4)
  • commercial_partner_invoicing_id Many2one
    related='partner_invoice_id.commercial_partner_id' string='Commercial Invoicing Partner'
  • company_currency_id Many2one
    related='company_id.currency_id' store=True string='Company Currency'
  • overdue_invoice_amount Monetary
    compute='_compute_overdue_invoice_count_amount' compute_sudo=True currency_field='company_currency_id' help='Overdue invoices total residual amount of the invoicing partner 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)
REPOSITORY
REPOSITORYOCA/credit-control
GIT
GIThttps://github.com/OCA/credit-control.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/credit-control/tree/18.0/account_invoice_overdue_warn_sale
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSales/Sales
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, François Honoré, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/credit-control
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:18
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/credit-control:
    - account_invoice_overdue_warn
odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - account_payment
    - account
    - onboarding
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - payment
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module adds a warning banner on quotation and sale order form view
when the invoicing partner 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/sale_order_overdue_invoice_warn.png)

This module depends on the module *account_invoice_overdue_warn* which
adds the same banner on the form view of partners.

Implementation details:

- in a multi-company configuration, the overdue invoices taken into
  account are the invoices of the company of the sale order.
- the overdue amount is in the company currency.
- the overdue invoices taken into account are all the overdue invoices
  of the parent partner of the invoicing partner of the order and of all
  its contacts.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_order_form sale.order xpath Inherits sale.view_order_form
Models touched (1)

New fields (4)
  • commercial_partner_invoicing_id Many2one
    related='partner_invoice_id.commercial_partner_id' string='Commercial Invoicing Partner'
  • company_currency_id Many2one
    related='company_id.currency_id' store=True string='Company Currency'
  • overdue_invoice_amount Monetary
    compute='_compute_overdue_invoice_count_amount' compute_sudo=True currency_field='company_currency_id' help='Overdue invoices total residual amount of the invoicing partner 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)
REPOSITORY
REPOSITORYOCA/credit-control
GIT
GIThttps://github.com/OCA/credit-control.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/credit-control/tree/17.0/account_invoice_overdue_warn_sale
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSales/Sales
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Roger
WEBSITE
WEBSITEhttps://github.com/OCA/credit-control
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:10
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/credit-control:
    - account_invoice_overdue_warn
odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - account_payment
    - account
    - onboarding
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - payment
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module adds a warning banner on quotation and sale order form view
when the invoicing partner 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/sale_order_overdue_invoice_warn.png)

This module depends on the module *account_invoice_overdue_warn* which
adds the same banner on the form view of partners.

Implementation details:

- in a multi-company configuration, the overdue invoices taken into
  account are the invoices of the company of the sale order.
- the overdue amount is in the company currency.
- the overdue invoices taken into account are all the overdue invoices
  of the parent partner of the invoicing partner of the order and of all
  its contacts.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_order_form sale.order xpath Inherits sale.view_order_form
Models touched (1)

New fields (4)
  • commercial_partner_invoicing_id Many2one
    related='partner_invoice_id.commercial_partner_id' string='Commercial Invoicing Partner'
  • company_currency_id Many2one
    related='company_id.currency_id' store=True string='Company Currency'
  • overdue_invoice_amount Monetary
    compute='_compute_overdue_invoice_count_amount' compute_sudo=True currency_field='company_currency_id' help='Overdue invoices total residual amount of the invoicing partner 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)
REPOSITORY
REPOSITORYOCA/credit-control
GIT
GIThttps://github.com/OCA/credit-control.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/credit-control/tree/16.0/account_invoice_overdue_warn_sale
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSales/Sales
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSWeblate, valen, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/credit-control
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:57
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/credit-control:
    - account_invoice_overdue_warn
odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - account_payment
    - account
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - payment
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_order_form sale.order xpath Inherits sale.view_order_form
Models touched (1)

New fields (4)
  • commercial_partner_invoicing_id Many2one
    related='partner_invoice_id.commercial_partner_id' string='Commercial Invoicing Partner'
  • company_currency_id Many2one
    related='company_id.currency_id' store=True string='Company Currency'
  • overdue_invoice_amount Monetary
    compute='_compute_overdue_invoice_count_amount' compute_sudo=True currency_field='company_currency_id' help='Overdue invoices total residual amount of the invoicing partner 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)
REPOSITORY
REPOSITORYOCA/credit-control
GIT
GIThttps://github.com/OCA/credit-control.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/credit-control/tree/14.0/account_invoice_overdue_warn_sale
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSales/Sales
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSAlexis de Lattre, OCA Transbot, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/credit-control
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:10
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/credit-control:
    - account_invoice_overdue_warn
odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - payment
    - account
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_order_form sale.order xpath Inherits sale.view_order_form
Models touched (1)

New fields (4)
  • commercial_partner_invoicing_id Many2one
    related='partner_invoice_id.commercial_partner_id' string='Commercial Invoicing Partner'
  • company_currency_id Many2one
    related='company_id.currency_id' store=True string='Company Currency'
  • overdue_invoice_amount Monetary
    compute='_compute_overdue_invoice_count_amount' compute_sudo=True currency_field='company_currency_id' help='Overdue invoices total residual amount of the invoicing partner 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)
REPOSITORY
REPOSITORYOCA/credit-control
GIT
GIThttps://github.com/OCA/credit-control.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/credit-control/tree/13.0/account_invoice_overdue_warn_sale
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSales/Sales
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSAlexis de Lattre, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/credit-control
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:19
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/credit-control:
    - account_invoice_overdue_warn
odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - payment
    - account
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_order_form sale.order xpath Inherits sale.view_order_form
Models touched (1)

New fields (4)
  • commercial_partner_invoicing_id Many2one
    related='partner_invoice_id.commercial_partner_id' string='Commercial Invoicing Partner'
  • company_currency_id Many2one
    related='company_id.currency_id' store=True string='Company Currency'
  • overdue_invoice_amount Monetary
    compute='_compute_overdue_invoice_count_amount' compute_sudo=True currency_field='company_currency_id' help='Overdue invoices total residual amount of the invoicing partner 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)
REPOSITORY
REPOSITORYOCA/credit-control
GIT
GIThttps://github.com/OCA/credit-control.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/credit-control/tree/12.0/account_invoice_overdue_warn_sale
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSales/Sales
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSAlexis de Lattre, OCA Transbot, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/credit-control
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:24
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/credit-control:
    - account_invoice_overdue_warn
odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - payment
    - account
    - product
    - decimal_precision
    - uom
    - analytic
    - portal
    - http_routing
    - digest
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_order_form sale.order xpath Inherits sale.view_order_form
Models touched (1)

New fields (4)
  • commercial_partner_invoicing_id Many2one
    related='partner_invoice_id.commercial_partner_id' string='Commercial Invoicing Partner'
  • company_currency_id Many2one
    related='company_id.currency_id' store=True string='Company Currency'
  • overdue_invoice_amount Monetary
    compute='_compute_overdue_invoice_count_amount' compute_sudo=True currency_field='company_currency_id' help='Overdue invoices total residual amount of the invoicing partner 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)
REPOSITORY
REPOSITORYOCA/credit-control
GIT
GIThttps://github.com/OCA/credit-control.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/credit-control/tree/10.0/account_invoice_overdue_warn_sale
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSales/Sales
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSAlexis de Lattre, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/credit-control
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:20:01
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/credit-control:
    - account_invoice_overdue_warn
odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - web_tour
    - account
    - product
    - decimal_precision
    - report
    - analytic
    - web_planner
    - procurement
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_order_form sale.order xpath Inherits sale.view_order_form
Models touched (1)

New fields (4)
  • commercial_partner_invoicing_id Many2one
    readonly=True related='partner_invoice_id.commercial_partner_id' string='Commercial Invoicing Partner'
  • company_currency_id Many2one
    readonly=True related='company_id.currency_id' store=True string='Company Currency'
  • overdue_invoice_amount Monetary
    compute='_compute_overdue_invoice_count_amount' compute_sudo=True currency_field='company_currency_id' help='Overdue invoices total residual amount of the invoicing partner 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)