Files
Odoo-Modules/fusion_accounting_bank_rec
gsinghpal 51d8ce494d fix(scss): remove forbidden @import "variables" lines breaking V19 asset bundle
Phases 1-3's SCSS files used '@import "variables";' to pull in tokens
from _variables.scss. V19's odoo.addons.base.models.assetsbundle
forbids cross-file SCSS imports for security ('Local import forbidden')
and the asset bundle warning was firing on every web request.

Phase 4 caught + fixed this for fusion_accounting_followup; Phases 1-3
were never updated. Today's deployment surfaced the CSS error reported
by the user.

Resolution:
- Removed @import lines from 7 SCSS files across bank_rec, reports, assets
- Variables come from _variables.scss via manifest concatenation order
  (bundle order is _variables.scss first, then dependent files)
- Replaced documentation comments to NOT contain the literal string
  '@import "variables"' \u2014 Odoo's check is regex-based and was
  matching even SCSS comments

Verified clean: bundle rebuilds with zero 'Local import forbidden'
warnings; all 534 fusion-module tests still pass.

Made-with: Cursor
2026-04-19 21:57:22 -04:00
..

fusion_accounting_bank_rec

AI-assisted bank reconciliation for Odoo 19 Community — a Fusion-native replacement for Enterprise's account_accountant bank reconciliation widget.

What it does

  • Side-by-side parity with Enterprise's bank reconciliation UI (kanban + side panel, multi-currency, write-offs, attachments, chatter)
  • AI-assistive: confidence-scored suggestions per bank line via the fusion.reconcile.engine 4-pass scoring pipeline (statistical + optional LLM re-rank)
  • Coexists with account_accountant (Enterprise wins by default; Fusion menu appears only when Enterprise is uninstalled)
  • Migration-aware: bootstrap step backfills fusion.reconcile.precedent from existing account.partial.reconcile rows so the AI has memory from day 1

Quick start

# Install
odoo --addons-path=... -i fusion_accounting_bank_rec

# Open the widget (when Enterprise's account_accountant is NOT installed)
# Apps → Bank Reconciliation → Reconcile Bank Lines

# 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/v1
    • fusion_accounting.openai_model = your local model name
    • fusion_accounting.provider.bank_rec_suggest = openai

See also

  • CLAUDE.md — agent context
  • UPGRADE_NOTES.md — Odoo version anchoring