Saturday, April 11, 2026
1 change · saas-18.2
Resolved issues and error corrections
This update fixes an issue where closing entries for OSS reports were incorrectly generated as standard tax returns. The change simplifies a process that previously caused a mismatch in document types, ensuring that OSS reports are now correctly identified and processed after posting. This improves accuracy in financial reporting for EU VAT compliance.
Original PR description
### Issue: When closing an OSS report, the generated tax closing entry was incorrectly identified as a standard Tax Return After posting, the document type remained `Tax Return` instead of the…
### Issue: When closing an OSS report, the generated tax closing entry was incorrectly identified as a standard Tax Return After posting, the document type remained `Tax Return` instead of the expected OSS report type ### Cause: In this PR: https://github.com/odoo/enterprise/pull/95775, a condition was simplified to unify closing moves across report variants However, this caused OSS reports to be treated as standard tax reports As a result, only one closing move could be created and reused for both Tax Reports and OSS Reports for the same period The document was also incorrect because of this simplification ### Steps to reproduce: - Install `l10n_nl` and switch to NL Company - Activate `EU Intra-Community Distance Selling` in Settings (reload taxes if needed) - Confirm invoices for a Belgian Customer using the tax 21% BE VAT - Go in Accounting > Reports > Tax Return - Select the report type OSS Sales and the quarterly period - Click `Closing Entry` - Post the entry A Tax Return document is created instead of an OSS report ### Other Fix: If a standard Tax Report closing entry is created first, the closing move becomes linked to it and is then incorrectly reused for the OSS report opw-5489822 opw-5882188 Forward-Port-Of: odoo/enterprise#112306