Skip to content

[20.0][MIG] web_group_expand: Migration to 20.0 - #3694

Open
jaydev-CAstra wants to merge 33 commits into
OCA:20.0from
jaydev-CAstra:20.0-mig-web_group_expand
Open

jaydev-CAstra wants to merge 33 commits into
OCA:20.0from
jaydev-CAstra:20.0-mig-web_group_expand

Conversation

@jaydev-CAstra

Copy link
Copy Markdown

Migration of web_group_expand to 20.0.

Odoo 20 changes that required code adaptations:

  • The web.ListView.EditableButtons template no longer exists. The Expand / Collapse buttons are now injected into web.ListView.Buttons, right after the "New" button.
  • OWL 3 templates need an explicit this. for component members (this.model.root.isGrouped, this.expandAllGroups).
  • Group fold state is no longer written through group._config.isFolded. The layer-by-layer expand / collapse logic is kept, but each layer is now toggled through the list's _toggleAllGroups(fold), the same method core uses for Group.toggleAll() (alt+click on a group header).
  • The MAX_NUMBER_OPENED_GROUPS juggling was dropped; it referenced a static that does not exist on the model in 19.0 or 20.0.

History replayed from 19.0 with git format-patch / git am.

Related: #3688

mga-odoo and others added 30 commits October 6, 2026 17:33
Currently translated at 100.0% (2 of 2 strings)

Translation: web-16.0/web-16.0-web_group_expand
Translate-URL: https://translation.odoo-community.org/projects/web-16-0/web-16-0-web_group_expand/es/
Currently translated at 100.0% (2 of 2 strings)

Translation: web-16.0/web-16.0-web_group_expand
Translate-URL: https://translation.odoo-community.org/projects/web-16-0/web-16-0-web_group_expand/pt_BR/
Translated using Weblate (Italian)

Currently translated at 100.0% (2 of 2 strings)

Translation: web-16.0/web-16.0-web_group_expand
Translate-URL: https://translation.odoo-community.org/projects/web-16-0/web-16-0-web_group_expand/it/
Currently translated at 100.0% (2 of 2 strings)

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

Translation: web-18.0/web-18.0-web_group_expand
Translate-URL: https://translation.odoo-community.org/projects/web-18-0/web-18-0-web_group_expand/fr_BE/
@OCA-git-bot OCA-git-bot added mod:web_group_expand Module web_group_expand series:20.0 labels Oct 6, 2026
@jaydev-CAstra jaydev-CAstra mentioned this pull request Oct 6, 2026
1 of 36 tasks
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.