Commit 65e775e
[IMP] spreadsheet_oca: add headless XLSX export with server-side pivot rendering
Adds SpreadsheetXlsxExporter class that generates .xlsx files from
spreadsheet records without requiring a browser. Static cells are
written verbatim; ODOO pivots are re-computed from fresh database
state via the pivot_data engine.
Includes form button, JSON-RPC endpoint, attachment creation, and
comprehensive tests covering static sheets, pivots, and cross-tabs.
Co-Authored-By: Claude Opus 4.6 <[email protected]>1 parent e63e44d commit 65e775e
6 files changed
Lines changed: 850 additions & 0 deletions
File tree
- spreadsheet_oca
- models
- tests
- views
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
84 | 123 | | |
85 | 124 | | |
86 | 125 | | |
| |||
0 commit comments