Skip to content

[19.0][FW][FIX] base_cancel_confirm: Merge injected fields in get_view models dict#1283

Merged
OCA-git-bot merged 1 commit intoOCA:19.0from
ForgeFlow:19.0-fix-base_cancel_confirm
Apr 13, 2026
Merged

[19.0][FW][FIX] base_cancel_confirm: Merge injected fields in get_view models dict#1283
OCA-git-bot merged 1 commit intoOCA:19.0from
ForgeFlow:19.0-fix-base_cancel_confirm

Conversation

@JordiMForgeFlow
Copy link
Copy Markdown
Contributor

FW of #1191

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 OCA#1190
@OCA-git-bot
Copy link
Copy Markdown
Contributor

Hi @kittiu,
some modules you are maintaining are being modified, check this out!

Copy link
Copy Markdown
Contributor

@AaronHForgeFlow AaronHForgeFlow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link
Copy Markdown
Contributor

@LoisRForgeFlow LoisRForgeFlow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/ocabot merge patch

@OCA-git-bot
Copy link
Copy Markdown
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 19.0-ocabot-merge-pr-1283-by-LoisRForgeFlow-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit dbb769f into OCA:19.0 Apr 13, 2026
6 of 7 checks passed
@OCA-git-bot
Copy link
Copy Markdown
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants