V19 removed the 'rpc' service from the registry. All 4 fusion services
(bank_reconciliation, reports, assets, followup) declared dependencies:
['rpc', ...] and accessed services.rpc in their constructor. At runtime
this caused:
Error: Some services could not be started: fusion_bank_reconciliation,
fusion_reports, fusion_assets, fusion_followup. Missing dependencies: rpc
\u2014 which prevented the entire OWL backend from booting (blank screen).
Fix per V19 docs:
- Add 'import { rpc } from "@web/core/network/rpc";'
- Set 'this.rpc = rpc;' in constructor (instead of services.rpc)
- Remove 'rpc' from dependencies list
This is the workspace CLAUDE.md guidance Phase 4's subagent flagged
but didn't act on for backward consistency. V19 actually removed the
service entirely, so the consistency choice was wrong \u2014 fixing now.
All call sites still use this.rpc(...) so no per-method changes needed.
Bundle rebuilt clean; backend boots correctly.
Made-with: Cursor
fusion_accounting_assets
AI-augmented fixed asset management for Odoo 19 Community — a
Fusion-native replacement for Enterprise's account_asset module.
What it does
- Three depreciation methods: straight-line, declining balance, and units-of-production
- Asset lifecycle state machine: draft → running → paused → disposed
- Editable depreciation board with full schedule recompute
- Disposal flow (sale, scrap, donation) plus partial-sale wizard
- Daily cron for posting periodic depreciation
- AI augmentation:
- Anomaly detection — variance vs expected schedule, low utilization
- Useful-life suggestion — LLM-driven from invoice context, with a keyword-based templated fallback so the feature still works offline
- Coexists with Enterprise
account_asset(Enterprise wins by default; the Fusion menu only appears when Enterprise is uninstalled) - Migration-aware: bootstrap step backfills
fusion.assetfrom existingaccount.assetrows so the AI has memory from day 1
Quick start
# Install
odoo --addons-path=... -i fusion_accounting_assets
# Open the dashboard (when Enterprise's account_asset is NOT installed)
# Apps -> Asset Management -> Assets
# When Enterprise IS installed: use Enterprise's UI; the engine + AI tools
# are still available via the AI chat.
Configuration
- Local LLM (LM Studio, Ollama):
fusion_accounting.openai_base_url=http://host.docker.internal:1234/v1fusion_accounting.openai_model= your local model namefusion_accounting.openai_api_key=lm-studio(anything non-empty)fusion_accounting.provider.asset_useful_life=openai
Public API (engine)
fusion.asset.engine is the single write surface. See CLAUDE.md for
the full 7-method signature list.
See also
CLAUDE.md— agent contextUPGRADE_NOTES.md— Odoo version anchoring