Skip to content

[FIX] base: match server actions visual sort with execution#247232

Closed
jeromebelpaire wants to merge 1 commit intoodoo:masterfrom
odoo-dev:master-imp-documents-accounting-improve-server-actions-and-demo-documents-beje
Closed

[FIX] base: match server actions visual sort with execution#247232
jeromebelpaire wants to merge 1 commit intoodoo:masterfrom
odoo-dev:master-imp-documents-accounting-improve-server-actions-and-demo-documents-beje

Conversation

@jeromebelpaire
Copy link

Currently, the server actions Kanban view implicitly sorts records by sequence and then by ID. This behavior is triggered automatically by the web client when a field with the 'handle' widget is present and no default order is specified in the view.

However, the backend execution logic for multi-actions (ir.actions.server) processes actions based on 'sequence' and then 'name' (alphabetical).

This creates a discrepancy when multiple actions share the same sequence number: the user sees them sorted by creation order (ID) in the interface, but they are executed alphabetically. This leads to confusion as the visual hierarchy does not accurately represent the flow of operations.

This commit ensures the view aligns with the backend model's sorting logic, so that the visual order in the frontend matches the actual execution order.

Task-5075610

@robodoo
Copy link
Contributor

robodoo commented Feb 4, 2026

Pull request status dashboard

@C3POdoo C3POdoo requested review from a team, rco-odoo and rugo-odoo and removed request for a team February 4, 2026 15:53
Copy link
Contributor

@std-odoo std-odoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@robodoo
Copy link
Contributor

robodoo commented Feb 5, 2026

@jeromebelpaire @std-odoo linked pull request(s) odoo/upgrade#9044 not ready. Linked PRs are not staged until all of them are ready.

@jeromebelpaire jeromebelpaire force-pushed the master-imp-documents-accounting-improve-server-actions-and-demo-documents-beje branch from 92bb8fa to b8856de Compare February 6, 2026 09:16
@std-odoo
Copy link
Contributor

std-odoo commented Feb 6, 2026

@robodoo r+

Currently, the server actions Kanban view implicitly sorts records by
sequence and then by ID. This behavior is triggered automatically by
the web client when a field with the 'handle' widget is present and no
default order is specified in the view.

However, the backend execution logic for multi-actions (ir.actions.server)
processes actions based on 'sequence' and then 'name' (alphabetical).

This creates a discrepancy when multiple actions share the same sequence
number: the user sees them sorted by creation order (ID) in the interface,
but they are executed alphabetically. This leads to confusion as the
visual hierarchy does not accurately represent the flow of operations.

This commit ensures the view aligns with the backend model's sorting logic,
so that the visual order in the frontend matches the actual execution order.

Task-5075610
@std-odoo std-odoo force-pushed the master-imp-documents-accounting-improve-server-actions-and-demo-documents-beje branch from b8856de to 320891a Compare February 9, 2026 13:56
@std-odoo
Copy link
Contributor

@robodoo r+

robodoo pushed a commit that referenced this pull request Feb 12, 2026
Currently, the server actions Kanban view implicitly sorts records by
sequence and then by ID. This behavior is triggered automatically by
the web client when a field with the 'handle' widget is present and no
default order is specified in the view.

However, the backend execution logic for multi-actions (ir.actions.server)
processes actions based on 'sequence' and then 'name' (alphabetical).

This creates a discrepancy when multiple actions share the same sequence
number: the user sees them sorted by creation order (ID) in the interface,
but they are executed alphabetically. This leads to confusion as the
visual hierarchy does not accurately represent the flow of operations.

This commit ensures the view aligns with the backend model's sorting logic,
so that the visual order in the frontend matches the actual execution order.

Task-5075610

closes #247232

Related: odoo/enterprise#97362
Related: odoo/upgrade#9044
Signed-off-by: Stéphane Debauche (std) <std@odoo.com>
robodoo pushed a commit that referenced this pull request Feb 12, 2026
Currently, the server actions Kanban view implicitly sorts records by
sequence and then by ID. This behavior is triggered automatically by
the web client when a field with the 'handle' widget is present and no
default order is specified in the view.

However, the backend execution logic for multi-actions (ir.actions.server)
processes actions based on 'sequence' and then 'name' (alphabetical).

This creates a discrepancy when multiple actions share the same sequence
number: the user sees them sorted by creation order (ID) in the interface,
but they are executed alphabetically. This leads to confusion as the
visual hierarchy does not accurately represent the flow of operations.

This commit ensures the view aligns with the backend model's sorting logic,
so that the visual order in the frontend matches the actual execution order.

Task-5075610

closes #247232

Related: odoo/enterprise#97362
Related: odoo/upgrade#9044
Signed-off-by: Stéphane Debauche (std) <std@odoo.com>
robodoo pushed a commit that referenced this pull request Feb 12, 2026
Currently, the server actions Kanban view implicitly sorts records by
sequence and then by ID. This behavior is triggered automatically by
the web client when a field with the 'handle' widget is present and no
default order is specified in the view.

However, the backend execution logic for multi-actions (ir.actions.server)
processes actions based on 'sequence' and then 'name' (alphabetical).

This creates a discrepancy when multiple actions share the same sequence
number: the user sees them sorted by creation order (ID) in the interface,
but they are executed alphabetically. This leads to confusion as the
visual hierarchy does not accurately represent the flow of operations.

This commit ensures the view aligns with the backend model's sorting logic,
so that the visual order in the frontend matches the actual execution order.

Task-5075610

closes #247232

Related: odoo/enterprise#97362
Related: odoo/upgrade#9044
Signed-off-by: Stéphane Debauche (std) <std@odoo.com>
robodoo pushed a commit that referenced this pull request Feb 12, 2026
Currently, the server actions Kanban view implicitly sorts records by
sequence and then by ID. This behavior is triggered automatically by
the web client when a field with the 'handle' widget is present and no
default order is specified in the view.

However, the backend execution logic for multi-actions (ir.actions.server)
processes actions based on 'sequence' and then 'name' (alphabetical).

This creates a discrepancy when multiple actions share the same sequence
number: the user sees them sorted by creation order (ID) in the interface,
but they are executed alphabetically. This leads to confusion as the
visual hierarchy does not accurately represent the flow of operations.

This commit ensures the view aligns with the backend model's sorting logic,
so that the visual order in the frontend matches the actual execution order.

Task-5075610

closes #247232

Related: odoo/enterprise#97362
Related: odoo/upgrade#9044
Signed-off-by: Stéphane Debauche (std) <std@odoo.com>
robodoo pushed a commit that referenced this pull request Feb 12, 2026
Currently, the server actions Kanban view implicitly sorts records by
sequence and then by ID. This behavior is triggered automatically by
the web client when a field with the 'handle' widget is present and no
default order is specified in the view.

However, the backend execution logic for multi-actions (ir.actions.server)
processes actions based on 'sequence' and then 'name' (alphabetical).

This creates a discrepancy when multiple actions share the same sequence
number: the user sees them sorted by creation order (ID) in the interface,
but they are executed alphabetically. This leads to confusion as the
visual hierarchy does not accurately represent the flow of operations.

This commit ensures the view aligns with the backend model's sorting logic,
so that the visual order in the frontend matches the actual execution order.

Task-5075610

closes #247232

Related: odoo/enterprise#97362
Related: odoo/upgrade#9044
Signed-off-by: Stéphane Debauche (std) <std@odoo.com>
@robodoo robodoo added the 19.2 label Feb 13, 2026
@robodoo robodoo closed this Feb 13, 2026
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.

3 participants