← Back to Pull requests

[OU-FIX] base: rename XML IDs with spaces #6127

Open
eLBati opened this pull request with 19 lines diff across 1 files
View on GitHub
eLBati eLBati commented on Dec 01, 2026 15:33 UTC
Author

The constraint ir_model_data_name_nospaces, new in 14.0, can't be created while the database has XML IDs with spaces: Odoo only logs "unable to add constraint", and the constraint is missing in the next versions too.

For instance mail.access mail_channel_partner_user, which 14.0 renames to access_mail_channel_partner_user, and the taxes generated from the l10n_it 12.0 templates like "22v INC", removed in 13.0.

Diff: 19 lines (+19 / -0) across 1 files Reviewer: pedrobaeza Review duration: 2723m
All Vouch review confidence checks passed
Residual risk 0.02 = Change Risk (0.21) × (1 − Review Confidence (0.89)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.21 · 19 lines diff across 1 files
0.21
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.89 · 1 substantive comment(s)
0.89
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
89%
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.179
Real PR Conversation Timeline
3 items
OCA-git-bot OCA-git-bot commented on Dec 01, 2026 15:33 UTC
Bot

Hi @pedrobaeza, @MiquelRForgeFlow, @StefanRijnhart,
some modules you are maintaining are being modified, check this out!

pedrobaeza pedrobaeza requested changes on Dec 01, 2026 15:41 UTC
Changes Requested Reviewer

I don't think we should do this massively, but each module having these XML-IDs should be responsible of doing the renaming in their pre-migration scripts. If not, we will end up with possible duplicate records.

Reviewers
Assignees
eLBati eLBati
Labels
risk: low confidence: 89.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: 20.9% (LOW) · Higher = larger blast radius
20.9%
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: 89.1% · Lower = rushed or shallow review
89.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.3% · Safe to merge
2.3%