Sunday, May 3, 2026
4 changes · saas-19.2
Resolved issues and error corrections
This update resolves an issue where the 'PayableRoundingAmount' wasn't accurately representing cash rounding. The fix now creates the invoice first and then applies post-fixes to the untaxed amount, aligning with how tax calculations are handled. This ensures accurate invoice generation and reporting related to UBL and CII standards.
Original PR description
PayableRoundingAmount is not necessarily a cash rounding. It might also be the difference between the untaxed amount per line regarding the global untaxed amount due to the global tax rounding method. The idea in this commit is to create the invoice first and then, just like the code fixing the taxes, to post fix the untaxed amount after. opw-6151984 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#260992
This update ensures our Polish VAT reports are compliant with the latest JPK V3 standards, required for KSeF (Digital Tax Reporting) submissions. It adds a key field for KSeF reference numbers, improving data accuracy and facilitating proper tax reporting. The changes also update expected XML files and remove outdated information.
Original PR description
Upgrade JPK export output from V2 to V3 for Polish VAT files: - switch headers to JPK_V7M(3) / JPK_V7K(3) - keep declaration variants aligned (VAT-7(23), VAT-7K(17)) Add V3 KSeF reference field in records: - export <NrKSeF> in SprzedazWiersz and ZakupWiersz - use l10n_pl_edi_number when available - fallback to BFK (or DI for journal entries) when no KSeF number is present Also update expected JPK XML fixtures and remove outdated manifest note claiming KSeF invoices are not reported. task-5007005 Forward-Port-Of: odoo/enterprise#115776
This update addresses a technical issue that could cause problems with voice message testing. The change ensures that asynchronous operations related to voice playback complete before promises are resolved, preventing race conditions. This improves the stability and reliability of voice message functionality.
Original PR description
Before this commit, voice message tests don't wait until the voice player is drawn before resolving the corresponding promise. This may lead to race conditions. This commit fixes the issue by properly `await`ing the completion of the asynchronous code before resolving the promise. Related runbot error: https://runbot.odoo.com/odoo/error/163783 Forward-Port-Of: odoo/odoo#261910 Forward-Port-Of: odoo/odoo#261795
This update resolves a potential issue where voice message tests were failing due to race conditions. The fix ensures that asynchronous code waits for the voice player to fully load before resolving promises, improving the reliability of testing and preventing errors.
Original PR description
Before this commit, voice message tests don't wait until the voice player is drawn before resolving the corresponding promise. This may lead to race conditions. This commit fixes the issue by properly `await`ing the completion of the asynchronous code before resolving the promise. Related runbot error: https://runbot.odoo.com/odoo/error/242411 Community: https://github.com/odoo/odoo/pull/261910 Forward-Port-Of: odoo/enterprise#115587