{
    'name': "Fusion Accounting",
    'version': "19.0.1.0.0",
    'category': 'Accounting/Accounting',
    'sequence': 1,
    'summary': "Professional accounting suite with advanced reports, reconciliation, asset management, and financial workflows.",
    'description': """
Fusion Accounting
=================

A comprehensive, professional-grade accounting module for Odoo 19 Community Edition.
Built from the ground up by Nexa Systems Inc. to deliver enterprise-quality
financial management tools.

Core Capabilities
-----------------
* Financial Reporting: Profit & Loss, Balance Sheet, Cash Flow, Trial Balance,
  General Ledger, Aged Receivables/Payables, Partner Ledger, and more.
* Bank Reconciliation: Streamlined matching of bank statement lines with
  journal entries, including auto-reconciliation.
* Asset Management: Track fixed assets, calculate depreciation schedules,
  and generate depreciation journal entries automatically.
* Budget Management: Define budgets, compare actuals vs. planned amounts.
* Fiscal Year Management: Lock dates, fiscal year closing workflows.
* Multicurrency Revaluation: Revalue foreign currency balances at period-end.
* Tax Reporting: Generate tax reports with configurable tax grids.
* Professional PDF Exports: Clean, formatted PDF output for all reports.

Built by Nexa Systems Inc.
    """,
    'icon': '/fusion_accounting/static/description/icon.png',
    'author': 'Nexa Systems Inc.',
    'website': 'https://nexasystems.ca',
    'support': 'help@nexasystems.ca',
    'maintainer': 'Nexa Systems Inc.',
    'depends': ['account', 'web_tour', 'stock_account', 'base_import'],
    'external_dependencies': {
        'python': ['lxml'],
    },
    'data': [
        # ===== SECURITY =====
        'security/ir.model.access.csv',
        'security/fusion_accounting_security.xml',
        'security/accounting_security.xml',
        'security/fusion_account_asset_security.xml',

        # ===== BASE DATA =====
        'data/fusion_accounting_data.xml',
        'data/mail_activity_type_data.xml',
        'data/mail_templates.xml',
        'data/fusion_accounting_tour.xml',

        # ===== REPORT VIEWS (needed before report actions reference them) =====
        'views/account_report_view.xml',

        # ===== REPORT DEFINITIONS =====
        'data/balance_sheet.xml',
        'data/profit_and_loss.xml',
        'data/cash_flow_report.xml',
        'data/executive_summary.xml',
        'data/general_ledger.xml',
        'data/trial_balance.xml',
        'data/partner_ledger.xml',
        'data/aged_partner_balance.xml',
        'data/generic_tax_report.xml',
        'data/journal_report.xml',
        'data/sales_report.xml',
        'data/multicurrency_revaluation_report.xml',
        'data/bank_reconciliation_report.xml',
        'data/deferred_reports.xml',
        'data/assets_reports.xml',

        # ===== REPORT ACTIONS (reference reports + views) =====
        'data/account_report_actions.xml',
        'data/account_report_actions_depr.xml',

        # ===== DATA-LEVEL MENUS (reference actions above) =====
        'data/menuitems.xml',
        'data/menuitems_asset.xml',

        # ===== OTHER DATA =====
        'data/pdf_export_templates.xml',
        'data/ir_cron.xml',
        'data/report_send_cron.xml',
        'data/digest_data.xml',
        'data/followup_data.xml',
        'data/loan_data.xml',

        # ===== WIZARD ACTIONS (referenced by views below) =====
        'wizard/followup_send_wizard.xml',

        # ===== VIEWS =====
        'views/account_account_views.xml',
        'views/account_asset_views.xml',
        'views/account_asset_group_views.xml',
        'views/account_move_views.xml',
        'views/account_payment_views.xml',
        'views/account_tax_views.xml',
        'views/account_reconcile_views.xml',
        # 'views/account_reconcile_model_views.xml',  # V19: parent view restructured auto_reconcile
        'views/account_fiscal_year_view.xml',
        'views/account_journal_dashboard_views.xml',
        'views/bank_rec_widget_views.xml',
        'views/batch_payment_views.xml',
        'views/account_bank_statement_import_view.xml',
        'views/account_activity.xml',
        'views/mail_activity_views.xml',
        'views/res_config_settings_views.xml',
        'views/res_company_views.xml',
        'views/res_partner_views.xml',
        'views/partner_views.xml',
        # 'views/product_views.xml',  # V19: parent view structure changed
        'views/report_invoice.xml',
        'views/report_template.xml',
        'views/digest_views.xml',
        'views/followup_views.xml',
        'views/loan_views.xml',
        'views/document_extraction_views.xml',
        'views/edi_views.xml',
        'views/external_tax_views.xml',
        'views/fiscal_compliance_views.xml',
        # 'views/integration_bridge_views.xml',  # V19: requires fleet module
        'views/additional_features_views.xml',
        # 'views/tax_python_views.xml',  # V19: parent view xpath changed
        # Menuitems that reference view-defined actions (MUST come after those views)
        'views/fusion_accounting_menuitems.xml',

        # ===== WIZARDS =====
        'wizard/account_change_lock_date.xml',
        'wizard/account_reconcile_wizard.xml',
        'wizard/account_auto_reconcile_wizard.xml',
        'wizard/account_report_file_download_error_wizard.xml',
        'wizard/account_report_send.xml',
        'wizard/report_export_wizard.xml',
        'wizard/fiscal_year.xml',
        'wizard/multicurrency_revaluation.xml',
        'wizard/asset_modify_views.xml',
        'wizard/reconcile_model_wizard.xml',
        'wizard/bank_statement_import_wizard.xml',
        'wizard/account_transfer_wizard.xml',
        'wizard/extraction_review_wizard.xml',
        'wizard/loan_import_wizard.xml',
        'wizard/mail_activity_schedule_views.xml',
    ],
    'demo': [],
    'installable': True,
    'application': True,
    'post_init_hook': '_fusion_accounting_post_init',
    'uninstall_hook': 'uninstall_hook',
    'license': 'OPL-1',
    'assets': {
        'web.assets_backend': [
            'fusion_accounting/static/src/js/tours/fusion_accounting.js',
            'fusion_accounting/static/src/components/**/*',
            'fusion_accounting/static/src/**/*.xml',
            'fusion_accounting/static/src/js/**/*',
            'fusion_accounting/static/src/widgets/**/*',
            'fusion_accounting/static/src/**/*',
        ],
        'web.assets_unit_tests': [
            'fusion_accounting/static/tests/**/*',
            ('remove', 'fusion_accounting/static/tests/tours/**/*'),
            'fusion_accounting/static/tests/*.js',
            'fusion_accounting/static/tests/account_report/**/*.js',
        ],
        'web.assets_tests': [
            'fusion_accounting/static/tests/tours/**/*',
        ],
        'fusion_accounting.assets_pdf_export': [
            ('include', 'web._assets_helpers'),
            'web/static/src/scss/pre_variables.scss',
            'web/static/lib/bootstrap/scss/_variables.scss',
            'web/static/lib/bootstrap/scss/_variables-dark.scss',
            'web/static/lib/bootstrap/scss/_maps.scss',
            ('include', 'web._assets_bootstrap_backend'),
            'web/static/fonts/fonts.scss',
            'fusion_accounting/static/src/scss/**/*',
        ],
        'web.report_assets_common': [
            'fusion_accounting/static/src/scss/account_pdf_export_template.scss',
        ],
        'web.assets_web_dark': [
            'fusion_accounting/static/src/scss/*.dark.scss',
        ],
    },
    'images': ['static/description/banner.png'],
}
