Account Invoice Discount Display Amount
This module allows to show the total discount amount applied to an invoice, both in the backend and the invoice PDF report.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Shows the total discount amount applied to an invoice and the total amount before discount, both on the invoice form in Odoo and on the printed/PDF invoice.
This module adds two new amounts to customer invoices: the total discount applied and the total without discount. These amounts are calculated automatically from the invoice lines.
On each invoice line, the module computes the discount amount and the line total before discount. For lines with a discount, the total before discount is recalculated including taxes, and the discount is the difference between that amount and the line total. Lines that are not products (for example section or note lines) show zero.
On the invoice itself, the module adds up the line values to show a total discount and a total without discount. These totals are only calculated for invoices; other types of accounting entries show zero.
In the Odoo backend, the two new amounts appear on the invoice form, right after the tax totals block. On the invoice PDF report, a new line labelled "Discount" is added after the tax totals, showing the total discount amount.
The module works on account.move and account.move.line and does not change any other accounting behaviour.
Depends on
Models and fields (2)
- account.move · extends an existing modeldiscount_total, price_total_no_discount (Total Without Discount)
- account.move.line · extends an existing modeldiscount_total, price_total_no_discount (Total Without 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-03Confirmation status: 5 confirmed, 4 with no information of 9 versions.
Sources · Odoo 14.0
Confirmed on 2026-11-03 in branch 14.0 of OCA/account-invoicing.
terminal Installation and usage
OCA documentation · Odoo 18.0Configuration
Source · Odoo 18.0To configure this module, you need to:
- No configuration instructions needed.
Usage
Source · Odoo 18.0To use this module, you need to:
- Apply a discount on an invoice line.
- The values 'Discount Total' and 'Total Without Discount' will be automatically updated.
No verified information in OCA: Installation.
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.
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.