Monday, August 19, 2024
2 changes · saas-17.2
Resolved issues and error corrections
Links used to return from portal or website preview pages now correctly open the Odoo backend instead of trying to load inside the preview frame. This prevents users from hitting errors when moving back from invoice previews to their normal working screen.
Original PR description
With the replacement of URLs to match the new scheme, links to return from portal preview can stop working because their new URL is not recognized as a backend URL. This commit adds the `/odoo/` prefix in URLs identified as belonging to the backend. Steps to reproduce: - Install website & sale. - Go to an Invoice. - Click on Preview. - If you are not in the backend view, click on "Editor". - Click on the link to return to the backend view. => A cross-origin error happened because the backend was being reloaded within the website preview `iframe`. opw-4098566
This update refreshes Odoo's spreadsheet engine with fixes that make spreadsheet behavior more reliable, including clearer handling of empty formulas and corrected display behavior for calculated spill cells. It also improves performance by delaying some export work until users leave the spreadsheet, making the experience smoother.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/fb17f9ca0 [REL] 17.2.21 Task: 0 https://github.com/odoo/o-spreadsheet/commit/6d5b029e2 [PERF] model: export lazily…
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/fb17f9ca0 [REL] 17.2.21 Task: 0 https://github.com/odoo/o-spreadsheet/commit/6d5b029e2 [PERF] model: export lazily when leaving Task: 4119536 https://github.com/odoo/o-spreadsheet/commit/3a2d2daca [REF] plugin cell: use a new command "CLEAR_CELLS" Task: 4095732 https://github.com/odoo/o-spreadsheet/commit/cc218809f [FIX] parser: parsing empty string throws meaningful error Task: 0 https://github.com/odoo/o-spreadsheet/commit/bee93a46d [FIX] sheetUi: a spilled cell has no core content Task: 4105162 https://github.com/odoo/o-spreadsheet/commit/cff936f2b [FIX] package: Fix typo in `module` key Task: 0 Co-authored-by: Anthony Hendrickx (anhe) <anhe@odoo.com> Co-authored-by: Alexis Lacroix (laa) <laa@odoo.com> Co-authored-by: Lucas Lefèvre (lul) <lul@odoo.com> Co-authored-by: Dhrutik Patel (dhrp) <dhrp@odoo.com> Co-authored-by: Adrien Minne (adrm) <adrm@odoo.com> Co-authored-by: Mehdi Rachico (mera) <mera@odoo.com> Co-authored-by: Rémi Rahir (rar) <rar@odoo.com> Co-authored-by: Pierre Rousseau (pro) <pro@odoo.com> Co-authored-by: Vincent Schippefilt (vsc) <vsc@odoo.com>