odoo/o-spreadsheet#7708

Created by BI, Rémi Rahir (rar)

Blocked

label
odoo:17.0-fix-action-children-order-rar
head
98bc54d71fcfd99b50abfec1baef47cb575382b2
odoo/o-spreadsheet
17.0 #7708 missing r+
18.0
saas-18.2
saas-18.3
saas-18.4
19.0
saas-19.1
master

[FIX] Actions: ensure the sequence is applied on action children

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