← Back to Pull requests

[17.0][MIG] dms_action: Migration to version 17.0 #538

Merged
adasatorres-tecnativa merged 28 files (2503 lines) on Nov 30, 2026 13:55 UTC
View on GitHub
adasatorres-tecnativa adasatorres-tecnativa commented on Nov 05, 2026 16:35 UTC
Author

@Tecnativa TT64301
@christian-ramos-tecnativa @pedrobaeza

  • Migrated dms_action to Odoo 17: OWL components, ES modules, and a new asset declaration.

  • Integrated DMS actions into the form’s general menu and a dedicated section of the kanban menu.

  • Configured directories from each action.

  • Restricted access by group, enforcing the restriction for both visibility and server-side execution.

  • Added chatter and activities to the action model.

  • Replaced custom SCSS with Bootstrap classes.

  • Adapted Python tests and created tours for form and kanban views.
  • Diff: 2503 lines (+2503 / -0) across 28 files Reviewer: christian-ramos-tecnativa Review duration: 35839m
    All Vouch review confidence checks passed
    Residual risk 0.43 = Change Risk (0.95) × (1 − Review Confidence (0.54)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.95 · 2503 lines diff across 28 files
    0.95
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 50%
    54%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.400
    Shallow Review Depth shallow_review_depth
    0.341
    Sensitive Paths sensitive_paths
    0.095
    Mass File Touch mass_file_touch
    0.080
    Real PR Conversation Timeline
    1 comments
    "Review active on #538"
    general weight: 0.35
    Assignees
    adasatorres-tecnativa adasatorres-tecnativa
    Labels
    risk: medium confidence: 54.3% reviewed sensitive_module
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 94.7% (HIGH) · Higher = larger blast radius
    94.7%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 54.3% · Lower = rushed or shallow review
    54.3%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 43.3% · Moderate risk
    43.3%
    Repository