Files
Odoo-Modules/fusion_accounting_assets/__manifest__.py
gsinghpal 7e2c31e371 test(fusion_accounting_assets): local LLM useful-life smoke (skips without LLM)
Auto-detects LM Studio (:1234) or Ollama (:11434) on
host.docker.internal / localhost; skips silently when no server is
reachable so CI stays green. When a server is present it exercises the
full predict_useful_life path through the OpenAI-compatible adapter,
catching prompt / JSON-parsing regressions that mocked LLMs hide.

Tagged 'local_llm' so it can be selected explicitly when an LLM is
known-available.

Made-with: Cursor
2026-04-19 20:23:30 -04:00

77 lines
3.5 KiB
Python

{
'name': 'Fusion Accounting Assets',
'version': '19.0.1.0.36',
'category': 'Accounting/Accounting',
'summary': 'AI-augmented asset management with depreciation schedules.',
'description': """
Fusion Accounting Assets
========================
A Fusion-native replacement for Odoo Enterprise's account_asset module.
CORE scope (Phase 3):
- 3 depreciation methods: straight-line, declining balance, units of production
- Asset lifecycle: draft -> running -> paused -> disposed
- Depreciation board with editable schedule
- Disposal (sale, scrap, donation) + partial sale wizards
- Daily cron for posting periodic depreciation
AI augmentation:
- Anomaly detection on utilization vs expected
- AI-suggested useful life from invoice context (LLM)
Coexists with Enterprise: when account_asset is installed, the Fusion
menu hides; the engine + AI tools remain available for the chat.
""",
'author': 'Fusion Accounting',
'license': 'LGPL-3',
'depends': [
'fusion_accounting_core',
'fusion_accounting_ai',
'fusion_accounting_migration',
'account',
'mail',
],
'data': [
'security/ir.model.access.csv',
'data/cron.xml',
'wizards/create_asset_wizard_views.xml',
'wizards/disposal_wizard_views.xml',
'wizards/partial_sale_wizard_views.xml',
'wizards/depreciation_run_wizard_views.xml',
'reports/migration_audit_report_views.xml',
'reports/migration_audit_report_action.xml',
'views/menu_views.xml',
],
'assets': {
'web.assets_backend': [
'fusion_accounting_assets/static/src/scss/_variables.scss',
'fusion_accounting_assets/static/src/scss/assets.scss',
'fusion_accounting_assets/static/src/scss/dark_mode.scss',
'fusion_accounting_assets/static/src/services/assets_service.js',
'fusion_accounting_assets/static/src/views/asset_dashboard/asset_dashboard.js',
'fusion_accounting_assets/static/src/views/asset_dashboard/asset_dashboard.xml',
'fusion_accounting_assets/static/src/views/asset_dashboard/asset_dashboard_view.js',
'fusion_accounting_assets/static/src/components/asset_card/asset_card.js',
'fusion_accounting_assets/static/src/components/asset_card/asset_card.xml',
'fusion_accounting_assets/static/src/components/asset_detail_panel/asset_detail_panel.js',
'fusion_accounting_assets/static/src/components/asset_detail_panel/asset_detail_panel.xml',
'fusion_accounting_assets/static/src/components/depreciation_board/depreciation_board.js',
'fusion_accounting_assets/static/src/components/depreciation_board/depreciation_board.xml',
'fusion_accounting_assets/static/src/components/disposal_dialog/disposal_dialog.js',
'fusion_accounting_assets/static/src/components/disposal_dialog/disposal_dialog.xml',
'fusion_accounting_assets/static/src/components/ai_useful_life_panel/ai_useful_life_panel.js',
'fusion_accounting_assets/static/src/components/ai_useful_life_panel/ai_useful_life_panel.xml',
'fusion_accounting_assets/static/src/components/anomaly_strip/anomaly_strip.js',
'fusion_accounting_assets/static/src/components/anomaly_strip/anomaly_strip.xml',
],
'web.assets_tests': [
'fusion_accounting_assets/static/src/tours/assets_tours.js',
],
},
'installable': True,
'auto_install': False,
'application': False,
'icon': '/fusion_accounting_assets/static/description/icon.png',
}