Skip to content

Conversation

@fw-bot
Copy link
Collaborator

@fw-bot fw-bot commented Jan 21, 2026

Currently, the helper 'createActions' pre-sorts a list of menuRegistry entries but this sort is not applied to the children (which can be generated dynamically). It never showed up as we rarely add children entries from different sources and their sequence often matches the order of insertion in the registry.

Task: 5452669

Description:

description of this task, what is implemented and why it is implemented that way.

Task: 5452669

review checklist

  • feature is organized in plugin, or UI components
  • support of duplicate sheet (deep copy)
  • in model/core: ranges are Range object, and can be adapted (adaptRanges)
  • in model/UI: ranges are strings (to show the user)
  • undo-able commands (uses this.history.update)
  • multiuser-able commands (has inverse commands and transformations where needed)
  • new/updated/removed commands are documented
  • exportable in excel
  • translations (_t("qmsdf %s", abc))
  • unit tested
  • clean commented code
  • track breaking changes
  • doc is rebuild (npm run doc)
  • status is correct in Odoo

Forward-Port-Of: #7828
Forward-Port-Of: #7708

Currently, the helper 'createActions' pre-sorts a list of menuRegistry
entries but this sort is not applied to the children (which can be
generated dynamically). It never showed up as we rarely add children
entries from different sources and their sequence often matches the
order of insertion in the registry.

Task: 5452669
X-original-commit: c823920
@robodoo
Copy link
Collaborator

robodoo commented Jan 21, 2026

Pull request status dashboard

@fw-bot
Copy link
Collaborator Author

fw-bot commented Jan 21, 2026

@rrahir @LucasLefevre this PR targets master and is the last of the forward-port chain.

To merge the full chain, use

@robodoo r+

More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port

@rrahir
Copy link
Collaborator

rrahir commented Jan 21, 2026

robodoo r+

robodoo pushed a commit that referenced this pull request Jan 21, 2026
Currently, the helper 'createActions' pre-sorts a list of menuRegistry
entries but this sort is not applied to the children (which can be
generated dynamically). It never showed up as we rarely add children
entries from different sources and their sequence often matches the
order of insertion in the registry.

closes #7829

Task: 5452669
X-original-commit: c823920
Signed-off-by: Lucas Lefèvre (lul) <lul@odoo.com>
Signed-off-by: Rémi Rahir (rar) <rar@odoo.com>
@robodoo robodoo added the 19.2 label Jan 21, 2026
@robodoo robodoo closed this Jan 21, 2026
@fw-bot fw-bot deleted the master-17.0-fix-action-children-order-rar-492463-fw branch January 28, 2026 09:07
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.

3 participants