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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0040082
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Discounts Combomajoralways2019-01-31 10:172019-02-12 10:54
ReporteranderarangurenView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityurgentResolutionfixedFixed in Version
StatusresolvedFix in branchFixed in SCM revision925e5fe4a2c4
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0040082: The Discount per Unit is wrong calculated in Discount and Promotions line of orderline when doing a order with a Combo

DescriptionIf a combo is selected in the web POS and an extra product contained on the combo is added to the order, discount per unit is calculated with the quantity of the orderline insted of the quantity of the discount line.
Steps To ReproduceGo to the web POS https://livebuilds.openbravo.com/retail_modules_pgsql_pi/web/org.openbravo.retail.posterminal/?terminal=VBS-1#retail.pointofsale [^]
Go to Browse tab and add Torch and Backpack combo.
Select Backpack CB1 25l (from backpack family)
Select 2x Torch CB1 (from torches family)
Apply the combo.
Go to search tab and add another Torch CB1 to the order.
Pay the order.
Go to Sales Order window in BackOffice
Select the order and Torch CB1 line
Realize that in Discounts and Promotions Line the combo quantity is 2 and the total Amount is 10.00
while the discount per unit is 3.33 (as if it was calculating with the orderline quantity)
TagsNo tags attached.
Attached Filespng file icon comboError.png [^] (133,381 bytes) 2019-01-31 10:17

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0039831 closedrqueralta Combo discount is not applied to a line if the family is configured as Fixed Price with the same price of the product to be ap. 

-  Notes
(0109586)
hgbot (developer)
2019-02-05 14:51

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 925e5fe4a2c459b2f1211ef218377a2504181779
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Feb 05 19:21:15 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/925e5fe4a2c459b2f1211ef218377a2504181779 [^]

Fixed issue 40082 : Line Discount Unit price should be calculated based on discount qty instead of line qty

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0109587)
hgbot (developer)
2019-02-05 14:52

Repository: tools/automation/pi-mobile
Changeset: cbb360f811c94ead96be7cd12c7b0acb98c54936
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Feb 05 19:21:36 2019 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/cbb360f811c94ead96be7cd12c7b0acb98c54936 [^]

Verifies issue 40082 : Added Automated Test 'I40082_VerifyDiscountAmtInOrderLine'

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/discountsandpromotions/Communit6783_BuyXPayYDifferentProductCheapestDistributed.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/discountsandpromotions/I22425_Communit6789_BuyXGetYGift.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I40082_VerifyDiscountAmtInOrderLine.java
---
(0109684)
hgbot (developer)
2019-02-12 10:54

Repository: tools/automation/pi-mobile
Changeset: f83bd6e8e78bf0c1ffc446036a70a20a07cdb5c8
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Feb 12 15:23:55 2019 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/f83bd6e8e78bf0c1ffc446036a70a20a07cdb5c8 [^]

Verifies issue 40082 : Modified Automated Test 'Communit6781_BuyXPayYSameProduct'

* Communit6781_BuyXPayYSameProduct
* Communit6782_BuyXPayYDifferentProductCheapest_I

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/discountsandpromotions/Communit6781_BuyXPayYSameProduct.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/discountsandpromotions/Communit6782_BuyXPayYDifferentProductCheapest_I.java
---

- Issue History
Date Modified Username Field Change
2019-01-31 10:17 anderaranguren New Issue
2019-01-31 10:17 anderaranguren Assigned To => Retail
2019-01-31 10:17 anderaranguren File Added: comboError.png
2019-01-31 10:17 anderaranguren Triggers an Emergency Pack => No
2019-02-04 07:34 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2019-02-04 07:34 ranjith_qualiantech_com Status new => scheduled
2019-02-04 16:35 anderaranguren Relationship added related to 0039831
2019-02-05 14:51 hgbot Checkin
2019-02-05 14:51 hgbot Note Added: 0109586
2019-02-05 14:51 hgbot Status scheduled => resolved
2019-02-05 14:51 hgbot Resolution open => fixed
2019-02-05 14:51 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/925e5fe4a2c459b2f1211ef218377a2504181779 [^]
2019-02-05 14:52 hgbot Checkin
2019-02-05 14:52 hgbot Note Added: 0109587
2019-02-12 10:54 hgbot Checkin
2019-02-12 10:54 hgbot Note Added: 0109684


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker