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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0038684
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POSmajoralways2018-05-14 13:592018-08-02 10:29
ReportermaiteView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityimmediateResolutionout of dateFixed in Version
StatusclosedFix in branchFixed in SCM revisionf8edc8d39ce5
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0038684: Wrong payment documents registered in backoffice when giving change in another currency from WebPOS

DescriptionIn case the cashier gives the change in different currency that receipt's currency, credit is generated to the customer (which is wrong)


Due to some problems related with the approach used to fix issue 38038 has been decided to go for a new approach to solve the situation

Steps To Reproduce1. Access POS terminal and create receipt for "Avalanche transceiver" and pay it using "USA cash". Purpose of this step is to have cash in USD
2. Create new receipt setting "Invoice this receipt" for "Insect repellent" pay it using 20 EUR and select "USA Cash" to give the change in USD
3. Access to backoffice to review registered documents and realize that they have some errors:

 a) the sales order document has erroneous Payment Plan info as "received Amount" is higher than "Expected amount" and negative amount appears as "outstanding amount" (when receipt has been fully paid)

 b) from Payment Details tab you can see that 2 payment documents have been created. One is generating credit to anonymous customer, which was not happening before and this credit is not being consumed.
Proposed SolutionNEW approach:

- No credit should be generated
- All details should be associated with sales order
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0038544 closedranjith_qualiantech_com Wrong payment documents registered in backoffice when giving change in another currency from WebPOS 

-  Notes
(0104892)
hgbot (developer)
2018-06-02 08:47

Repository: retail/backports/3.0RR18Q1.4/org.openbravo.retail.posterminal
Changeset: f8edc8d39ce55c774345440392243010d2650c58
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Sat Jun 02 12:16:43 2018 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR18Q1.4/org.openbravo.retail.posterminal/rev/f8edc8d39ce55c774345440392243010d2650c58 [^]

Fixed issue 38684 : Change payment in different currency should be associated with payment details

* Credit should not be generated for Change amount
* Reverted changes for the issue 38048

Backed out changeset: 2de8ee1d198c

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
M web/org.openbravo.retail.posterminal/js/model/order.js
M web/org.openbravo.retail.posterminal/js/utils/ticketCloseUtils.js
---
(0104893)
hgbot (developer)
2018-06-02 08:47

Repository: retail/backports/3.0RR18Q1.4/pi-mobile
Changeset: 83e3d5a7fb61537bb3c582769058e0739be0bf05
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Sat Jun 02 12:16:58 2018 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR18Q1.4/pi-mobile/rev/83e3d5a7fb61537bb3c582769058e0739be0bf05 [^]

Verifies issue 38684 : Modified automated test 'I38048_VerifyReceiptChangeWithDiffCurrency'

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I38048_VerifyReceiptChangeWithDiffCurrency.java
---
(0106111)
plujan (manager)
2018-08-02 10:29

Closed as Q1 reached end of support

- Issue History
Date Modified Username Field Change
2018-06-01 13:10 marvintm Type defect => backport
2018-06-01 13:10 marvintm Target Version => RR18Q1.4
2018-06-02 08:47 hgbot Checkin
2018-06-02 08:47 hgbot Note Added: 0104892
2018-06-02 08:47 hgbot Status scheduled => resolved
2018-06-02 08:47 hgbot Resolution open => fixed
2018-06-02 08:47 hgbot Fixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR18Q1.4/org.openbravo.retail.posterminal/rev/f8edc8d39ce55c774345440392243010d2650c58 [^]
2018-06-02 08:47 hgbot Checkin
2018-06-02 08:47 hgbot Note Added: 0104893
2018-08-02 10:29 plujan Note Added: 0106111
2018-08-02 10:29 plujan Status resolved => closed
2018-08-02 10:29 plujan Resolution fixed => out of date
2018-08-02 10:29 plujan Target Version RR18Q1.4 =>


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker