Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0053567Openbravo ERPB. User interfacepublic2023-09-29 04:462023-10-31 16:06
0053567: Problem in visualization of grouped data [Group By].
When you have lines grouped by columns and you set a maximum of grouping values, when executing a custom process belonging to the GDC client (which in this case simply allows to modify the price of the lines of a purchase invoice), it automatically displays the error popup informing that the maximum grouping allowed has been exceeded when in fact it is not so.
It cannot be reproduced in Livebuilds, but it can be reproduced in the Test environment of the GDC client (ask for the access credentials).

1-Have defined the property of grouping of lines and maximum value of grouping.
2-Create a purchase order with many lines and grouped (the sum of them does not exceed the value of the preference).
3-Execute the process "Invoice Anomaly" and make a modification as shown in the video.
4- Verify the error message and the lines that disappear.

Video with the steps: [^]
No tags attached.
Issue History
2023-09-29 04:46axelmercadoNew Issue
2023-09-29 04:46axelmercadoAssigned To => Triage Platform Base
2023-09-29 04:46axelmercadoModules => Core
2023-09-29 04:46axelmercadoTriggers an Emergency Pack => No
2023-09-29 07:55PracticsIssue Monitored: Practics
2023-10-20 02:48axelmercadoNote Added: 0156100
2023-10-23 08:35AugustoMauchAssigned ToTriage Platform Base => AugustoMauch
2023-10-31 10:25hgbotNote Added: 0156526
2023-10-31 16:06hgbotResolutionopen => fixed
2023-10-31 16:06hgbotStatusnew => closed
2023-10-31 16:06hgbotNote Added: 0156557
2023-10-31 16:06hgbotFixed in Version => PR24Q1
2023-10-31 16:06hgbotNote Added: 0156558

2023-10-20 02:48   
Hi team, any news for this issue?
2023-10-31 10:25   
Merge Request created: [^]
2023-10-31 16:06   
Merge request merged: [^]
2023-10-31 16:06   
Directly closing issue as related merge request is already approved.

Repository: [^]
Changeset: 238d545b2d3cf4ceb8044f7318551436d0255b2d
Author: Augusto Mauch <>
Date: 31-10-2023 15:05:58
URL: [^]

Fixes ISSUE-53567: Prevents grouping from being undone

The problem was that there was a race condition that resulting in the grouping being undone if
the grid.requestVisibleRows was being invoked right when the local records were being grouped
in memory.

To prevent this, now check check if the local grouping is taken place, and if so the request to
grid.requestVisibleRows is canceled

M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js