Openbravo Issue Tracking System - Retail Modules
View Issue Details
0047315Retail ModulesWeb POSpublic2021-07-01 13:422021-07-19 11:13
lmonreal 
ranjith_qualiantech_com 
urgentmajoralways
closedfixed 
5
 
RR21Q4 
No
0047315: Verified Return paid in another currency is saying the ticket is not 100%paid
It happens when we have a currency that is more devaluated than the one converted.For example CHF into EUR (not the other way round).


Seems that the currency rates are not being factored when calculating the total payments

19Q3 environment
1.Do a sale paid with a foreign currency
2.Do a verified return of the ticket and see that there is a message saying"Verified Return paid in another currency is saying the ticket is not 100%paid"

https://drive.google.com/file/d/11YjrUm4E-Onmo7vE-hFC2Lbw4aY1Mny9/view [^]
No tags attached.
png Ticket conversion.png (206,877) 2021-07-01 13:42
https://issues.openbravo.com/file_download.php?file_id=15983&type=bug
png

diff 47315_19Q3_returns.diff (1,231) 2021-07-15 10:24
https://issues.openbravo.com/file_download.php?file_id=16014&type=bug
Issue History
2021-07-01 13:42lmonrealNew Issue
2021-07-01 13:42lmonrealAssigned To => Retail
2021-07-01 13:42lmonrealFile Added: Ticket conversion.png
2021-07-01 13:42lmonrealResolution time => 1628287200
2021-07-01 13:42lmonrealTriggers an Emergency Pack => No
2021-07-06 11:02jorgewederagoIssue Monitored: jorgewederago
2021-07-07 09:49ucarrionIssue Monitored: ucarrion
2021-07-08 08:59ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2021-07-15 03:26ranjith_qualiantech_comFile Added: 47315_19Q3_returns.diff
2021-07-15 09:22ranjith_qualiantech_comFile Deleted: 47315_19Q3_returns.diff
2021-07-15 10:24ranjith_qualiantech_comFile Added: 47315_19Q3_returns.diff
2021-07-15 13:04hgbotNote Added: 0130509
2021-07-15 13:04hgbotNote Added: 0130510
2021-07-16 09:58guilleaerStatusnew => scheduled
2021-07-19 11:13hgbotResolutionopen => fixed
2021-07-19 11:13hgbotStatusscheduled => closed
2021-07-19 11:13hgbotNote Added: 0130553
2021-07-19 11:13hgbotNote Added: 0130554
2021-07-19 11:13hgbotNote Added: 0130555
2021-07-19 11:13hgbotFixed in Version => RR21Q4
2021-07-19 11:13hgbotNote Added: 0130556

Notes
(0130509)
hgbot   
2021-07-15 13:04   
Merge Request created: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/110 [^]
(0130510)
hgbot   
2021-07-15 13:04   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.returns/-/merge_requests/20 [^]
(0130553)
hgbot   
2021-07-19 11:13   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.returns/-/merge_requests/20 [^]
(0130554)
hgbot   
2021-07-19 11:13   
Repository: https://gitlab.com/openbravo/ci/mobile-test [^]
Changeset: ca47ba0daec0dd16d775d061f4241a6fa62e5343
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2021-07-19T09:11:56+00:00
URL: https://gitlab.com/openbravo/ci/mobile-test/-/commit/ca47ba0daec0dd16d775d061f4241a6fa62e5343 [^]

Verifies ISSUE-47315: Added test I47315_CheckVerifiedReturnWithConversionRate

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/returns/I47315_CheckVerifiedReturnWithConversionRate.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/TestIdPack.java
---
(0130555)
hgbot   
2021-07-19 11:13   
Merge request merged: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/110 [^]
(0130556)
hgbot   
2021-07-19 11:13   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.returns [^]
Changeset: 8259f7745bb534109b626cda988c43aa4eb307ce
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2021-07-15T12:59:56+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.returns/-/commit/8259f7745bb534109b626cda988c43aa4eb307ce [^]

Fixed ISSUE-47315: Receipt payment amount should be converted based on rates in Verified Returns

---
M web/org.openbravo.retail.returns/js/modalReturnLines.js
---