OdooWiki OCA HUB

Partner Last Invoice Date

partner_last_invoice_date folder_open OCA/account-invoicing open_in_new
Accounting & Finance License: AGPL-3

This module adds two fields to contacts, to display the date of their last invoice and their last bill (if any). It only takes into account posted invoices and bills, and credit notes are not excluded.

It is useful to have this information at hand, for example when you want see if contacts have been actively invoiced, or if on the contrary they have not been invoiced for a long time, which may indicate that they are not active anymore.

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Adds two read-only date fields to contacts showing the most recent posted customer invoice and vendor bill, including those of child contacts. Useful to see how recently a contact was invoiced.

This module extends the contact form with two automatically calculated dates: the last invoice date and the last bill date. They appear in a new "Invoices" group inside the Accounting tab of the contact form.

  • The last invoice date is the most recent date of a posted customer invoice or customer credit note for that contact.
  • The last bill date is the most recent date of a posted vendor bill or vendor credit note.
  • Only posted documents with an invoice date are considered; drafts and cancelled documents are ignored.
  • Credit notes are included, so a refund can also update the date.
  • The calculation includes all child contacts of the company or parent contact, so the date reflects activity across the whole contact hierarchy.
  • The values are stored and kept up to date automatically whenever related invoices change, and they are also recalculated for child contacts.

When the module is installed, a one-time process fills in these dates for all existing contacts based on their posted invoices and bills. The module only touches the contact model (res.partner) and the accounting documents (account.move).

Depends on

account
Models and fields (1)
  • res.partner · extends an existing modellast_bill_date, last_invoice_date

Text generated by AI (DeepSeek) from reading the Odoo 16.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: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 16.0

Confirmed on 2026-11-03 in branch 16.0 of OCA/account-invoicing.

terminal Installation and usage

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

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.