Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0053567Openbravo ERPB. User interfacepublic2023-09-29 04:462023-10-31 16:06
axelmercado 
AugustoMauch 
highmajoralways
closedfixed 
5
 
PR24Q1 
Core
No
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: https://drive.google.com/file/d/183bZAjZ3QuttRVIp_xdTqPirC1leExs5/view?usp=sharing [^]
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

Notes
(0156100)
axelmercado   
2023-10-20 02:48   
Hi team, any news for this issue?
(0156526)
hgbot   
2023-10-31 10:25   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1034 [^]
(0156557)
hgbot   
2023-10-31 16:06   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1034 [^]
(0156558)
hgbot   
2023-10-31 16:06   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 238d545b2d3cf4ceb8044f7318551436d0255b2d
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 31-10-2023 15:05:58
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/238d545b2d3cf4ceb8044f7318551436d0255b2d [^]

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
---