Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0005382Openbravo ERP01. General setuppublic2008-10-02 10:402009-04-27 17:28
rafaroda 
Hennadzi 
highmajoralways
closedfixed 
20Ubuntu 7.10
pi 
pi 
Core
No
0005382: C_CURRENCY_CONVERT uses inactive conversion rates
C_CURRENCY_CONVERT function uses inactive conversion rates for converting from one currency to another.
1) Set up a new conversion rate for one currency to the system currency in 'General Setup || Application || Conversion Rates'.
2) Mark it as NOT active.
3) Create a new expense sheet in 'Project & Service Management || Transactions || Expense Sheet'.
4) Create a new expense line in a currency different from the system currency.

Notice that the conversion is done (converted amount is field is filled) even if the conversion is inactive.
Patch attached for C_CURRENCY_RATE database function.
No tags attached.
blocks defect 0005381 closed Hennadzi C_CURRENCY_CONVERT uses inactive conversion rates 
Issue History
2008-10-02 10:40rafarodaNew Issue
2008-10-02 10:40rafarodaAssigned To => Hennadzi
2008-10-02 10:40rafarodaStatusnew => scheduled
2008-10-03 11:03DowidNote Added: 0009333
2008-10-03 11:07HennadziStatusscheduled => resolved
2008-10-03 11:07HennadziResolutionopen => fixed
2008-10-03 11:07HennadziFixed in Version => trunk
2008-10-03 11:07Hennadzisvn_revision => 8192
2008-10-03 11:07HennadziProposed Solution updated
2009-03-03 17:16psarobeStatusresolved => closed
2009-04-27 17:28hgbotCheckin
2009-04-27 17:28hgbotNote Added: 0015809
2009-04-27 17:28hgbotFixed in SCM revision8192 => http://code.openbravo.com/erp/stable/2.40/rev/059acdea411773f8467ee7978d8151bb4d007d4b [^]

Notes
(0009333)
Dowid   
2008-10-03 11:03   
Repository: openbravo
Revision: 8192
Author: hennadzi
Date: 2008-10-03
Fixed bug 0005382: C_CURRENCY_CONVERT uses inactive conversion rates

---
U trunk/src-db/database/model/functions/C_CURRENCY_RATE.xml
---

https://dev.openbravo.com/websvn/openbravo/?rev=8192&sc=1 [^] [^]
(0015809)
hgbot   
2009-04-27 17:28   
Repository: erp/stable/2.40
Changeset: 059acdea411773f8467ee7978d8151bb4d007d4b
Author: Rafa Roda Palacios <rafael.roda <at> openbravo.com>
Date: Mon Apr 27 17:26:54 2009 +0200
URL: http://code.openbravo.com/erp/stable/2.40/rev/059acdea411773f8467ee7978d8151bb4d007d4b [^]

Issue 0005382 Improved messaging when there is no conversion rate.

---
M src/org/openbravo/erpCommon/ad_callouts/SE_Expense_Amount.java
M src/org/openbravo/erpCommon/ad_callouts/SE_Expense_Product.java
---