Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0008595Openbravo ERP09. Financial managementpublic2009-04-08 17:092009-05-14 16:13
networkb 
iperdomo 
immediatemajoralways
closedfixed 
5
2.40 
2.40MP4 
Core
No
0008595: Number cells exported to excel are not recognised as numeric values
In Report General Ledger and Report General Legder Journal, if information is exported to a xls file, then numeric values are recognised by Strings instead of Numbers.

That makes the exportation useless, because you cannot do any arithmetic operations whithin the file.

Keep in mind that the value should also maintain the number format (="#,##0.00", for example) in case it is needed.

This happens also in every jasper report of the application which wants to be exported to excel. This is very common and a feature requested by almost all customers.
1. Go to Financial Management || Accounting || Analysis Tools || General Ledger Journal
2. Click on HTML format and see the results
3. Click on "export to excel" button.
4. Save the file, open it and try to sum two values
5. These values are not recognized as numbers, but Strings.
No tags attached.
blocks defect 0008513 closed iperdomo Number cells exported to excel are not recognised as numeric values 
Issue History
2009-04-16 12:23psarobeTypedefect => backport
2009-04-16 12:23psarobefix_in_branch => 2.40
2009-04-23 12:31gorkaionAssigned Togorkaion => iperdomo
2009-04-27 11:43hgbotCheckin
2009-04-27 11:43hgbotNote Added: 0015763
2009-04-27 11:43hgbotStatusscheduled => resolved
2009-04-27 11:43hgbotResolutionopen => fixed
2009-04-27 11:43hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.40/rev/3c759af89c69436dea895e09d50b148bf0602d17 [^]
2009-05-10 19:37psarobeFixed in Version => 2.40MP4
2009-05-14 16:13psarobeNote Added: 0016357
2009-05-14 16:13psarobeStatusresolved => closed

Notes
(0015763)
hgbot   
2009-04-27 11:43   
Repository: erp/stable/2.40
Changeset: 3c759af89c69436dea895e09d50b148bf0602d17
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Mon Apr 27 11:43:23 2009 +0200
URL: http://code.openbravo.com/erp/stable/2.40/rev/3c759af89c69436dea895e09d50b148bf0602d17 [^]

Fixes issue 8595: Added detect cell type when exporting to excel

---
M src/org/openbravo/base/secureApp/HttpSecureAppServlet.java
---
(0016357)
psarobe   
2009-05-14 16:13   
Only the chance to do it is done. The you have to change the template