Adds the foundation for AI confidence scoring: - fusion.reconcile.pattern: per-(company, partner) aggregate profile (volume, cadence, preferred matching strategy, memo signature, write-off habits) — recomputed nightly from precedents. - fusion.reconcile.precedent: per-historical-decision memory holding full feature vector + outcome, used by precedent_lookup for KNN scoring of new bank lines. Includes ACL rows for fusion accounting user (read) and admin (CRUD) groups. Manifest bumped to 19.0.1.0.1. Note: switched the pattern uniqueness rule from the deprecated _sql_constraints attribute to models.Constraint (Odoo 19 native API) so the unique(company_id, partner_id) is actually enforced at the PG level — _sql_constraints is silently ignored in 19. Made-with: Cursor
659 B
659 B
| 1 | id | name | model_id:id | group_id:id | perm_read | perm_write | perm_create | perm_unlink |
|---|---|---|---|---|---|---|---|---|
| 2 | access_fusion_reconcile_pattern_user | pattern user | model_fusion_reconcile_pattern | fusion_accounting_core.group_fusion_accounting_user | 1 | 0 | 0 | 0 |
| 3 | access_fusion_reconcile_pattern_admin | pattern admin | model_fusion_reconcile_pattern | fusion_accounting_core.group_fusion_accounting_admin | 1 | 1 | 1 | 1 |
| 4 | access_fusion_reconcile_precedent_user | precedent user | model_fusion_reconcile_precedent | fusion_accounting_core.group_fusion_accounting_user | 1 | 0 | 0 | 0 |
| 5 | access_fusion_reconcile_precedent_admin | precedent admin | model_fusion_reconcile_precedent | fusion_accounting_core.group_fusion_accounting_admin | 1 | 1 | 1 | 1 |