Portugal - Future Accounting Features
Future accounting features for Portugal
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Adds Portuguese rules that stop credit notes from exceeding the original customer invoice, either in quantity or in amount, and refreshes the invoice PDF layout.
This module brings Portugal-specific future accounting behaviour to Odoo. Its main rule concerns credit notes (customer refunds) linked to an original customer invoice.
- When a credit note is confirmed, Odoo checks the products and quantities on it against the original invoice. If a product is not on the original invoice, or if the credited quantity is higher than the invoiced quantity, confirmation is blocked with an error message.
- It also checks the total amount: the combined value of all credit notes linked to the same invoice cannot be higher than the original invoice total. If it is, confirmation is blocked and the message shows the maximum allowed value.
- These checks consider all credit notes already reconciled with the original invoice, so several partial credit notes together cannot exceed the original invoice either.
- The check is skipped when the currencies involved are not all the same.
The module also replaces the standard invoice PDF report layout (account.report_invoice_document) and the tax totals block (account.document_tax_totals_template) with an updated version, affecting how invoices, credit notes and vendor bills are printed, including shipping address, VAT identification, payment terms, QR code and tax summary display.
It extends the account.move model, so it applies to customer invoices, credit notes and vendor bills in the Accounting app.
Depends on
Required by other modules
Models and fields (1)
- account.move · extends an existing model
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: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 18.0
Confirmed on 2026-11-03 in branch 18.0 of OCA/l10n-portugal.
terminal Installation and usage
No verified informationInstallation 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.