Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0020156Openbravo ERPA. Platformpublic2012-03-29 17:332012-09-25 09:24
ioritzCia 
shankarb 
normalminoralways
closedunable to reproduce 
20Ubuntu 10.04
 
 
AugustoMauch
Core
No
0020156: openDirectTab function malfunction.
OpenDirectTab function in ob-utilities.js does not work properly if the tab is a child tab and the commmand is 'GRID'. The tab gets opened in the proper tab but no parent filter is applied. All the records for the table belonging to the tab appear.
In 3.0 modify for example, the Valued Stock Report to open a tab to Product >> Costing when clicking in the product. For this, it is needed the tab_id for costing and the record_id of any record of the costing belonging to the father product. Lastly call openDirectTab with the tab_id, the record_id and the 'GRID' command.

The tab will open in 'GRID' mode but it will not filter the costings belonging to the father product. If the user refreshes the tab then it filters them.
No tags attached.
related to defect 00196633.0MP10 closed ioritzCia Valued stock report's products link to 2.50 view. 
Issue History
2012-03-29 17:33ioritzCiaNew Issue
2012-03-29 17:33ioritzCiaAssigned To => alostale
2012-03-29 17:33ioritzCiaModules => Core
2012-03-29 17:35ioritzCiaRelationship addedrelated to 0019663
2012-09-24 17:30AugustoMauchAssigned Toalostale => shankarb
2012-09-25 09:24AugustoMauchClosed by => AugustoMauch
2012-09-25 09:24AugustoMauchNote Added: 0052526
2012-09-25 09:24AugustoMauchStatusnew => closed
2012-09-25 09:24AugustoMauchResolutionopen => unable to reproduce

Notes
(0052526)
AugustoMauch   
2012-09-25 09:24   
This issue is not reproducible.

The openDirectTab supports two commands: DEFAULT to open a record in form view, and CREATE to create a new record. This is the current behavior, and the behavior present when the issue was reported.

If the second argument (recordId) is not set, then all the records from that table will be shown in grid view. This looks like the source of the confusion, it is possible that the submitter of the issue entered a not valid record id, so the tab was opened unfiltered in grid mode.