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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0031906
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Gift cards and gift vouchersmajoralways2016-01-15 12:332017-08-08 11:41
ReporterlorenzofidalgoView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityhighResolutionfixedFixed in VersionRR17Q4
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionmainSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0031906: [RR16Q1] Delete lines of a receipt when a Gift Card has been added can induce errors, returning money to the client included

DescriptionIt is possible to induce several wrong flows if it is used a Gift Card as Payment Method and, after that, one or more product lines are deleted. This also happens if product's price are edited.
Steps To Reproduce0-With Gift Cards & Vouchers installed and a Gift Card created to use it later, login POS as vallblanca.
1-Add 10x "Alpine skiing backpack 27L".
2-Add 1x "Baby carrier".
3-Click Total Amount button and add the previously created Gift Card as payment method.
4-Now click in 10x "Alpine skiing backpack 27L" line and delete it.
5-Click Total Amount button again and you will realize Gift Card is now unbalanced. Actually, it now returns money to the client.
Proposed SolutionIf there is a Gift Card applied to the receipt and some products are deleted then Gift Card should be removed at that moment due to the circumstances have changed. It is possible that now the Gift Card is not applicable.
TagsNo tags attached.
Attached Filespng file icon GCWrongFlows.png [^] (171,778 bytes) 2016-01-15 12:33

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0085814)
lorenzofidalgo (developer)
2016-04-21 09:46

This behaviour is still present in RR16Q2. Besides, it is also applicable to Gift Vouchers adding some product(s), adding Gift Vouchers to pay those products and, after that, deleting the products.
(0097861)
hgbot (developer)
2017-07-05 08:15

Repository: erp/pmods/org.openbravo.retail.giftcards
Changeset: 959b2e2acb28705a7d2fbd939bdbfc7f195ce7fc
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Wed Jul 05 11:44:38 2017 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/959b2e2acb28705a7d2fbd939bdbfc7f195ce7fc [^]

Related to issue 31906 : Gift Cards must be validated before deleting the receipt lines

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/retail/giftcards/GCNVComponentProvider.java
A web/org.openbravo.retail.giftcards/js/hooks/predeletelinehook.js
---
(0097925)
hgbot (developer)
2017-07-07 07:39

Repository: tools/automation/pi-mobile
Changeset: 7ae2e8f34e389ea88ed7a78740d6d3841164214a
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Jul 07 11:09:14 2017 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/7ae2e8f34e389ea88ed7a78740d6d3841164214a [^]

Verifies issue 31906 : Added automated test 'I31906_VerifyReceiptLineDeletionWithGiftCard'

---
A src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/giftcards/I31906_VerifyReceiptLineDeletionWithGiftCard.java
---

- Issue History
Date Modified Username Field Change
2016-01-15 12:33 lorenzofidalgo New Issue
2016-01-15 12:33 lorenzofidalgo Assigned To => Retail
2016-01-15 12:33 lorenzofidalgo File Added: GCWrongFlows.png
2016-01-15 12:33 lorenzofidalgo Triggers an Emergency Pack => No
2016-04-21 09:46 lorenzofidalgo Note Added: 0085814
2017-01-31 20:05 mario_castello Status new => acknowledged
2017-01-31 20:05 mario_castello Assigned To Retail => mario_castello
2017-05-16 16:35 mario_castello Assigned To mario_castello => Retail
2017-06-20 15:54 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2017-06-20 15:54 ranjith_qualiantech_com Status acknowledged => scheduled
2017-07-05 08:15 hgbot Checkin
2017-07-05 08:15 hgbot Note Added: 0097861
2017-07-07 07:39 hgbot Checkin
2017-07-07 07:39 hgbot Note Added: 0097925
2017-07-07 07:41 ranjith_qualiantech_com Status scheduled => resolved
2017-07-07 07:41 ranjith_qualiantech_com Resolution open => fixed
2017-08-08 11:41 marvintm Review Assigned To => marvintm
2017-08-08 11:41 marvintm Status resolved => closed
2017-08-08 11:41 marvintm Fixed in Version => RR17Q4


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker