← Back to Pull requests

[FW][17.0] edi_oca: multiple ports from 16.0 #356

Closed
unknown closed this pull request without merging on Oct 20, 2026 06:17 UTC
View on GitHub
unknown unknown commented on Sep 29, 2026 15:15 UTC
Author

Ports outstanding fixes/improvements from 16.0 to 17.0 for edi_oca, as part of the wider 16.0 → 17.0 forward-port effort for edi-framework.

PRs ported

  • OCA#109 [FIX] edi_oca: consider parent record when checking access rule

  • OCA#148 [IMP] edi_oca set job priority from exchange type

  • OCA#105 [IMP] edi_oca: Split exchange error and traceback

  • OCA#157 [FIX] edi_oca: Fix get_view

  • OCA#168 [16.0] edi_oca misc fwd ports from edi/14.0 (13 of 15 commits — adds the edi.configuration + edi.configuration.trigger models; excludes 2 commits that no longer apply, see below)

  • https://github.com/OCA/edi-framework/pull/349
  • 3 extra [FIX] edi_oca: adapt to v17 commits are included where the 16.0 code needed adjusting for 17.0 (a view using the new invisible= syntax instead of legacy attrs=, and a couple of ruff/line-length violations introduced by the ported code).

    Excluded from OCA#168

  • 01b8019f (fix CONFIGURE.rst syntax) — moot, the readme fragment format switched from .rst to .md since 16.0

  • 218e0505 (oca-port blacklist bookkeeping commit) — not real code, an artifact of the previous 14.0→16.0 port
  • Discarded / blacklisted PR

  • OCA#63 — blacklisted (commit included in this PR: .oca/oca-port/blacklist/edi_oca.json). Its only two commits touching edi_oca are a test fix and a later revert of unrelated prior history that net to zero; 17.0 already matches the resulting state either way.
  • Not ported yet (needs manual follow-up, NOT blacklisted)

  • OCA#294 [FIX] edi_oca: search with slice only can be count=False — the _search method it patches was completely rewritten in 17.0 for Odoo's new query-object ORM API. The original bug's code path no longer exists in that form; needs a manual review of the new _search implementation rather than a blind port. Left un-blacklisted intentionally so it stays visible to future oca-port runs.
  • Diff: 240 lines (+180 / -60) across 3 files Reviewer: HviorForgeFlow Review duration: 29701m
    All Vouch review confidence checks passed
    Residual risk 0.15 = Change Risk (0.39) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.39 · 240 lines diff across 3 files
    0.39
    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: 35%
    60%
    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.328
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #356"
    general weight: 0.35
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% 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: 38.7% (MEDIUM) · Higher = larger blast radius
    38.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: 60.5% · Lower = rushed or shallow review
    60.5%
    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: 15.3% · Safe to merge
    15.3%