Thursday, May 9, 2024
3 changes · 17.0
Resolved issues and error corrections
This update adjusts the automated tests for Sweden's tax reporting to align with a recent change in how tax report box 49 is calculated. The fix ensures that tax compliance testing remains accurate and reflects the current tax calculation rules for Swedish businesses.
Original PR description
Community PR: https://github.com/odoo/odoo/pull/162006 opw-3860025 Forward-Port-Of: odoo/enterprise#62124 Forward-Port-Of: odoo/enterprise#61525
This fix corrects the calculation of Box 49 in the Swedish VAT tax report. Previously, the system was adding Box 48 when it should have been subtracting it. The corrected formula now properly calculates the VAT amount to be paid or refunded by summing boxes 10, 11, 12, 30, 31, 32, 60, 61, and 62, then subtracting box 48, which aligns with Swedish tax authority requirements.
Original PR description
Box 49 of the Swedish tax report should be the total of the amounts in boxes 10, 11, 12, 30, 31, 32, 60, 61 and 62 minus the amount in box 48. See…
Box 49 of the Swedish tax report should be the total of the amounts in boxes 10, 11, 12, 30, 31, 32, 60, 61 and 62 minus the amount in box 48. See [doc](https://skatteverket.se/servicelankar/otherlanguages/inenglishengelska/businessesandemployers/startingandrunningaswedishbusiness/declaringtaxesbusinesses/vat/vatitemsboxbybox.4.3dfca4f410f4fc63c8680004502.html#:~:text=Here%20you%20enter%20the%20VAT%20that%20you%20will%20pay%20or%20have%20refunded%20for%20the%20period%2C%20meaning%20the%20total%20of%20the%20amounts%20in%20boxes%2010%2C%2011%2C%2012%2C%2030%2C%2031%2C%2032%2C%2060%2C%2061%20and%2062%C2%A0minus%20the%20amount%20in%20box%2048.%20%C2%A0). Currently, Box 49 is defined as `Block B + Block I + Block D + Block F`, with: ``` Block B = (box 10 + box 11 + box 12) Block I = (box 60 + box 61 + box 62) Block D = (box 30 + box 31 + box 32) Block F = (box 48) ``` Therefore, Box 49 should be `Block B + Block I + Block D - Block F`. Enterprise PR: https://github.com/odoo/enterprise/pull/61525 opw-3860025 Forward-Port-Of: odoo/odoo#164780 Forward-Port-Of: odoo/odoo#162006
Fixed an issue where the check printing pop-up window would remain open after a user printed a check, which could lead to accidental duplicate printing. The pop-up now automatically closes once the check has been successfully printed and downloaded, providing a clearer user experience.
Original PR description
When printing a check, the pop-up window remains on the screen even after the user has already printed the check and this can confuse the user and print the check multiple times. So, closing the pop-up when a check is printed and downloaded. Task ID: 3860354 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#162067