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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0038683
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POSmajoralways2018-05-14 13:592018-07-12 11:36
ReportermaiteView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityimmediateResolutionfixedFixed in VersionRR18Q2.1
StatusclosedFix in branchFixed in SCM revisiona95012cd5ffa
ProjectionnoneETAnoneTarget VersionRR18Q2.1
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0038683: 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
(0104889)
hgbot (developer)
2018-06-02 08:47

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

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

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

Backed out changeset: f4fb9c07eb35

---
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
---
(0104890)
hgbot (developer)
2018-06-02 08:47

Repository: retail/backports/3.0RR18Q2.1/pi-mobile
Changeset: 5953a3c245c7b68fa07c610bbc118cc6e4108cae
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Sat Jun 02 12:16:54 2018 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR18Q2.1/pi-mobile/rev/5953a3c245c7b68fa07c610bbc118cc6e4108cae [^]

Verifies issue 38683 : Modified automated test 'I38038_VerifyReceiptChangeWithDiffCurrency'

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I38038_VerifyReceiptChangeWithDiffCurrency.java
---
(0105712)
hgbot (developer)
2018-07-12 11:36

Repository: tools/automation/pi-mobile
Changeset: 5953a3c245c7b68fa07c610bbc118cc6e4108cae
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Sat Jun 02 12:16:54 2018 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/5953a3c245c7b68fa07c610bbc118cc6e4108cae [^]

Verifies issue 38683 : Modified automated test 'I38038_VerifyReceiptChangeWithDiffCurrency'

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I38038_VerifyReceiptChangeWithDiffCurrency.java
---

- Issue History
Date Modified Username Field Change
2018-06-01 13:10 marvintm Type defect => backport
2018-06-01 13:10 marvintm Target Version => RR18Q2.1
2018-06-02 08:47 hgbot Checkin
2018-06-02 08:47 hgbot Note Added: 0104889
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.0RR18Q2.1/org.openbravo.retail.posterminal/rev/a95012cd5ffa57b3cd32533f7076570829c40fcd [^]
2018-06-02 08:47 hgbot Checkin
2018-06-02 08:47 hgbot Note Added: 0104890
2018-06-25 09:02 marvintm Review Assigned To => marvintm
2018-06-25 09:02 marvintm Status resolved => closed
2018-06-25 09:02 marvintm Fixed in Version => RR18Q2.1
2018-07-12 11:36 hgbot Checkin
2018-07-12 11:36 hgbot Note Added: 0105712


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker