Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0008976Openbravo ERPB. User interfacepublic2009-05-09 11:452009-06-17 10:53
iciordia 
gmauleon 
immediatemajoralways
closedfixed 
5any
2.40 
pi 
Core
No
0008976: Some reports can not be copy/pasted to excel in an adequate format
In previous releases to 2.35 it was possible to copy the output of a report and paste it in excel. After migration to jasper reports, it is not possible and there is no excel format.

See notes below for a detailed list of those reports
Not exported report to excel:

• Warehouse Management || Analysis Tools || Warehouse Control Report || Warehouse Control Report
• Warehouse Management || Analysis Tools || Valued Stock Report || Valued Stock Report
• Financial Management || Receivables & Payables || Analysis Tools || Sales Order Open Item
• Financial Management || Receivables & Payables || Analysis Tools || Payment Report
• Financial Management || Receivables & Payables || Analysis Tools || Payment Tracker || Payment Tracker
• Financial Management || Receivables & Payables || Analysis Tools || Payment Tracker || Bank Report
• Financial Management || Receivables & Payables || Analysis Tools || Payment Tracker || Cash Report
• Financial Management || Accounting || Analysis Tools || General Ledger Journal --> Detail
Create an excell icon in each Report and use the existing jasper report but with he different output formal in order to handle the xls format.
Notice that the jasper reports should be modified to fit it properly, otherwise new empty column will appear
No tags attached.
related to feature request 0008474pi closed gmauleon Some reports has only the HTML button. The PDF button is required 
related to feature request 0009464 scheduled gorkaion Export to Excel is not properly supported 
depends on backport 0008990 closed gmauleon Some reports can not be copy/pasted to excel in an adequate format 
Issue History
2009-05-09 11:45iciordiaNew Issue
2009-05-09 11:45iciordiaAssigned To => rafaroda
2009-05-09 11:45iciordiaRegression testing => No
2009-05-11 09:56rafarodaNote Added: 0016226
2009-05-11 09:56rafarodaStatusnew => feedback
2009-05-11 11:25networkbNote Added: 0016249
2009-05-11 11:28networkbNote Added: 0016251
2009-05-11 13:17rafarodaRelationship addedrelated to 0008474
2009-05-11 16:16rafarodaNote Deleted: 0016226
2009-05-11 16:17rafarodaNote Deleted: 0016249
2009-05-11 16:17rafarodaStatusfeedback => new
2009-05-11 16:17rafarodaversionpi => 2.40
2009-05-11 16:17rafarodaProposed Solution updated
2009-05-11 16:17rafarodaNote Deleted: 0016251
2009-05-11 16:17rafarodaAssigned Torafaroda => gmauleon
2009-05-11 16:17rafarodaStatusnew => scheduled
2009-05-11 16:17rafarodafix_in_branch => pi
2009-05-27 17:47gmauleonNote Added: 0016688
2009-05-27 17:48gmauleonfix_in_branchpi =>
2009-05-27 17:48gmauleonSteps to Reproduce Updated
2009-06-11 09:38gmauleonSummarySome reports can not be copy/pasted to excel => Some reports can not be copy/pasted to excel in an adequate format
2009-06-11 09:39gmauleonNote Added: 0017208
2009-06-12 11:55hgbotCheckin
2009-06-12 11:55hgbotNote Added: 0017242
2009-06-12 11:55hgbotStatusscheduled => resolved
2009-06-12 11:55hgbotResolutionopen => fixed
2009-06-12 11:55hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/0741ed21940d7923556c210a67aa93bed753abd5 [^]
2009-06-12 12:01gmauleonNote Added: 0017243
2009-06-15 10:34sureshbabuStatusresolved => closed
2009-06-15 10:34sureshbabuNote Added: 0017287
2009-06-15 10:34sureshbabuFixed in Version => pi
2009-06-16 00:00anonymoussf_bug_id0 => 2806846
2009-06-17 10:53rafarodaRelationship addedrelated to 0009464
2009-06-17 10:53rafarodaNote Added: 0017381

Notes
(0016688)
gmauleon   
2009-05-27 17:47   
Some of the reports commented are actually in HTML format so the user is able to copy & paste the content of them into a Excell File.

-Warehouse Management || Analysis Tools || Warehouse Control Report || Warehouse Control Report
-Warehouse Management || Analysis Tools || Valued Stock Report || Valued Stock Report
-Financial Management || Receivables & Payables || Analysis Tools || Payment Report
-Financial Management || Receivables & Payables || Analysis Tools || Payment Tracker || Payment Tracker
-Financial Management || Accounting || Analysis Tools || General Ledger Journal --> Detail

The other ones are in Jasper format and the way to act on them is to put and excell icon in the top of the window and change the output format of the PDF report to Excell

-Financial Management || Receivables & Payables || Analysis Tools || Sales Order Open Item
-Financial Management || Receivables & Payables || Analysis Tools || Payment Tracker || Bank Report
-Financial Management || Receivables & Payables || Analysis Tools || Payment Tracker || Cash Report
(0017208)
gmauleon   
2009-06-11 09:39   
Conclusions written by network

After review the reports what can not be copy/paste in excel file, conclusions are:

The following three reports can be copy/paste to excel in an adequate format so that no modifications are needed:
-Warehouse Management || Analysis Tools || Valued Stock Report || Valued Stock Report
-Financial Management || Receivables & Payables || Analysis Tools || Payment Report
-Financial Management || Accounting || Analysis Tools || General Ledger Journal --> Detail

However, the others two reports can not be copy/paste to excel because the data is shown group by some field so it's necessary to add an excel button in the reports:

-Warehouse Management || Analysis Tools || Warehouse Control Report || Warehouse Control Report
-Financial Management || Receivables & Payables || Analysis Tools || Payment Tracker || Payment Tracker

The excel result must be shown no grouped.
(0017242)
hgbot   
2009-06-12 11:55   
Repository: erp/devel/pi
Changeset: 0741ed21940d7923556c210a67aa93bed753abd5
Author: Gorka Mauleon <gorka.mauleon <at> openbravo.com>
Date: Fri Jun 12 11:54:22 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/0741ed21940d7923556c210a67aa93bed753abd5 [^]

fixes issue 0008976: Some reports can not be copy/pasted to excel in an adequate format

---
M src/org/openbravo/erpCommon/ad_reports/ReportBankJR.jrxml
M src/org/openbravo/erpCommon/ad_reports/ReportCashJR.jrxml
M src/org/openbravo/erpCommon/ad_reports/ReportSalesOrderOpenItemEdit.jrxml
---
(0017243)
gmauleon   
2009-06-12 12:01   
As seen in previous comments, the decided way to fix this bugs includes only the 3 jasper reports modified in the commit. As the XML output format hasn't been even supported for this reports the inclusion of the xml button is not possible to fix a bug in the other hand in previous version when the user used the copy & paste to an excel file the the format was better than now. So in this fix the current report for this bugs are following the instructions give by Jaspersoft[1]

Regards

[1] http://jasperforge.org/uploads/publish/jasperreportswebsite/trunk/faq.html?group_id=252#FAQ9 [^]
(0017287)
sureshbabu   
2009-06-15 10:34   
Now those three reports(Cash report, Bank report, Sales order open item) can able to cut & paste to excel.
(0017381)
rafaroda   
2009-06-17 10:53   
The Excel showing data results not grouped will be addressed by feature request 0009464