Openbravo Issue Tracking System - Retail Modules
View Issue Details
0037220Retail ModulesWeb POSpublic2017-11-03 14:022017-11-14 17:43
eduardo_Argal 
ranjith_qualiantech_com 
urgentmajoralways
closedfixed 
5
 
RR18Q1 
marvintm
No
0037220: When reopen a partial verify return with discounts in webpos, the discount amount is not correct
Return ticket displays wrong discount amount when being created from an order with discounts. The wrong amount is visible when it is reopened after completion
Login user: vallblanca
Create new ticket: VBS1/0000109
Add product "Avalanche transceiver" (Qty: 3) to ticket "VBS1/0000109"
Apply promotion "disc_5_ var_perc" 45.50€ to product "Avalanche transceiver" (1)
Total Amount (406.00) for ticket: VBS1/0000109
Add Payment: Cash = 406.00 EUR
Complete ticket payment: VBS1/0000109
Menu option Verified Returns
Create new ticket: VBS1/0000110
Add product "Avalanche transceiver" (Qty: -1) to ticket "VBS1/0000110"
Total Amount (-135.33) for ticket: VBS1/0000110
Add Payment: Cash = 135.33 EUR
Complete ticket payment: VBS1/0000110
Open Receipt: VBS1/0000110

Verify that the amount for discount is 40.50 when it should be one third of the amount

No tags attached.
Issue History
2017-11-03 14:02eduardo_ArgalNew Issue
2017-11-03 14:02eduardo_ArgalAssigned To => Retail
2017-11-03 14:02eduardo_ArgalResolution time => 1510873200
2017-11-03 14:02eduardo_ArgalTriggers an Emergency Pack => No
2017-11-08 14:06ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2017-11-08 14:07ranjith_qualiantech_comStatusnew => scheduled
2017-11-13 06:35hgbotCheckin
2017-11-13 06:35hgbotNote Added: 0100465
2017-11-13 06:35hgbotStatusscheduled => resolved
2017-11-13 06:35hgbotResolutionopen => fixed
2017-11-13 06:35hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.returns/rev/4f2fc6a3ee08c4d95539e74d23b8841afbdc6452 [^]
2017-11-13 06:47hgbotCheckin
2017-11-13 06:47hgbotNote Added: 0100466
2017-11-14 17:43marvintmReview Assigned To => marvintm
2017-11-14 17:43marvintmStatusresolved => closed
2017-11-14 17:43marvintmFixed in Version => RR18Q1

Notes
(0100465)
hgbot   
2017-11-13 06:35   
Repository: erp/pmods/org.openbravo.retail.returns
Changeset: 4f2fc6a3ee08c4d95539e74d23b8841afbdc6452
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon Nov 13 11:05:25 2017 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.returns/rev/4f2fc6a3ee08c4d95539e74d23b8841afbdc6452 [^]

Fixed issue 37220 : Promotion TotalAmt should be updated in verified Returns

* displayedTotalAmount should be updated while returning product with promotions from verified returns

---
M web/org.openbravo.retail.returns/js/modalReturnLines.js
---
(0100466)
hgbot   
2017-11-13 06:47   
Repository: tools/automation/pi-mobile
Changeset: 76cc545035610596a45f4f4b4d841fd045be8d6b
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon Nov 13 11:05:34 2017 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/76cc545035610596a45f4f4b4d841fd045be8d6b [^]

Verifies issue 37220 : Added automated test 'I37220_VerifyDiscountOnVerifiedReturns'

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/discountsandpromotions/I37220_VerifyDiscountOnVerifiedReturns.java
---