Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0032239Openbravo ERPB. User interfacepublic2016-02-15 14:032016-03-04 07:49
ngarcia 
inigosanchez 
immediateminoralways
closedfixed 
5
 
3.0PR15Q3.6 
alostale
Core
No
0032239: Payment In and Payment Out lines are not exported to CSV
Payment In and Payment Out lines are not exported to CSV
As group admin role:
   Go to Payment In window
   Select a record
   Go to Lines tab and click on Export to Spreadsheet
   Check the file does not have any line apart from the column names
No tags attached.
blocks defect 0032233 closed inigosanchez Payment In and Payment Out lines are not exported to CSV 
Issue History
2016-02-15 18:12inigosanchezTypedefect => backport
2016-02-15 18:12inigosanchezTarget Version => 3.0PR15Q3.6
2016-02-26 10:43alostaleSeveritymajor => minor
2016-03-01 00:06hgbotCheckin
2016-03-01 00:06hgbotNote Added: 0084610
2016-03-01 00:06hgbotStatusscheduled => resolved
2016-03-01 00:06hgbotResolutionopen => fixed
2016-03-01 00:06hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR15Q3.6/rev/710d77996f5db90db8cad099d3faf0c4aecca408 [^]
2016-03-01 00:07inigosanchezReview Assigned To => alostale
2016-03-04 07:49alostaleNote Added: 0084703
2016-03-04 07:49alostaleStatusresolved => closed

Notes
(0084610)
hgbot   
2016-03-01 00:06   
Repository: erp/backports/3.0PR15Q3.6
Changeset: 710d77996f5db90db8cad099d3faf0c4aecca408
Author: Inigo Sanchez <inigo.sanchez <at> openbravo.com>
Date: Tue Mar 01 00:05:57 2016 +0100
URL: http://code.openbravo.com/erp/backports/3.0PR15Q3.6/rev/710d77996f5db90db8cad099d3faf0c4aecca408 [^]

Fixes issue 32239: Payment In and Payment Out lines are not exported to CSV.

The problem was that export to CSV does not work properly in some subtabs without
link to parent column (e.g.Lines subtab of Payment In/Out). Before, It was used
"tabId" to obtaing data for export to CSV and the value of the "tabId" was sent
in a variable called "tab". The Criteria that is run when it is displayed the tab
uses a property named "tabId" instead of "tab".

The solution for this case (and other related cases) is to adapt the code that exports
to CSV to use the same Criteria run when displaying the tab. Now export to CSV uses
tabId property. Besides it has been refactored some piece of code related with export
data in DataSourceServlet to use "tabId" instead of "tab".

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-grid.js
M modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/DataSourceServlet.java
---
(0084703)
alostale   
2016-03-04 07:49   
15Q3.6 will not be released as 15Q4 is already in CS