Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0028246 | Openbravo ERP | A. Platform | public | 2014-11-21 12:18 | 2014-12-30 23:26 |
|
Reporter | caristu | |
Assigned To | AugustoMauch | |
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | pi | |
Target Version | 3.0PR15Q1 | Fixed in Version | 3.0PR15Q1 | |
Merge Request Status | |
Review Assigned To | Sandrahuguet |
OBNetwork customer | OBPS |
Web browser | |
Modules | Core |
Support ticket | 32597 |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0028246: Grids with display logics in Process Definitions are not automatically fetched |
Description | Having a Process Definition that has a Grid type parameter with a display logic
depending on the value of another parameter.
In this scenario, the grid data is never fetched automatically. If the grid is filtered by any field then a fetch is done and the data is shown.
The grid should be automatically fetched when it is displayed. |
Steps To Reproduce | In Description |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2014-11-21 12:18 | caristu | New Issue | |
2014-11-21 12:18 | caristu | Assigned To | => AugustoMauch |
2014-11-21 12:18 | caristu | OBNetwork customer | => Yes |
2014-11-21 12:18 | caristu | Modules | => Core |
2014-11-21 12:18 | caristu | Support ticket | => 32597 |
2014-11-21 12:18 | caristu | Triggers an Emergency Pack | => No |
2014-11-21 12:18 | caristu | Issue Monitored: networkb | |
2014-11-21 12:18 | caristu | version | => pi |
2014-11-21 12:18 | caristu | Target Version | => 3.0PR15Q1 |
2014-11-26 10:34 | AugustoMauch | Issue Monitored: Sandrahuguet | |
2014-11-26 10:35 | AugustoMauch | Issue End Monitor: Sandrahuguet | |
2014-11-26 10:35 | AugustoMauch | Issue Monitored: Sandrahuguet | |
2014-11-26 10:35 | AugustoMauch | Review Assigned To | => Sandrahuguet |
2014-11-26 10:36 | hgbot | Checkin | |
2014-11-26 10:36 | hgbot | Note Added: 0072017 | |
2014-11-26 10:36 | hgbot | Status | new => resolved |
2014-11-26 10:36 | hgbot | Resolution | open => fixed |
2014-11-26 10:36 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/757e2d4d064c8cdd1742e4de13b9c03dd6b26ebd [^] |
2014-11-26 13:51 | hgbot | Checkin | |
2014-11-26 13:51 | hgbot | Note Added: 0072031 | |
2014-12-01 12:06 | Sandrahuguet | Note Added: 0072182 | |
2014-12-01 12:07 | Sandrahuguet | Note Added: 0072183 | |
2014-12-01 12:07 | Sandrahuguet | Status | resolved => closed |
2014-12-01 12:07 | Sandrahuguet | Fixed in Version | => 3.0PR15Q1 |
2014-12-30 23:26 | hudsonbot | Checkin | |
2014-12-30 23:26 | hudsonbot | Note Added: 0073143 | |
2014-12-30 23:26 | hudsonbot | Checkin | |
2014-12-30 23:26 | hudsonbot | Note Added: 0073146 | |
2014-12-30 23:26 | hudsonbot | Checkin | |
2014-12-30 23:26 | hudsonbot | Note Added: 0073147 | |
Notes |
|
(0072017)
|
hgbot
|
2014-11-26 10:36
|
|
Repository: erp/devel/pi
Changeset: 757e2d4d064c8cdd1742e4de13b9c03dd6b26ebd
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Wed Nov 26 10:34:40 2014 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/757e2d4d064c8cdd1742e4de13b9c03dd6b26ebd [^]
Fixes issue 28246: Grid parameters are loaded even if they have display logic
The problem was that the grid parameters were only being automatically loaded when they did not have display logic. If they had display logic the user had either to programatically load the grid, or change the grid filter editor.
To fix this, now it is detected when a grid is shown for the very first time (in that case its data property will not be a ResultSet, as it has not been loaded yet), and it is loaded then.
---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-parameter-window-view.js
---
|
|
|
(0072031)
|
hgbot
|
2014-11-26 13:51
|
|
Repository: erp/devel/pi
Changeset: 0bdb0cb683ede5d19d2b53d2f5695987de9388dd
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Wed Nov 26 13:38:02 2014 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/0bdb0cb683ede5d19d2b53d2f5695987de9388dd [^]
Related with bug 28246: Filter expression not reset after clearing the filters
The following problem has been detected while doing the QA for issue 28246: If a grid parameter has a display logic and a filter expression, then when the user clears the filter the filter expression will be momentarily removed, and then reset again.
This happened because there was some code that tried to guarantee that the grid was loaded the first time that is was made visible and that had the filter expression applied, but was not checking properly that the grid was not loaded yet. This resulted in reapplying the filter expression each time the grid is redrawn.
This has been fixed by checking properly if the grid has already loaded its data (in that case its data property will be an instance of ResultSet).
---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-parameter-window-view.js
---
|
|
|
|
Test Plan:
-Go to Preference window and create new line for 'RM Allow Orphan Line' property with value 'Y'
-Go to Return to vendor, create a new header for F&B EspaƱa and click on Pick/Edit Lines button notice that only one grid appears.
-Close the popup
-Click on Insert Orphan line button and and complete the popup fields with these data:
Product: Agua sin Gas 1L
Returned: 10
Unit Price:1
-Click again in Pick/Edit Lines button and notice that Orphan Lines grid is shown and having data |
|
|
|
|
|
|
|
|
|
|
|
|
|