← Back to Pull requests

[18.0][ADD] dms_file_description: add descriptions to DMS files #481

Closed
windweaver828 closed this pull request without merging on Nov 08, 2026 17:27 UTC
View on GitHub
windweaver828 windweaver828 commented on Jun 04, 2026 02:09 UTC
Author

Adds two DMS modules:

  • dms_file_description: adds editable descriptions to dms.file and displays them in DMS form, list, kanban, and search views.

  • dms_field_file_description_preview: auto-install bridge that shows file descriptions in the embedded DMS preview pane from dms_field.
  • The preview integration is split from the base module so dms_file_description only depends on dms.

    Tested on odoo-demo with:

    ```bash
    ./run_odoo.sh -i dms_field_file_description_preview,dms_ui_enhancements_file_description_preview -u dms_file_description --test-enable --test-tags /dms_file_description --log-level=test

    Diff: 78 lines (+58 / -20) across 1 files Reviewer: None requested Review duration: 226998m
    All Vouch review confidence checks passed
    Residual risk 0.19 = Change Risk (0.41) × (1 − Review Confidence (0.54)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.41 · 78 lines diff across 1 files
    0.41
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 10%
    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
    Shallow Review Depth shallow_review_depth
    0.289
    Diff Size diff_size
    0.261
    No Reviewer Assigned no_reviewer_assigned
    0.120
    Real PR Conversation Timeline
    1 comments
    "Review active on #481"
    general weight: 0.35
    Reviewers
    None requested
    Assignees
    windweaver828 windweaver828
    Labels
    risk: low confidence: 54.2% reviewed
    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: 41.1% (MEDIUM) · Higher = larger blast radius
    41.1%
    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.2% · Lower = rushed or shallow review
    54.2%
    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: 18.8% · Safe to merge
    18.8%
    Repository