← Back to Pull requests

[19.0][FIX] account_invoice_report_grouped_by_picking: avoid redundant subtotal #441

Merged
pilarvargas-tecnativa merged 1 files (2 lines) on Oct 22, 2026 17:37 UTC
View on GitHub
pilarvargas-tecnativa pilarvargas-tecnativa commented on Oct 20, 2026 05:43 UTC
Author

fwp https://github.com/OCA/account-invoice-reporting/pull/431

Do not display the grouped subtotal when the invoice has no associated pickings, as it only duplicates the invoice untaxed amount.

Keep all group subtotals, including the group without a picking, when the invoice contains a mix of lines with and without pickings.

Also replace the deprecated text-right class with the Bootstrap 5 text-end equivalent.

@Tecnativa

@pedrobaeza @CarlosRoca13 please review

Diff: 2 lines (+1 / -1) across 1 files Reviewer: pedrobaeza Review duration: 3594m
All Vouch review confidence checks passed
Residual risk 0.02 = Change Risk (0.10) × (1 − Review Confidence (0.78)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.10 · 2 lines diff across 1 files
0.10
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.66 · 5 substantive comment(s)
0.66
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 50%
78%
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.066
Real PR Conversation Timeline
9 items
pedrobaeza pedrobaeza approved these changes on Oct 20, 2026 06:08 UTC
Approved Reviewer

Approved these changes.

cristina-hidalgo-tecnativa cristina-hidalgo-tecnativa approved these changes on Oct 20, 2026 13:34 UTC
Approved Reviewer

Code reviewed and tested locally and on runboat. LGTM!

pedrobaeza pedrobaeza commented on Oct 21, 2026 09:52 UTC
Contributor

Please solve the conflict.

pilarvargas-tecnativa pilarvargas-tecnativa commented on Oct 21, 2026 11:45 UTC
Author

Please solve the conflict.

done

ivantodorovich ivantodorovich approved these changes on Oct 22, 2026 17:21 UTC
Approved Reviewer

Approved these changes.

pedrobaeza pedrobaeza commented on Oct 22, 2026 17:30 UTC
Contributor

/ocabot merge patch

OCA-git-bot OCA-git-bot commented on Oct 22, 2026 17:30 UTC
Bot

What a great day to merge this nice PR. Let's do it!
Prepared branch 19.0-ocabot-merge-pr-441-by-pedrobaeza-bump-patch, awaiting test results.

OCA-git-bot OCA-git-bot commented on Oct 22, 2026 17:37 UTC
Bot

Congratulations, your PR was merged at c9478c12df6ad6b3c005a0a19b9924e7fd5cf17a. Thanks a lot for contributing to OCA. ❤️

Reviewers
Assignees
pilarvargas-tecnativa pilarvargas-tecnativa
Labels
risk: low confidence: 78.1% 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: 9.6% (LOW) · Higher = larger blast radius
9.6%
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: 78.1% · Lower = rushed or shallow review
78.1%
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: 2.1% · Safe to merge
2.1%