OdooWiki OCA HUB

Account Invoice Discount Date

account_invoice_discount_date folder_open OCA/account-invoicing open_in_new
Accounting License: LGPL-3

This module extends the functionality of invoices to show early discount dates on invoices or bills and to allow you to filter which invoices must be paid before the early discount expires.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Shows the early payment discount deadline on invoices and bills, and lets you filter or group invoices by that date so you can see which ones must be paid before the discount expires.

This module adds an extra date to invoices and bills: the last day on which the discounted amount must be paid to still get the early payment discount. Odoo calculates it automatically from the payment term lines of the invoice and keeps the earliest date found, so the invoice shows the most urgent deadline.

Where you see it: - On the invoice/bill form, the discount date appears next to the due date (it is hidden for plain journal entries). - In the invoice list, a column shows the discount date with a remaining-days indicator; it is hidden once the invoice is paid, in payment or reversed. - In the invoice search filters you get a "Discount Date" filter and a "Discount Date" grouping option, alongside the existing due date ones. - The same filter and grouping options are added to the journal items search view, together with a "Due Date" filter and grouping.

Business behaviour: the date is computed and stored, refreshed whenever the payment term lines change, and it is only taken from payment-term lines that actually have a discount date. Invoices without any such line simply have no discount date.

It touches the accounting area, extending account.move and the invoice, list and search screens.

Depends on

account
Models and fields (1)
  • account.move · extends an existing modeldiscount_date

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

Sources · Odoo 19.0

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

terminal Installation and usage

OCA documentation · Odoo 19.0

To use this module, you need to:

  • Go to Accounting > Suppliers > Bills (or Customers > Invoices).
  • The Discount Date of the invoice is computed from its payment term lines, based on the Early Payment Discount of the Payment Terms.
  • If there are several payment term lines with a Discount Date, the earliest one is set on the invoice.
  • The Discount Date can't be set on the invoice directly. You can change it on the payment term lines instead.
  • You can filter and group invoices by Discount Date to know which invoices should be paid to ensure the discount benefit.

No verified information in OCA: Installation, Configuration.

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.