OdooWiki OCA HUB

Account force early payment discount

account_force_early_discount folder_open OCA/account-payment open_in_new
Account License: AGPL-3

This module allows to force early payment discounts past the validity date of the discount set through the payment term.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Lets you apply an early payment discount on invoices even after the discount deadline has passed, either by flagging the invoice or by ticking an option in the payment registration wizard.

Normally Odoo only grants the early payment discount if you pay before the discount date set in the payment terms. This module adds a way to override that rule.

On a customer invoice or vendor bill (account.move), a new checkbox "Force early payment discount" appears next to the payment terms. It is only shown when the payment term actually offers an early discount and, once the invoice is posted, when a discount date and amount exist. If you tick it, the discount will be granted even if you pay late.

When you register a payment, the payment wizard (account.payment.register) shows a checkbox "Apply Early Payment Discount Past Date" whenever at least one selected invoice has a discount date already in the past. Ticking it forces the discount for all selected invoices, regardless of their individual flags. Invoices that already carry the flag are forced automatically, even if you do not tick the wizard checkbox.

The module recalculates the amounts to pay and the payment values so the forced discount is included, and it only applies to invoices that are eligible: same currency, an early-discount payment term, and no payment already matched against the payment term lines.

Depends on

account
Models and fields (2)
  • account.move · extends an existing modelforce_early_discount (Force early payment discount), display_force_early_discount
  • account.payment.register · extends an existing modelforce_early_discount (Apply Early Payment Discount Past Date), show_force_early_discount, with_forced_early_discount

Text generated by AI (DeepSeek) from reading the Odoo 18.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 18.0

Confirmed on 2026-11-03 in branch 18.0 of OCA/account-payment.

terminal Installation and usage

OCA documentation · Odoo 18.0

The early payment discount will be applied automatically, even past its validity date, using register payment wizard if the "Force financial discount" is used on the invoice.

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.