Skip to content
Health
75/100
good
  • Security25/25
    No findings
  • Activity20/25
    Last human commit 7 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 8 Odoo series since 10.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.19 MB
Module directory on disk
Code analysis 0 migration notes 1 model 1 view 0 HTTP endpoints

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.

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.

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 1

XML IDNameModelTypeStatus
view_order_form sale.order form Inherits sale.view_order_form

HTTP endpoints 0

No HTTP endpoints found for this module.

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)

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…