| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Invoicing (account)
• Discuss (mail) |
| Lines of code | 342 |
| Technical Name |
nexterp_account_invoice_report |
| License | OPL-1 |
| Website | https://www.nexterp.ro |
| Versions | 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Invoicing (account)
• Discuss (mail) |
| Lines of code | 342 |
| Technical Name |
nexterp_account_invoice_report |
| License | OPL-1 |
| Website | https://www.nexterp.ro |
| Versions | 19.0 |
NextERP - Account Invoice Report
NextERP - Account Invoice Report
Overview
nexterp_account_invoice_report extends the standard Odoo customer invoice
PDF to better match Romanian accounting practice. It inherits the
account.report_invoice_document QWeb template and adds two optional
per-line columns (VAT amount and total amount) plus the option to print
refund invoices with explicit negative quantities and amounts.
The behaviour is driven by three company-level switches exposed under
Accounting Settings. When enabled, the report displays refund (storno)
quantities, base, tax and totals with a minus sign and renders the
extra columns on both detailed and grouped invoice layouts. Section
subtotals are recomputed accordingly through helper methods on
account.move.line.
A complementary report_precision field is added on uom.uom, so each
unit of measure can override how many decimal places are printed for
quantities on the invoice — useful for products sold in kilograms,
litres or meters where the standard Product Unit precision is not
granular enough.
Built & supported by NextERP Romania
Romanian Odoo specialists, here for the long run — from implementation to localization and day-to-day production support.
What we do
Odoo Solutions
From quick-start rollouts to multi-company deployments and custom modules built for your processes.
Romanian Localization
SAF-T (D406), e-Factura, e-Transport, D300 / D390 / D394, ANAF integration, full chart of accounts and fiscal positions.
Our Services
Implementation, customization, migration, integration, support and consultancy — Romanian-speaking, SLA-backed.
Features
- Inherits
account.report_invoice_document(priority 100) so the standard Invoice / Credit Note PDF is replaced everywhere it is used. - Optional VAT column added next to each invoice line, showing
price_total - price_subtotalper line. - Optional Total column added next to each invoice line, showing the line total including taxes.
- Refund (storno) invoices can be printed with negative quantities, base, tax and total amounts so that the document visually matches the accounting sign.
- Section subtotals on grouped layouts are recomputed via
get_section_subtotal,get_section_tax_amountandget_section_total_amountto remain consistent with the printed sign. - New
report_precisionfield onuom.uomlets each unit of measure define its own number of decimal places for printed quantities. - The grouped lines view (
td_quantity_grouped) is patched so the unit count column also respects the refund sign and UoM precision. - All toggles are per company, stored on
res.company, and exposed through the standard Accounting Settings form.
Configuration
All options are configured per company under Accounting -> Configuration -> Settings, in the Account invoice report options block (added right after the standard Account Reports block).
1. Enable the print options
- Go to Accounting -> Configuration -> Settings.
- Scroll to the Account invoice report options block.
- Tick any of the following options, depending on what you need on the
printed invoice:
- Print Show Refunds — print refund / storno invoices with negative quantities, base, taxes and totals.
- Print Invoice Tax Value — add a per-line VAT column.
- Print Invoice Total Value — add a per-line Total column.
- Save the settings. The options are stored on the current company; in a multi-company database, switch company and repeat the configuration if needed.
2. Set per-UoM print precision (optional)
The module also adds a Report Precision field on units of measure.
- Go to Inventory -> Configuration -> Units of Measure -> Units of Measure.
- Open a unit (e.g. kg, l, m) and set Report Precision to
the number of decimal places you want printed on invoices for that
UoM. Leave at
0to fall back to the default behaviour.
No other setup is required — the inherited invoice template is used
automatically by the standard Invoice print action on
account.move.
To install this module, you need to:
- clone the repository https://github.com/NextERP-Romania/odoo-community
- add the path to this repository in your configuration (addons-path)
- update the module list
- search for "NextERP - Account Invoice Report" in your addons
- install the module
How it works
Once configured, the module is fully transparent — there is no extra
report action or menu. Every invoice or refund printed from the
standard Print -> Invoice action on account.move uses the
inherited template.
Printing an invoice
- Open a confirmed invoice from Accounting -> Customers -> Invoices (or Vendors -> Bills).
- Click Print -> Invoice.
- The generated PDF includes the extra VAT and/or Total columns if the corresponding company options are enabled.
Printing a refund (storno)
- Open a posted Credit Note (
out_refund) or vendor Refund (in_refund). - Click Print -> Invoice.
- If Print Show Refunds is enabled on the company, all numeric values on the PDF — line quantities, base amounts, tax amounts, totals and section subtotals — are rendered with a minus sign.
How it works
_compute_tax_totalsonaccount.moveinverts the sign of everybase_amount,tax_amountandtotal_amount(and their currency counterparts) on refund moves whose company has Print Show Refunds enabled.- Line, section and grouped-line helpers (
get_section_subtotal,get_section_tax_amount,get_section_total_amount,_get_child_lines) apply the same sign so subtotals stay consistent with the per-line numbers. - Each quantity span uses the UoM's
report_precisionwhen Print Invoice Tax Value is on, so a kilogram line with precision3prints as1,250instead of1,25.
Versions
19.0.0.0.0 (2026-05-25)
- Changelog tracking starts at this release.
Discover the NextERP suite
Other modules from the same publisher, built to work together.
NextERP Romania
Odoo implementation, customization, Romanian localization and long-term support since 2018.
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module