Skip to content

[16.0][IMP] web_widget_sub_view: configurable create-action type and fix overlapping content - #3752

Open
juanalfonsocb wants to merge 1 commit into
OCA:16.0from
tegin:16.0-imp-web_widget_sub_view
Open

juanalfonsocb wants to merge 1 commit into
OCA:16.0from
tegin:16.0-imp-web_widget_sub_view

Conversation

@juanalfonsocb

@juanalfonsocb juanalfonsocb commented Oct 23, 2026 •

Copy link
Copy Markdown

Make create-action type configurable + fix vertical-notebook overlap

create-action could be a method name or an action id, but the widget always treated it as an action id (type: "action" hardcoded), breaking the method-name case (KeyError: False). Added create-action-type (object/action, default object) to pick the right one.

Also fixed the widget's content rendering on top of the tabs sidebar when nested in a vertical notebook (forced position: static on .o_content, reset margins meant for horizontal sheets).

Breaking: default changed to object — existing create-action users need create-action-type="action" explicitly.

@OCA-git-bot OCA-git-bot added series:16.0 mod:web_widget_sub_view Module web_widget_sub_view labels Oct 23, 2026
@juanalfonsocb juanalfonsocb changed the title [IMP] web_widget_sub_view: configurable create-action type and fix overlapping content [16.0] [IMP] web_widget_sub_view: configurable create-action type and fix overlapping content Oct 26, 2026
@juanalfonsocb juanalfonsocb changed the title [16.0] [IMP] web_widget_sub_view: configurable create-action type and fix overlapping content [16.0][IMP] web_widget_sub_view: configurable create-action type and fix overlapping content Oct 26, 2026
@juanalfonsocb
juanalfonsocb force-pushed the 16.0-imp-web_widget_sub_view branch from b5b985c to 4b2d257 Compare October 28, 2026 15:52
@oca-cla-bot

oca-cla-bot Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

All commit authors signed the Contributor License Agreement.

CLA signed

@juanalfonsocb

Copy link
Copy Markdown
Author

@etobella

context: attrs.context || "{}",
recordAction: attrs["open-action"] || "get_formview_action",
createAction: attrs["create-action"],
createActionType: attrs["create-action-type"] || "object",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

this could break existing installations, however,' it has been there for a few days only

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

Labels

mod:web_widget_sub_view Module web_widget_sub_view series:16.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants