feat(fusion_accounting_bank_rec): pattern + precedent models for behavioural learning
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
This commit is contained in:
@@ -1 +1,5 @@
|
||||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
||||
access_fusion_reconcile_pattern_user,pattern user,model_fusion_reconcile_pattern,fusion_accounting_core.group_fusion_accounting_user,1,0,0,0
|
||||
access_fusion_reconcile_pattern_admin,pattern admin,model_fusion_reconcile_pattern,fusion_accounting_core.group_fusion_accounting_admin,1,1,1,1
|
||||
access_fusion_reconcile_precedent_user,precedent user,model_fusion_reconcile_precedent,fusion_accounting_core.group_fusion_accounting_user,1,0,0,0
|
||||
access_fusion_reconcile_precedent_admin,precedent admin,model_fusion_reconcile_precedent,fusion_accounting_core.group_fusion_accounting_admin,1,1,1,1
|
||||
|
||||
|
Reference in New Issue
Block a user