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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0038048
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POSmajoralways2018-03-05 12:352018-06-02 08:47
ReportermaiteView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityimmediateResolutionfixedFixed in VersionRR18Q1.1
StatusclosedFix in branchFixed in SCM revision9cf930469457
ProjectionnoneETAnoneTarget VersionRR18Q1.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

0038048: 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)
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. Moreover, the second payment (which is deposited in USD financial account) is associated with the sales order (which also seems to be wrong and causing problem a))

 
Proposed SolutionThe payment deposited in USD financial account:
- should not be associated with the sales order
TagsNo tags attached.
Attached Files

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

-  Notes
(0103126)
hgbot (developer)
2018-03-09 11:20

Repository: retail/backports/3.0RR18Q1.1/org.openbravo.retail.posterminal
Changeset: 2de8ee1d198cf7fe387edfb167c6f33b53cae8dd
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Mar 09 15:49:22 2018 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR18Q1.1/org.openbravo.retail.posterminal/rev/2de8ee1d198cf7fe387edfb167c6f33b53cae8dd [^]

Fixed issue 38048 : Change Amount should be in negative to create payment schedue and details correclty

---
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
---
(0103128)
hgbot (developer)
2018-03-09 11:20

Repository: retail/backports/3.0RR18Q1.1/pi-mobile
Changeset: b2d23281a8bea67bcf5b6bbdba6612ee5c0ef676
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Mar 09 15:49:25 2018 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR18Q1.1/pi-mobile/rev/b2d23281a8bea67bcf5b6bbdba6612ee5c0ef676 [^]

Verifies issue 38048 : Added automated test 'I38048_VerifyReceiptChangeWithDiffCurrency'

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I37343_VerifyPymtScheDetailWithCredit.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I38048_VerifyReceiptChangeWithDiffCurrency.java
---
(0103137)
hgbot (developer)
2018-03-09 13:56

Repository: retail/backports/3.0RR18Q1.1/org.openbravo.retail.posterminal
Changeset: 9cf9304694578438d7825aaefbdb21b45583f7ed
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Mar 09 18:25:52 2018 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR18Q1.1/org.openbravo.retail.posterminal/rev/9cf9304694578438d7825aaefbdb21b45583f7ed [^]

Fixed issue 38048 : Payment Schdule Detail should be created with latest payment amount

* Few lines were missed from original issues while doing backport

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
---
(0103276)
hgbot (developer)
2018-03-15 10:33

Repository: retail/backports/3.0RR18Q1.1/pi-mobile
Changeset: c19e7eea23274aa9d3dffcd11e9a639cdc398fe4
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Mar 15 15:02:58 2018 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR18Q1.1/pi-mobile/rev/c19e7eea23274aa9d3dffcd11e9a639cdc398fe4 [^]

Verifies issue 38048 : Modified automated test 'I38048_VerifyReceiptChangeWithDiffCurrency'

* Test failing in quaratine

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I38048_VerifyReceiptChangeWithDiffCurrency.java
---
(0103553)
hgbot (developer)
2018-03-27 09:40

Repository: tools/automation/pi-mobile
Changeset: b2d23281a8bea67bcf5b6bbdba6612ee5c0ef676
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Mar 09 15:49:25 2018 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/b2d23281a8bea67bcf5b6bbdba6612ee5c0ef676 [^]

Verifies issue 38048 : Added automated test 'I38048_VerifyReceiptChangeWithDiffCurrency'

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I37343_VerifyPymtScheDetailWithCredit.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I38048_VerifyReceiptChangeWithDiffCurrency.java
---
(0103554)
hgbot (developer)
2018-03-27 09:40

Repository: tools/automation/pi-mobile
Changeset: c19e7eea23274aa9d3dffcd11e9a639cdc398fe4
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Mar 15 15:02:58 2018 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/c19e7eea23274aa9d3dffcd11e9a639cdc398fe4 [^]

Verifies issue 38048 : Modified automated test 'I38048_VerifyReceiptChangeWithDiffCurrency'

* Test failing in quaratine

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I38048_VerifyReceiptChangeWithDiffCurrency.java
---
(0104891)
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
---

- Issue History
Date Modified Username Field Change
2018-03-05 18:36 marvintm Type defect => backport
2018-03-05 18:36 marvintm Target Version => RR18Q1.2
2018-03-09 11:09 ranjith_qualiantech_com Assigned To gorka_gil => ranjith_qualiantech_com
2018-03-09 11:20 hgbot Checkin
2018-03-09 11:20 hgbot Note Added: 0103126
2018-03-09 11:20 hgbot Status scheduled => resolved
2018-03-09 11:20 hgbot Resolution open => fixed
2018-03-09 11:20 hgbot Fixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR18Q1.1/org.openbravo.retail.posterminal/rev/2de8ee1d198cf7fe387edfb167c6f33b53cae8dd [^]
2018-03-09 11:20 hgbot Checkin
2018-03-09 11:20 hgbot Note Added: 0103128
2018-03-09 13:56 hgbot Checkin
2018-03-09 13:56 hgbot Note Added: 0103137
2018-03-09 13:56 hgbot Fixed in SCM revision http://code.openbravo.com/retail/backports/3.0RR18Q1.1/org.openbravo.retail.posterminal/rev/2de8ee1d198cf7fe387edfb167c6f33b53cae8dd [^] => http://code.openbravo.com/retail/backports/3.0RR18Q1.1/org.openbravo.retail.posterminal/rev/9cf9304694578438d7825aaefbdb21b45583f7ed [^]
2018-03-09 14:04 marvintm Review Assigned To => marvintm
2018-03-09 14:04 marvintm Status resolved => closed
2018-03-09 14:04 marvintm Fixed in Version => RR18Q1.1
2018-03-09 14:04 marvintm Target Version RR18Q1.2 => RR18Q1.1
2018-03-15 10:33 hgbot Checkin
2018-03-15 10:33 hgbot Note Added: 0103276
2018-03-22 08:15 ranjith_qualiantech_com Relationship added related to 0037264
2018-03-22 08:24 ranjith_qualiantech_com Relationship deleted related to 0037264
2018-03-27 09:40 hgbot Checkin
2018-03-27 09:40 hgbot Note Added: 0103553
2018-03-27 09:40 hgbot Checkin
2018-03-27 09:40 hgbot Note Added: 0103554
2018-06-02 08:47 hgbot Checkin
2018-06-02 08:47 hgbot Note Added: 0104891


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker