Skip to content

[20.0][MIG] web_chatter_position: Migration to 20.0 - #3719

Open
Pani-k-folk wants to merge 31 commits into
OCA:20.0from
ecosoft-odoo:20.0-mig-web_chatter_position
Open

Pani-k-folk wants to merge 31 commits into
OCA:20.0from
ecosoft-odoo:20.0-mig-web_chatter_position

Conversation

@Pani-k-folk

@Pani-k-folk Pani-k-folk commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Changes

  • res.users: SELF_READABLE_FIELDS / SELF_WRITEABLE_FIELDS were removed. chatter_position is now declared with user_writeable=True. Reading it on its own user needs nothing, as the field has no groups.
  • webclient_bootstrap: the head_web block no longer exists in web.webclient_bootstrap. The script now goes into the head block.
  • JS: @web/core/ui/ui_service was removed. SIZES is imported from @web/core/ui/ui_utils. The imports are reordered for the sort-imports eslint rule.

Fix from 19.0

Includes the fix from #3717 (x2many column widths shrinking step by step after a window resize with the Bottom or Sided position) via the 19.0 history.

How to test

  1. Install the module, then set Preferences > Chatter Position to Responsive, Bottom and Sided (reload after each change).
  2. Open a form with a chatter, e.g. a customer invoice with lines, and check the chatter position.
  3. Resize the window. The layout and the list columns should settle at once.

AI disclosure

Assisted-by: Claude Opus 5.5 (migration changes were reviewed and tested by me)

@OCA-git-bot OCA-git-bot added mod:web_chatter_position Module web_chatter_position series:20.0 labels Oct 15, 2026
@Pani-k-folk
Pani-k-folk force-pushed the 20.0-mig-web_chatter_position branch from e1f27b4 to ffa39a5 Compare October 15, 2026 10:19
@Pani-k-folk

Copy link
Copy Markdown
Contributor Author

@BhaveshHeliconia Hi, before merging the MIG PR into version 20.0, could you please review this bug fix PR that was merged into version 19.0: #3717?

I'd like to oca-port this fix to version 20.0. Thank you!

@baf-adhoc baf-adhoc left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM

@OCA-git-bot

Copy link
Copy Markdown
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

@antoniocanovas antoniocanovas left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Functional review OK

@Pani-k-folk

Copy link
Copy Markdown
Contributor Author

@antoniocanovas @baf-adhoc
Hi, before merging the MIG PR into version 20.0, could you please review this bug fix PR that was merged into version 19.0: #3717?

I'd like to oca-port this fix to version 20.0. Thank you!

marchar1 added a commit to SuperbirdOdoo/web that referenced this pull request Oct 23, 2026
MohamedOsman7 and others added 14 commits October 28, 2026 13:55
Co-authored-by: Stefan Rijnhart <stefan@opener.amsterdam>
Currently translated at 100.0% (5 of 5 strings)

Translation: web-18.0/web-18.0-web_chatter_position
Translate-URL: https://translation.odoo-community.org/projects/web-18-0/web-18-0-web_chatter_position/fr_BE/
Currently translated at 100.0% (7 of 7 strings)

Translation: web-19.0/web-19.0-web_chatter_position
Translate-URL: https://translation.odoo-community.org/projects/web-19-0/web-19-0-web_chatter_position/sv/
Currently translated at 100.0% (7 of 7 strings)

Translation: web-19.0/web-19.0-web_chatter_position
Translate-URL: https://translation.odoo-community.org/projects/web-19-0/web-19-0-web_chatter_position/da/
With the "bottom" or "sided" position, the width of the form sheet
followed its content, while x2many lists compute their column widths
from that same width. After a window resize the columns shrank step by
step every 200ms instead of settling at once.

- bottom: keep the core width of the sheet background (100%), only
  remove its max width.
- sided: keep the core classes of the form renderer (they were all
  replaced, dropping o_form_renderer, o_form_editable...) and let the
  sheet background shrink beside the chatter.

Assisted-by: Claude Opus 5.5
@Pani-k-folk
Pani-k-folk force-pushed the 20.0-mig-web_chatter_position branch from ffa39a5 to bf46818 Compare October 28, 2026 07:05
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.