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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0040921
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Selfcheckoutmajoralways2019-05-20 17:172019-06-17 19:10
Reporterjoniturralde93View Statuspublic 
Assigned Torqueralta 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisiond8fd752d0974
ProjectionnoneETAnoneTarget Versionpi
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned Toguilleaer
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0040921: Negative transactions should not be allowed in SCO

DescriptionIf you manage to get to SCO POS with a negative amount transaction, there could be problems related to payments.
Steps To Reproduce1. Create a new Discount (Price Adjustment) with amount 20 for product 'Adhesive body warmers'.
2. Add it in web pos (SCO-1): Product price 3.60, discount -20, final price -16.40
3. Go to SCO mode


In live builds it's not allowed to complete the transaction (payment behavior is strange), but in some customers there are mobile payment types which actually can make the customer pay (even if the amount was negative).

TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0112560)
hgbot (developer)
2019-06-10 22:20

Repository: erp/pmods/org.openbravo.retail.selfcheckout
Changeset: d8fd752d0974c06fff3d06dc5557a36de020faf6
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Mon Jun 10 16:20:04 2019 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.selfcheckout/rev/d8fd752d0974c06fff3d06dc5557a36de020faf6 [^]

Fixed issue 40921: Negative transactions should not be allowed in SCO

- If total amount is negative, the transaction cannot be completed and a message
 is shown

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/retail/selfcheckout/SCOComponentProvider.java
M web/org.openbravo.retail.selfcheckout/assets/css/ob-sco.css
M web/org.openbravo.retail.selfcheckout/source/panels/scanProductPanel.js
A web/org.openbravo.retail.selfcheckout/source/actions/doReceiptNegativeTotal.js
A web/org.openbravo.retail.selfcheckout/source/panels/receiptNegativeTotalPanel.js
A web/org.openbravo.retail.selfcheckout/source/steps/receiptNegativeTotal.js
---
(0112773)
hgbot (developer)
2019-06-13 17:21

Repository: tools/automation/pi-mobile
Changeset: d8872f7108987a7f1722169fe78e5b967d3bda80
Author: Alejandro <alekosmp86 <at> gmail.com>
Date: Tue Jun 11 14:55:17 2019 -0400
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/d8872f7108987a7f1722169fe78e5b967d3bda80 [^]

Related to issue 40921: added automated test

---
M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/selfcheckoututils/TestIDSCO.java
A src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/selfcheckout/I40921_SCOVerifyNegativeTransactionsNotAllowed.java
---

- Issue History
Date Modified Username Field Change
2019-05-20 17:17 joniturralde93 New Issue
2019-05-20 17:17 joniturralde93 Assigned To => Retail
2019-05-20 17:17 joniturralde93 Resolution time => 1560117600
2019-05-20 17:17 joniturralde93 Triggers an Emergency Pack => No
2019-05-28 14:55 rqueralta Assigned To Retail => rqueralta
2019-05-28 14:55 rqueralta Status new => scheduled
2019-06-10 22:20 hgbot Checkin
2019-06-10 22:20 hgbot Note Added: 0112560
2019-06-10 22:20 hgbot Status scheduled => resolved
2019-06-10 22:20 hgbot Resolution open => fixed
2019-06-10 22:20 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.selfcheckout/rev/d8fd752d0974c06fff3d06dc5557a36de020faf6 [^]
2019-06-13 17:21 hgbot Checkin
2019-06-13 17:21 hgbot Note Added: 0112773
2019-06-17 19:10 guilleaer Review Assigned To => guilleaer
2019-06-17 19:10 guilleaer Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker