Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0025116Openbravo ERP08. Project and service managementpublic2013-11-08 12:412013-11-19 19:07
caristu 
caristu 
highminoralways
closedfixed 
5
pi 
3.0MP303.0MP30 
ngarcia
Core
No
0025116: Error when creating expense sheet lines if the organization does not have a currency assigned
If we create a expense sheet for an organization that does not have a currency assigned, the lines tab is not loading correctly because of the following error in the log:

ERROR org.openbravo.erpCommon.ad_callouts.SE_Expense_Amount - Error captured:
java.lang.NumberFormatException: For input string: ""
1) Go to the [Organization] window and leave the currency field empty for organization F&B España
2) Go to the [Expense Sheet] window and create a new record in the header for organization F&B España
3) Try to create a new record in the Lines tab
The currency id is not being retrieved correctly in the SE_Expense_Amount callout when the Organization has not a currency assigned. It retrieves the printout of the currency instead of the id.
No tags attached.
Issue History
2013-11-08 12:41caristuNew Issue
2013-11-08 12:41caristuAssigned To => caristu
2013-11-08 12:41caristuModules => Core
2013-11-08 12:41caristuTriggers an Emergency Pack => No
2013-11-08 12:41caristuTarget Version => 3.0MP30
2013-11-08 12:47hgbotCheckin
2013-11-08 12:47hgbotNote Added: 0062059
2013-11-08 12:47hgbotStatusnew => resolved
2013-11-08 12:47hgbotResolutionopen => fixed
2013-11-08 12:47hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/f46ef9cc45049e5ebab85f4ef0ed2f22d888a4cc [^]
2013-11-15 09:22ngarciaReview Assigned To => ngarcia
2013-11-15 09:22ngarciaStatusresolved => closed
2013-11-15 09:22ngarciaFixed in Version => 3.0MP30
2013-11-19 19:07hudsonbotCheckin
2013-11-19 19:07hudsonbotNote Added: 0062246

Notes
(0062059)
hgbot   
2013-11-08 12:47   
Repository: erp/devel/pi
Changeset: f46ef9cc45049e5ebab85f4ef0ed2f22d888a4cc
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Fri Nov 08 12:46:39 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/f46ef9cc45049e5ebab85f4ef0ed2f22d888a4cc [^]

fixes issue 25116: Error when creating expense sheet lines
if the organization does not have a currency assigned

---
M src/org/openbravo/erpCommon/ad_callouts/SE_Expense_Amount.java
---
(0062246)
hudsonbot   
2013-11-19 19:07   
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/ab71e0273dc1 [^]

Maturity status: Test