Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0038100Openbravo ERPA. Platformpublic2018-03-12 12:162018-05-09 19:29
JONHM 
jarmendariz 
urgentminoralways
closedfixed 
5
 
3.0PR18Q33.0PR18Q3 
caristu
Core
No
0038100: Link To Parent trees hide isActive=false records when a filter is set
On a tab configured with a Tree Structure "Link To Parent" records with IsActive=false and a filter applied are hidden when tree view is enabled. Those records are visible in normal grid view.
1 As Openbravo Admin go to Cost Adjustment window and check if there is any with several lines.

2 If there is no cost adjustment, go to Product window and select a Stocked Item with some transactions. If there are cost adjustments pick one and go to step 6.
-- Cerveza Lager
3 Go to Transactions Tab and chose a receipt transaction that has had some shipments and receipts after it.
-- Receipt Line: 10000419 - 11-04-2017 - Bebidas Alegres, S.L. - 20 - Cerveza...
4 Click on Manual Cost Adjustemnt Button and set
-- Amount 200000
-- Incremental true
-- Unit cost false
5 Go back to cost adjustment window and check that there is one now

6 On the lines tab open the tree mode and check that all the lines are visible
7 Pick one child line and in database set the isActive column to N.
8 Apply a filter by currency EUR and check that the line is missing in the Tree mode.
No tags attached.
related to defect 0037700 closed jarmendariz Link To Parent trees hide isActive false records 
related to defect 0038327 acknowledged Triage Platform Base Link to parent tree item ordering changes when a filter is set 
Issue History
2018-03-12 12:16JONHMNew Issue
2018-03-12 12:16JONHMAssigned To => platform
2018-03-12 12:16JONHMModules => Core
2018-03-12 12:16JONHMTriggers an Emergency Pack => No
2018-03-12 12:17JONHMRelationship addedrelated to 0037700
2018-03-22 07:27alostalePriorityhigh => urgent
2018-03-22 07:27alostaleStatusnew => acknowledged
2018-03-22 07:27alostaleTarget Version => 3.0PR18Q3
2018-04-05 16:48jarmendarizAssigned Toplatform => jarmendariz
2018-04-06 09:54jarmendarizStatusacknowledged => scheduled
2018-04-11 08:36hgbotCheckin
2018-04-11 08:36hgbotNote Added: 0103802
2018-04-11 08:36hgbotStatusscheduled => resolved
2018-04-11 08:36hgbotResolutionopen => fixed
2018-04-11 08:36hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/cdfad37a0634621297530e5e88184200393f3a5e [^]
2018-04-11 08:37jarmendarizReview Assigned To => caristu
2018-04-11 11:32jarmendarizRelationship addedrelated to 0038327
2018-04-16 10:45caristuNote Added: 0103899
2018-04-16 10:45caristuStatusresolved => closed
2018-04-16 10:45caristuFixed in Version => 3.0PR18Q3
2018-05-09 19:29hudsonbotCheckin
2018-05-09 19:29hudsonbotNote Added: 0104367

Notes
(0103802)
hgbot   
2018-04-11 08:36   
Repository: erp/devel/pi
Changeset: cdfad37a0634621297530e5e88184200393f3a5e
Author: Javier Armendáriz <javier.armendariz <at> openbravo.com>
Date: Tue Apr 10 18:43:21 2018 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/cdfad37a0634621297530e5e88184200393f3a5e [^]

Fixed bug 38100: Link to parent trees hides non-active records when filtering.

Fixed by adding a parameter to prevent filtering of non-active records in
tree views. To ensure this parameter is used only in tree grid views, it is
passed as a parameter instead of hard-coding it in the DatasourceService.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-tree-view-grid.js
---
(0103899)
caristu   
2018-04-16 10:45   
Code reviewed + tested OK.
(0104367)
hudsonbot   
2018-05-09 19:29   
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/2be7d3efe606 [^]
Maturity status: Test