← Back to Pull requests

[19.0] [ADD] account_invoice_report_product_country_of_origin #435

Open
ivantodorovich opened this pull request with 598 lines diff across 10 files
View on GitHub
ivantodorovich ivantodorovich commented on Oct 06, 2026 12:59 UTC
Author

This module prints the product's country of origin (Origin of Goods) under the line description of the invoice report, for the products where it is set.

This information is typically required on commercial documents for customs purposes.

Diff: 598 lines (+598 / -0) across 10 files Reviewer: yankinmax Review duration: 84356m
All Vouch review confidence checks passed
Residual risk 0.26 = Change Risk (0.61) × (1 − Review Confidence (0.58)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.61 · 598 lines diff across 10 files
0.61
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.24 · 1 substantive comment(s)
0.24
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 50%
57%
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.383
Shallow Review Depth shallow_review_depth
0.266
Real PR Conversation Timeline
4 items
yankinmax yankinmax approved these changes on Oct 08, 2026 15:14 UTC
Approved Reviewer

Approved these changes.

imlopes imlopes approved these changes on Oct 27, 2026 19:49 UTC
Approved Reviewer

Approved these changes.

OCA-git-bot OCA-git-bot commented on Oct 27, 2026 19:50 UTC
Bot

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

Reviewers
Assignees
ivantodorovich ivantodorovich
Labels
risk: low confidence: 57.6% 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: 61.5% (MEDIUM) · Higher = larger blast radius
61.5%
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: 57.6% · Lower = rushed or shallow review
57.6%
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: 26% · Safe to merge
26%