Repository navigation
[20.0][MIG] web_group_expand: Migration to 20.0 - #3694
Open
jaydev-CAstra wants to merge 33 commits into
Open
jaydev-CAstra wants to merge 33 commits into
jaydev-CAstra wants to merge 33 commits into
Conversation
Adapt to OCA
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/
1 of 36 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Migration of
web_group_expandto 20.0.Odoo 20 changes that required code adaptations:
web.ListView.EditableButtonstemplate no longer exists. The Expand / Collapse buttons are now injected intoweb.ListView.Buttons, right after the "New" button.this.for component members (this.model.root.isGrouped,this.expandAllGroups).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 forGroup.toggleAll()(alt+click on a group header).MAX_NUMBER_OPENED_GROUPSjuggling 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