Daily updates from Odoo
Monday, July 4, 2022
3 changes · master
Enhancements to existing features
This update refreshes the spreadsheet engine with improvements to chart behavior, dashboard display, and formula error handling. Users should see charts keep their labels more reliably, new charts appear in the visible area, cleaner colored dashboards, and clearer messages when formulas are invalid.
Original PR description
https://github.com/odoo/o-spreadsheet/commit/e42ced72 [IMP] charts: keep labels when changing chart type https://github.com/odoo/o-spreadsheet/commit/c8d3f365 [IMP] renderer: Hide gridlines over…
https://github.com/odoo/o-spreadsheet/commit/e42ced72 [IMP] charts: keep labels when changing chart type https://github.com/odoo/o-spreadsheet/commit/c8d3f365 [IMP] renderer: Hide gridlines over color formatted cells in dashboard https://github.com/odoo/o-spreadsheet/commit/a563fab2 [REF] helpers: rewrite helper to remove zones from zones https://github.com/odoo/o-spreadsheet/commit/d49de1cd [IMP] spreadsheet: Add support of ranges of full rows/cols https://github.com/odoo/o-spreadsheet/commit/e2d1d7b0 [IMP] tests: Add "SET_VIEWPORT_OFFSET" command helper https://github.com/odoo/o-spreadsheet/commit/c18d41de [REF] components: Centralize components importance level https://github.com/odoo/o-spreadsheet/commit/eb59f48c [IMP] grid: Hide autofill button when out of the viewport https://github.com/odoo/o-spreadsheet/commit/d8d287e7 [IMP] charts: Insert new chart in viewport https://github.com/odoo/o-spreadsheet/commit/84544d63 [FIX] tokenizer: test strings without closing double quotes https://github.com/odoo/o-spreadsheet/commit/83faa30f [FIX] parser: throw friendly error with invalid formula https://github.com/odoo/o-spreadsheet/commit/8baf0f7e [IMP] charts: allow empty datasets
Resolved issues and error corrections
Imported Odoo spreadsheet charts now create the needed data connection during import. This prevents errors when users open or interact with chart data after importing a spreadsheet.
Original PR description
Before this commit, no datasource was created for an odoo chart during the import, which leads to errors when trying to access data after that.
Code cleanup and technical improvements
The mobile barcode app was updated to work with Odoo's newer barcode handling system after the older method was removed. This should keep barcode scanning reliable on mobile devices and avoid unwanted keyboard or search focus behavior that could interfere with scanning.
Original PR description
The old BarcodeEvents has been removed, this commit updates the code to use the barcode service instead.