Thursday, June 16, 2022
1 change · master
Code cleanup and technical improvements
Spreadsheet display assets are being separated from the Documents app so dashboards can show spreadsheets without requiring Documents. Editing tools remain tied to Documents, while read-only dashboard viewing can load only the lighter spreadsheet components when needed.
Original PR description
This task is a first step towards dashboards with spreadsheet. As the dashboards should be accessible without Documents, we have to extract the minimal assets required to display a spreadsheet in dashboard mode. In dashboard mode, the "model" part of the features pivots, lists, link, chart, ... are necessary, but the "ui" part (i.e. the edition of charts, insertion of pivot, lists, link) should be only available with Documents. Thus, a new module is introduced: `spreadsheet`. It contains only static files that will be lazy loaded when the first time a spreadsheet is displayed. Part of task-id 2799682 Co-authored-by: Lucas Lefèvre <lul@odoo.com> Co-authored-by: Pierre Rousseau <pro@odoo.com>