User feedback: 'i like the odoo enterprise style reports, I hate our style.'
Replaces our custom 'o_fusion_reports' visual with a faithful adaptation
of Enterprise account_reports. Same .account_report root class, same
table semantics (line_name + line_cell + line_level_N), same border
treatment (1px gray-300 borders, 0.25rem radius, sticky thead), same
button hover behavior (gray-300 -> enterprise-action-color), same dense
0.8rem font-size + padded cells.
SCSS layout:
- reports.scss in web.assets_backend bundle (eager light)
- reports.dark.scss in web.assets_web_dark bundle (lazy dark mode)
- _variables.scss reduced to spacing/typography only -- colors use
Odoo's \$o-* SCSS vars so dark mode flips automatically via the
separate dark bundle
- old dark_mode.scss removed (was using non-Odoo [data-color-scheme]
selector that never matched anything)
QWeb templates rewritten to mirror Enterprise's structure:
- report_viewer.xml roots at .account_report with scroll container
- report_table.xml uses Enterprise's td.line_name + td.line_cell with
.wrapper > .content nesting; partner-grouped reports now actually
render their aging buckets (previously showed nothing)
- period_filter.xml is now a clean Bootstrap-styled inline filter bar
Kept Fusion-only components but restyled to fit:
- anomaly_strip uses Bootstrap alert-{danger,warning,info} colors
- ai_commentary_panel is a plain bordered panel, no gradients/emojis
- drill_down_dialog unchanged (already a Bootstrap modal)
Made-with: Cursor
87 lines
3.6 KiB
Python
87 lines
3.6 KiB
Python
{
|
|
'name': 'Fusion Accounting Reports',
|
|
'version': '19.0.1.2.0',
|
|
'category': 'Accounting/Accounting',
|
|
'summary': 'AI-augmented financial reports (P&L, balance sheet, trial balance, GL).',
|
|
'description': """
|
|
Fusion Accounting Reports
|
|
=========================
|
|
|
|
A Fusion-native replacement for Odoo Enterprise's account_reports module.
|
|
|
|
CORE scope (Phase 2):
|
|
- Income Statement (P&L)
|
|
- Balance Sheet
|
|
- Trial Balance
|
|
- General Ledger (with drill-down)
|
|
|
|
AI augmentation:
|
|
- Anomaly detection (variance vs prior period)
|
|
- AI commentary (LLM-generated narrative)
|
|
|
|
Coexists with Enterprise: when account_reports is installed, the Fusion
|
|
menu hides; the engine and AI tools remain available for the chat.
|
|
""",
|
|
'author': 'Fusion Accounting',
|
|
'license': 'LGPL-3',
|
|
'depends': [
|
|
'fusion_accounting_core',
|
|
'fusion_accounting_ai',
|
|
'fusion_accounting_migration',
|
|
'account',
|
|
],
|
|
'data': [
|
|
'security/ir.model.access.csv',
|
|
'data/report_pnl.xml',
|
|
'data/report_balance_sheet.xml',
|
|
'data/report_trial_balance.xml',
|
|
'data/report_general_ledger.xml',
|
|
'data/report_cash_flow.xml',
|
|
'data/report_executive_summary.xml',
|
|
'data/report_tax_report.xml',
|
|
'data/report_annual_statements.xml',
|
|
'data/report_aged_receivable.xml',
|
|
'data/report_aged_payable.xml',
|
|
'data/report_partner_ledger.xml',
|
|
'data/cron.xml',
|
|
'reports/report_pdf_template.xml',
|
|
'wizards/xlsx_export_wizard_views.xml',
|
|
'wizards/period_picker_wizard_views.xml',
|
|
'views/report_actions.xml',
|
|
'views/menu_views.xml',
|
|
],
|
|
'external_dependencies': {
|
|
'python': ['xlsxwriter'],
|
|
},
|
|
'assets': {
|
|
'web.assets_backend': [
|
|
'fusion_accounting_reports/static/src/scss/_variables.scss',
|
|
'fusion_accounting_reports/static/src/scss/reports.scss',
|
|
'fusion_accounting_reports/static/src/services/reports_service.js',
|
|
'fusion_accounting_reports/static/src/views/report_viewer/report_viewer.js',
|
|
'fusion_accounting_reports/static/src/views/report_viewer/report_viewer.xml',
|
|
'fusion_accounting_reports/static/src/views/report_viewer/report_viewer_view.js',
|
|
'fusion_accounting_reports/static/src/components/report_table/report_table.js',
|
|
'fusion_accounting_reports/static/src/components/report_table/report_table.xml',
|
|
'fusion_accounting_reports/static/src/components/drill_down_dialog/drill_down_dialog.js',
|
|
'fusion_accounting_reports/static/src/components/drill_down_dialog/drill_down_dialog.xml',
|
|
'fusion_accounting_reports/static/src/components/period_filter/period_filter.js',
|
|
'fusion_accounting_reports/static/src/components/period_filter/period_filter.xml',
|
|
'fusion_accounting_reports/static/src/components/ai_commentary_panel/ai_commentary_panel.js',
|
|
'fusion_accounting_reports/static/src/components/ai_commentary_panel/ai_commentary_panel.xml',
|
|
'fusion_accounting_reports/static/src/components/anomaly_strip/anomaly_strip.js',
|
|
'fusion_accounting_reports/static/src/components/anomaly_strip/anomaly_strip.xml',
|
|
],
|
|
'web.assets_web_dark': [
|
|
'fusion_accounting_reports/static/src/scss/reports.dark.scss',
|
|
],
|
|
'web.assets_tests': [
|
|
'fusion_accounting_reports/static/src/tours/reports_tours.js',
|
|
],
|
|
},
|
|
'installable': True,
|
|
'auto_install': False,
|
|
'application': False,
|
|
'icon': '/fusion_accounting_reports/static/description/icon.png',
|
|
}
|