Skip to content

Syncing from upstream OCA/server-ux (19.0)#1163

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

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

Conversation

@bt-admin
Copy link
Copy Markdown

bt_gitbot

risto42 and others added 3 commits April 13, 2026 12:33
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 19.0 label Apr 14, 2026
@bt-admin bt-admin merged commit a9212f5 into brain-tec:19.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 95.05%. Comparing base (e46d086) to head (b3d4329).
⚠️ Report is 11 commits behind head on 19.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           @@
##             19.0    #1163   +/-   ##
=======================================
  Coverage   95.05%   95.05%           
=======================================
  Files          42       42           
  Lines        1132     1132           
  Branches      110      110           
=======================================
  Hits         1076     1076           
  Misses         29       29           
  Partials       27       27           

☔ 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.

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