Daily updates from Odoo
Tuesday, August 2, 2022
3 changes · master
Enhancements to existing features
The spreadsheet tool has been updated with easier pivot filtering, improved large-number display, and better currency formatting. It also fixes an issue with the F4 shortcut selecting too much content, making spreadsheet editing smoother and more reliable for users.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/93644c4b [IMP] components: set global filter on click on pivot header https://github.com/odoo/o-spreadsheet/commit/adb8e782 [REF] format: rename currency format type https://github.com/odoo/o-spreadsheet/commit/05b00cdf [IMP] formulas: introduce FORMAT.LARGE.NUMBER https://github.com/odoo/o-spreadsheet/commit/b934f06b [IMP] format: support large number with currency https://github.com/odoo/o-spreadsheet/commit/85af5179 [IMP] format: large numbers https://github.com/odoo/o-spreadsheet/commit/0200c043 [FIX] composer: F4 shortcut shouldn't always select the whole range
Users now receive a clear warning when spreadsheet saving or real-time collaboration may be stuck because another browser tab has stopped syncing in the background. The message helps users resolve the issue by closing other tabs, reducing confusion around spreadsheets that appear to save indefinitely.
Original PR description
It can happen (somewhat randomly) that your spreadsheet will indefinitely display "Saving..." on the top righ corner, in the topbar. Spreadsheet real time synchronisation relies on the polling cross…
It can happen (somewhat randomly) that your spreadsheet will indefinitely display "Saving..." on the top righ corner, in the topbar. Spreadsheet real time synchronisation relies on the polling cross tab bus. There's actually only one tab actually polling. It then transmit bus events to other tabs through local storage. There's one major caveat: if the master tab is in the background, the browser can decide to throttle it and set it to "sleep". We don't have any control over it. If that happens, real time synchronisation on all other tabs is stopped. With this commit, we try to mitigate the issue by warning the user that something is wrong and give him a hint to fix the issue (close other tabs). This problem should be fixed when we will finally use a websocket bus which won't have this crosstab bus limitation. The websocket bus has been under developpent for a while now, but things seems very slow to move and we don't have any ETA and I'm fed up of this infinite "Saving..." showing up every so often.
Uploading invoice PDFs with embedded Factur-X data in Documents now uses the existing structured invoice information before falling back to OCR. This makes invoice creation more consistent with Accounting uploads and can reduce unnecessary processing.
Original PR description
Before this PR, uploading a Factur-X PDF document in the Documents app resulted in a call to the OCR even though the PDF already contains the structured document. We should have the same workflow as the Upload button in the Accounting app where we first try to read the embedded Factur-X in the PDF, before sending the invoice to the OCR. This PR fixes that.