Files
Odoo-Modules/fusion_accounting_reports/security/ir.model.access.csv
gsinghpal 7d7bd93345 feat(fusion_accounting_reports): XLSX export wizard
Adds a TransientModel wizard fusion.xlsx.export.wizard that lets users
pick a report type, date range, and comparison mode, then runs the
engine and produces an XLSX via xlsxwriter (in-memory).

The wizard exposes a download field that becomes available after export
finishes. Works on P&L, Balance Sheet, Trial Balance, and General Ledger.
Comparison columns are written when the engine returns a comparison_period
in the result.

Also wires the controller's /fusion/reports/export_xlsx endpoint to drive
the wizard and return base64-encoded XLSX bytes (replaces the not_implemented
placeholder).

Tests: 2 new (test_xlsx_export.py) + 1 controller test updated. Manifest
declares xlsxwriter as an external_dependency.

Made-with: Cursor
2026-04-19 16:16:36 -04:00

634 B

1idnamemodel_id:idgroup_id:idperm_readperm_writeperm_createperm_unlink
2access_fusion_report_userfusion.report.usermodel_fusion_reportbase.group_user1000
3access_fusion_report_adminfusion.report.adminmodel_fusion_reportfusion_accounting_core.group_fusion_accounting_admin1111
4access_fusion_report_commentaryfusion.report.commentarymodel_fusion_report_commentarybase.group_user1110
5access_fusion_report_anomalyfusion.report.anomalymodel_fusion_report_anomalybase.group_user1110
6access_fusion_xlsx_export_wizard_userfusion.xlsx.export.wizard.usermodel_fusion_xlsx_export_wizardbase.group_user1110