Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0028229Openbravo ERPA. Platformpublic2014-11-19 18:022014-12-30 23:25
AugustoMauch 
AugustoMauch 
normalmajorhave not tried
closedfixed 
5
 
3.0PR15Q1 
alostale
Core
No
0028229: Error in Pick and Execute windows when using Lazy Filtering
If the user configures Lazy Filtering in a P&E window and clicks on the 'Apply Changes' button the data is not loaded and an error is shown in the chrome debugger console.
As System Admin:
- Open the Grid Configuration at System Level
- Create a new record, set Lazy Filtering on Grid = true.
- Open the Window, Tabs and Fields window
- Select the RFC Order Pick / Edit Lines window
- Remove the filter clause from its header tab. This will make it easier to have data in the P&E without the need of cleaning the filters

As F&B Admin:
- Open the Return to Vendor window
- Create a record.
- Click the Pick/Edit Lines button
- Without clearing the filters or modifying the filter editor, click on the button to apply the current filters. No data will be shown, and an error will be displayed in the debugger console.
No tags attached.
related to defect 0028220 closed AugustoMauch If lazy filtering is configure in a subtab, filtering by one of its foreign keys does not apply selected parent filter 
caused by feature request 0028284 closed AugustoMauch Grid Configuration for High Volume Windows 
Issue History
2014-11-19 18:02AugustoMauchNew Issue
2014-11-19 18:02AugustoMauchAssigned To => AugustoMauch
2014-11-19 18:02AugustoMauchModules => Core
2014-11-19 18:02AugustoMauchTriggers an Emergency Pack => No
2014-11-19 18:02AugustoMauchRelationship addedrelated to 0028220
2014-11-19 18:02AugustoMauchIssue Monitored: alostale
2014-11-19 18:02AugustoMauchReview Assigned To => alostale
2014-11-19 18:10hgbotCheckin
2014-11-19 18:10hgbotNote Added: 0071806
2014-11-19 18:10hgbotStatusnew => resolved
2014-11-19 18:10hgbotResolutionopen => fixed
2014-11-19 18:10hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/bae7274906682cc39d3bf4a74b0363a913f938e0 [^]
2014-11-21 08:33alostaleNote Added: 0071866
2014-11-21 08:33alostaleStatusresolved => closed
2014-11-21 08:33alostaleFixed in Version => 3.0PR15Q1
2014-11-26 08:04alostaleRelationship addedcaused by 0028284
2014-12-30 23:25hudsonbotCheckin
2014-12-30 23:25hudsonbotNote Added: 0073085

Notes
(0071806)
hgbot   
2014-11-19 18:10   
Repository: erp/devel/pi
Changeset: bae7274906682cc39d3bf4a74b0363a913f938e0
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Wed Nov 19 18:09:26 2014 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/bae7274906682cc39d3bf4a74b0363a913f938e0 [^]

Fixes issue 28229: Lazy Filtering works properly in P&E windows

There was a problem when the button to apply the current filters (only shown when lazy filtering is configured for a tab) was pressed in a P&E window. If the filters were not changed before pressing the button, the grid.refreshGrid function was invoked, and this function was not defined for P&E windows. This function has been defined now. Also, a flag has been added to detect when the filterClause is removed, to allow refreshing the grid in that case even if the filter editor is not changed.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-grid.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-grid.js
---
(0071866)
alostale   
2014-11-21 08:33   
Code reviewed

Tested in P&E grid with and without default filters
Tested in regular grids
(0073085)
hudsonbot   
2014-12-30 23:25   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/6525fe229e06 [^]
Maturity status: Test