Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0052871Openbravo ERPA. Platformpublic2023-06-27 18:032023-06-27 18:04
cberner 
Triage Platform Base 
normalminorhave not tried
newopen 
5
 
 
Core
No
0052871: Removing all grouped elements in a grid and then trying to create a new line result in unexpected behaviour
Elements in a grid can be grouped if preferences is set as so, and when removed seems the button "No records yet. Create New" appears, when clicking this Create New a new element appears in the grid but it doesn't work properly and seems we're not able to properly set values on it.

This seems to be due to how grouping works, we shouldn't be able to add extra elements in grid mode when some column is set to be grouped. Only form mode is accepted.
1. Open for example Purchase Order window in backoffice
2. Create a new purchase order and then add a new line.
3. Right click on any column and mark it as Group by
4. Remove the line and check that you're able to add a new line through "Create New" highlighted link
5. Create a new line through the highlighted link, you'll see it has missing parts, and doesn't allow properly setting values. It can't be saved either.

If the group by option doesn't appear, you'll need to add a new Preference and mark it as selected with value Y, property "Grouping Enabled".

A GIF has been added illustrating the wrong behavior.
Two options here:
1. Once grid is grouping, do not show the No elements yet. Create New hyperlink(omit this last part).
2. Remove the grouping when all elements are removed.
No tags attached.
gif strangeBehaviour.gif (1,482,049) 2023-06-27 18:04
https://issues.openbravo.com/file_download.php?file_id=18697&type=bug
Issue History
2023-06-27 18:03cbernerNew Issue
2023-06-27 18:03cbernerAssigned To => Triage Platform Base
2023-06-27 18:03cbernerModules => Core
2023-06-27 18:03cbernerTriggers an Emergency Pack => No
2023-06-27 18:04cbernerFile Added: strangeBehaviour.gif
2023-06-27 18:04cbernerSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=26362#r26362

There are no notes attached to this issue.