Thursday, February 6, 2025
3 changes · saas-18.1
Resolved issues and error corrections
This fixes Spanish localization tax data by adding a missing 0% VAT export tax for goods, correcting a fiscal position, and reactivating taxes that were previously disabled. Businesses using Spanish accounting get more accurate tax handling and fewer manual corrections for compliant invoicing and reporting.
Original PR description
This commit : - adds missing VAT 0% export (goods) tax - correct erroneous fiscal position - reactivate taxes that were deactivated with https://github.com/odoo/odoo/commit/401a961258e991151370899d4b61809879d5a5a8 after reconsideration Task: 4453629
Fixed an issue where closing a POS session after adding a product could leave a draft order tied to the previous session. This prevented a traceback and blank screen when the register was opened again, helping staff resume sales normally.
Original PR description
Steps: === 1. open pos system. 2. add product and close session. 3. open register again and repeat the step 2 Issue: === - blank screen with traceback in the console. Fix: === - changed the session and reference of the draft order of the previous session. Task: 4518123
Fixes an issue where users could see an error when clicking the Closing Entry button in the Tax Return report for companies with branches. This helps accounting users complete tax return closing workflows without interruption.
Original PR description
When attempting to click ``Closing Entry`` in Tax Return, an error occurs. Steps to reproduce: --- - Install the ``account_reports`` module - Create a branch in the Main Company - Accounting > Reporting > Tax Return - Click ``Closing Entry`` Traceback: --- ``AttributeError: 'account.report' object has no attribute 'show_error_branch_allowed'`` At [1], an error occurs because the attribute was used without calling the method. Because at [2], the method was added in version 18.0 but later removed in the master branch. [1]- https://github.com/odoo/enterprise/blob/2780da762cd430f45d97ea8fa230181ccc4e30f8/account_reports/models/account_report.py#L1971 [2]- https://github.com/odoo/enterprise/pull/73018/files#diff-5fc5051f5c0211c0eec96b892e7d29e01b68d804417443502d17bccd8333d7ec sentry-6237112729