Openbravo Issue Tracking System - Retail Modules
View Issue Details
0038660Retail ModulesWeb POSpublic2018-05-30 17:142018-06-18 11:57
umartirena 
rqueralta 
urgentmajoralways
closedfixed 
5
 
RR18Q3 
marvintm
No
0038660: It is not possible to add conversion rates for same currencies for different Organizations
It is not possible to add conversion rates for same currencies for different Organizations. The following error is raised:
Error
Saving failed. There are different conversion rates with same dates.
Log in https://livebuilds.openbravo.com/retail_pi_pgsql [^]

Go to "Organization" window.
Search "Posets Store" organization.
In "Conversion Rate" tab create the following record:
 * Currency: EUR
 * To Currency: USD
 * Valid From: Today
 * Multiple Rate By: 2
 * Divide Rate By: 0.5
Save.
Following error is raised:
"Saving failed. There are different conversion rates with same dates."
See attached diff
No tags attached.
diff conversionRateIssue.diff (3,219) 2018-05-30 17:14
https://issues.openbravo.com/file_download.php?file_id=11819&type=bug
Issue History
2018-05-30 17:14umartirenaNew Issue
2018-05-30 17:14umartirenaAssigned To => Retail
2018-05-30 17:14umartirenaFile Added: conversionRateIssue.diff
2018-05-30 17:14umartirenaResolution time => 1529445600
2018-05-30 17:14umartirenaTriggers an Emergency Pack => No
2018-06-01 19:13rqueraltaStatusnew => scheduled
2018-06-01 23:18rqueraltaAssigned ToRetail => rqueralta
2018-06-12 14:50hgbotCheckin
2018-06-12 14:50hgbotNote Added: 0105099
2018-06-12 14:50hgbotStatusscheduled => resolved
2018-06-12 14:50hgbotResolutionopen => fixed
2018-06-12 14:50hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/54c0cfce051bac36fea8e8505059c40415d56148 [^]
2018-06-18 11:57marvintmReview Assigned To => marvintm
2018-06-18 11:57marvintmStatusresolved => closed
2018-06-18 11:57marvintmFixed in Version => RR18Q3

Notes
(0105099)
hgbot   
2018-06-12 14:50   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 54c0cfce051bac36fea8e8505059c40415d56148
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Tue Jun 12 08:49:34 2018 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/54c0cfce051bac36fea8e8505059c40415d56148 [^]

Fixed issue 38660:It is not possible to add conversion rates for same currencies
for different Organizations

---
M src/org/openbravo/retail/posterminal/event/OBPOSConversionRateEventHandler.java
---