Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0005381
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 01. General setupmajoralways2008-10-02 10:392009-04-21 11:07
ReporterrafarodaView Statuspublic 
Assigned ToHennadzi 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revision11185
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.5
OS VersionUbuntu 7.10Database version8.3Ant version1.7
Product VersionpiSCM revision8115 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0005381: C_CURRENCY_CONVERT uses inactive conversion rates

DescriptionC_CURRENCY_CONVERT function uses inactive conversion rates for converting from one currency to another.
Steps To Reproduce1) 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.
Proposed SolutionPatch attached for C_CURRENCY_RATE database function.
TagsNo tags attached.
Attached Filesdiff file icon patch-C_CURRENCY_RATE.diff [^] (589 bytes) 2008-10-02 10:39 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0005382 closedHennadzi C_CURRENCY_CONVERT uses inactive conversion rates 
depends on backport 0005383 closedHennadzi C_CURRENCY_CONVERT uses inactive conversion rates 

-  Notes
(0009327)
svnbot (reporter)
2008-10-03 10:50

Repository: openbravo
Revision: 8190
Author: hennadzi
Date: 2008-10-03 10:50:33 +0200 (Fri, 03 Oct 2008)

Fixed bug 0005381: 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=8190&sc=1 [^]
(0011028)
psarobe (manager)
2008-12-08 17:14

What it happens now (when the conversion is deactivate) is that the call-out does not work in the example window so it fails when calculating quantity*invoice price
(0011187)
svnbot (reporter)
2008-12-11 16:30

Repository: openbravo
Revision: 11118
Author: hennadzi
Date: 2008-12-11 16:30:15 +0100 (Thu, 11 Dec 2008)

Bug fixed 0005381: C_CURRENCY_CONVERT uses inactive conversion rates

---
U trunk/src/org/openbravo/erpCommon/ad_callouts/SE_Expense_Amount.java
U trunk/src/org/openbravo/erpCommon/ad_callouts/SE_Expense_Product.java
---

https://dev.openbravo.com/websvn/openbravo/?rev=11118&sc=1 [^]
(0011321)
svnbot (reporter)
2008-12-14 20:01

Repository: openbravo
Revision: 11185
Author: rafaroda
Date: 2008-12-14 20:01:08 +0100 (Sun, 14 Dec 2008)

Fixes bug 0005381 Improved messaging when there is no conversion rate.

---
U trunk/src/org/openbravo/erpCommon/ad_callouts/SE_Expense_Amount.java
U trunk/src/org/openbravo/erpCommon/ad_callouts/SE_Expense_Product.java
---

https://dev.openbravo.com/websvn/openbravo/?rev=11185&sc=1 [^]

- Issue History
Date Modified Username Field Change
2008-10-02 10:39 rafaroda New Issue
2008-10-02 10:39 rafaroda Assigned To => Hennadzi
2008-10-02 10:39 rafaroda sf_bug_id 0 => 2142026
2008-10-02 10:39 rafaroda File Added: patch-C_CURRENCY_RATE.diff
2008-10-02 10:39 rafaroda Regression testing => No
2008-10-02 10:40 rafaroda Status new => scheduled
2008-10-02 10:40 rafaroda fix_in_branch => trunk
2008-10-03 10:50 svnbot Checkin
2008-10-03 10:50 svnbot Note Added: 0009327
2008-10-03 10:50 svnbot Status scheduled => resolved
2008-10-03 10:50 svnbot Resolution open => fixed
2008-10-03 10:50 svnbot svn_revision => 8190
2008-12-08 17:14 psarobe Status resolved => new
2008-12-08 17:14 psarobe Resolution fixed => open
2008-12-08 17:14 psarobe Note Added: 0011028
2008-12-08 17:14 psarobe Status new => scheduled
2008-12-11 16:30 svnbot Checkin
2008-12-11 16:30 svnbot Note Added: 0011187
2008-12-11 16:30 svnbot Status scheduled => resolved
2008-12-11 16:30 svnbot Resolution open => fixed
2008-12-11 16:30 svnbot svn_revision 8190 => 11118
2008-12-14 20:01 svnbot Checkin
2008-12-14 20:01 svnbot Note Added: 0011321
2008-12-14 20:01 svnbot svn_revision 11118 => 11185
2009-04-21 11:07 psarobe Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker