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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0038049
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POSmajoralways2018-03-05 12:352018-03-26 09:12
ReportermaiteView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityimmediateResolutionfixedFixed in VersionRR17Q4.2
StatusclosedFix in branchFixed in SCM revision17440de1ba54
ProjectionnoneETAnoneTarget VersionRR17Q4.2
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

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

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

Fixed issue 38049 : 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/pointofsale/model/pointofsale-model.js
---
(0103129)
hgbot (developer)
2018-03-09 11:20

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

Verifies issue 38049 : Added automated test 'I38049_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/I38049_VerifyReceiptChangeWithDiffCurrency.java
---
(0103138)
hgbot (developer)
2018-03-09 13:56

Repository: retail/backports/3.0RR17Q4.2/org.openbravo.retail.posterminal
Changeset: 17440de1ba5465065dfe9fe0aceb0bcbaa920d99
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Mar 09 18:26:14 2018 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR17Q4.2/org.openbravo.retail.posterminal/rev/17440de1ba5465065dfe9fe0aceb0bcbaa920d99 [^]

Fixed issue 38049 : 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
---
(0103275)
hgbot (developer)
2018-03-15 10:33

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

Verifies issue 38049 : Modified automated test 'I38049_VerifyReceiptChangeWithDiffCurrency'

* Test failing in quaratine

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I38049_VerifyReceiptChangeWithDiffCurrency.java
---
(0103485)
hgbot (developer)
2018-03-26 09:12

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

Verifies issue 38049 : Added automated test 'I38049_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/I38049_VerifyReceiptChangeWithDiffCurrency.java
---
(0103487)
hgbot (developer)
2018-03-26 09:12

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

Verifies issue 38049 : Modified automated test 'I38049_VerifyReceiptChangeWithDiffCurrency'

* Test failing in quaratine

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

- Issue History
Date Modified Username Field Change
2018-03-05 18:36 marvintm Type defect => backport
2018-03-05 18:36 marvintm Target Version => RR17Q4.3
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: 0103127
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.0RR17Q4.2/org.openbravo.retail.posterminal/rev/e8d895e77aec96f5ada89af1e0ad49021a540c66 [^]
2018-03-09 11:20 hgbot Checkin
2018-03-09 11:20 hgbot Note Added: 0103129
2018-03-09 13:56 hgbot Checkin
2018-03-09 13:56 hgbot Note Added: 0103138
2018-03-09 13:56 hgbot Fixed in SCM revision http://code.openbravo.com/retail/backports/3.0RR17Q4.2/org.openbravo.retail.posterminal/rev/e8d895e77aec96f5ada89af1e0ad49021a540c66 [^] => http://code.openbravo.com/retail/backports/3.0RR17Q4.2/org.openbravo.retail.posterminal/rev/17440de1ba5465065dfe9fe0aceb0bcbaa920d99 [^]
2018-03-15 09:47 marvintm Target Version RR17Q4.3 => RR17Q4.2
2018-03-15 10:33 hgbot Checkin
2018-03-15 10:33 hgbot Note Added: 0103275
2018-03-16 14:13 marvintm Review Assigned To => marvintm
2018-03-16 14:13 marvintm Status resolved => closed
2018-03-16 14:13 marvintm Fixed in Version => RR17Q4.2
2018-03-26 09:12 hgbot Checkin
2018-03-26 09:12 hgbot Note Added: 0103485
2018-03-26 09:12 hgbot Checkin
2018-03-26 09:12 hgbot Note Added: 0103487


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker