Skip to content

Syncing from upstream OCA/server-ux (16.0)#1162

Merged
bt-admin merged 3 commits intobrain-tec:16.0from
OCA:16.0
Apr 14, 2026
Merged

Syncing from upstream OCA/server-ux (16.0)#1162
bt-admin merged 3 commits intobrain-tec:16.0from
OCA:16.0

Conversation

@bt-admin
Copy link
Copy Markdown

bt_gitbot

risto42 and others added 3 commits November 15, 2025 19:32
When base_cancel_confirm adds fields to XML via get_view(), it must also
add those fields to the models dictionary. The previous code skipped merging
when the model already existed, causing JavaScript errors like:

  "Missing field string information for the field 'cancel_confirm'"

This fix merges the new fields with existing ones instead of skipping them.

Closes #1190
Signed-off-by LoisRForgeFlow
@bt-admin bt-admin added the 16.0 label Apr 14, 2026
@bt-admin bt-admin merged commit 6dadf88 into brain-tec:16.0 Apr 14, 2026
4 checks passed
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 14, 2026

Codecov Report

❌ Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 93.36%. Comparing base (83ec7ea) to head (7015ec0).
⚠️ Report is 220 commits behind head on 16.0.

Files with missing lines Patch % Lines
base_cancel_confirm/model/base_cancel_confirm.py 50.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             16.0    #1162   +/-   ##
=======================================
  Coverage   93.36%   93.36%           
=======================================
  Files         267      267           
  Lines        6405     6405           
  Branches      564      564           
=======================================
  Hits         5980     5980           
  Misses        304      304           
  Partials      121      121           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

bt-admin pushed a commit that referenced this pull request May 6, 2026
Signed-off-by pedrobaeza
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants