Skip to content

[20.0][MIG] web_toggle_chatter: Migration to 20.0 - #3816

Open
Quan-nhm wants to merge 7 commits into
OCA:20.0from
komit-consulting:20.0-mig-web_toggle_chatter
Open

Quan-nhm wants to merge 7 commits into
OCA:20.0from
komit-consulting:20.0-mig-web_toggle_chatter

Conversation

@Quan-nhm

Copy link
Copy Markdown

Based on #3582 (19.0 migration, not merged yet): its commits are included and keep their original author.

Changes for 20.0:

  • Owl 3: useState replaced by proxy (owl3-migration).
  • Font Awesome angle icons replaced by Material Symbols keyboard_arrow_right/left
    (template, runtime fallback button and SCSS).
  • The template keeps __comp__ without this.: it is t-called from the compiled form
    template, whose context only holds __comp__ (the owl3 script would add this.).
  • JS test: SIZES moved to @web/core/ui/ui_utils.

Tested on Odoo 20: the 6 Hoot tests pass; on the partner form at XXL width the chatter
collapses and is restored, and the toggle is hidden in the stacked layout.

AI-assisted: Claude Opus 5.5 (commits carry the Assisted-by: trailer, per OCA AI policy).

arch-fan and others added 7 commits November 20, 2026 15:58
The module shipped a JS unit test but no HttpCase runner, so it never ran
in CI. Add the runner, and adapt the test to the 19.0 form layout: core now
renders the form sheet + chatter side by side only at >= XXL (stacking them
as `flex-column` below that), and the toggle is intentionally hidden in the
stacked layout. The test now forces the wide/sided layout, mocks the chatter
the same way mail compiles it, and asserts on the chatter's own state so it
is deterministic regardless of test order or runner viewport.
- Owl 3: useState is replaced by proxy (owl3-migration).
- Font Awesome angle icons replaced by Material Symbols
  keyboard_arrow_right/left, in the template, the runtime fallback
  button and the SCSS (19.5-00-material-symbols-icons).
- The template keeps `__comp__` without `this.`: it is t-called from the
  compiled form template, whose context only holds `__comp__`.
- JS test: SIZES moved to @web/core/ui/ui_utils.

Assisted-by: Claude Opus 5.5
@oca-cla-bot

oca-cla-bot Bot commented Nov 20, 2026

Copy link
Copy Markdown

The following commit authors need to sign the Contributor License Agreement:

CLA not signed

@OCA-git-bot OCA-git-bot added mod:web_toggle_chatter Module web_toggle_chatter series:20.0 labels Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:web_toggle_chatter Module web_toggle_chatter series:20.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants