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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0042194
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Discounts and Promotionsmajoralways2019-11-05 12:152020-02-14 19:49
ReporterlorenzofidalgoView Statuspublic 
Assigned Toranjith_qualiantech_com 
PrioritynormalResolutionfixedFixed in VersionRR20Q2
StatusclosedFix in branchFixed in SCM revision4d46adbf2b04
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionmainSCM revision 
Review Assigned Toguilleaer
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0042194: [RR19Q4] Several packs amount is not properly calculated when products overlap

DescriptionIn case Packs share products in different packs, the discount amount is wrongly calculated.
Steps To Reproduce0-Log in POS backend, in Discounts and Promotions window, add the following record:
--
Organization: The White Valley Group
Discount/Promotion Type: Pack
Name: Test1 Pack
Starting Date: 01-01-2012
Included Products: only those defined
Discount/Promotion Price: 100
--
Save the record.
In Products tab, add:
--
Adhesive body warmers Qty:1
Down sleeping bag 500 Qty:1
--
Save the record.

1-Log in POS as vallblanca.
2-Go to Search and type "Pack". Realise "Camping Pack" and "Test1 Pack" are shown there.
3-To add them, click in both aforemetioned packs: "Camping Pack" and "Test1 Pack" (385.00€ and 100€. Total amount must be 485.00€). DEFECT: Total Amount is not calculating properly both packs separately.
TagsNo tags attached.
Attached Filespng file icon WrongAmounts.png [^] (175,727 bytes) 2019-11-05 12:15

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0117802)
hgbot (developer)
2020-02-14 12:20

Repository: erp/pmods/org.openbravo.retail.discounts
Changeset: 4d46adbf2b047c8d3a835b0a1929bbc965081f02
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Feb 14 16:49:53 2020 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts/rev/4d46adbf2b047c8d3a835b0a1929bbc965081f02 [^]

Fixed issue 42194 : Updated Pack Discount Calculation

* Pack discount should be applied on Original Line price instead of Calculated Line Price

---
M src-test/org/openbravo/retail/discounts/test/unittests/DiscountPackTest.java
M web/org.openbravo.retail.discounts/js/discountsengine/common/rules/pack-discount.js
---

- Issue History
Date Modified Username Field Change
2019-11-05 12:15 lorenzofidalgo New Issue
2019-11-05 12:15 lorenzofidalgo Assigned To => Retail
2019-11-05 12:15 lorenzofidalgo File Added: WrongAmounts.png
2019-11-05 12:15 lorenzofidalgo Triggers an Emergency Pack => No
2019-11-05 12:43 lorenzofidalgo Steps to Reproduce Updated View Revisions
2019-11-19 11:59 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2020-01-07 15:15 ranjith_qualiantech_com Status new => scheduled
2020-02-14 12:20 hgbot Checkin
2020-02-14 12:20 hgbot Note Added: 0117802
2020-02-14 12:20 hgbot Status scheduled => resolved
2020-02-14 12:20 hgbot Resolution open => fixed
2020-02-14 12:20 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts/rev/4d46adbf2b047c8d3a835b0a1929bbc965081f02 [^]
2020-02-14 19:49 guilleaer Review Assigned To => guilleaer
2020-02-14 19:49 guilleaer Status resolved => closed
2020-02-14 19:49 guilleaer Fixed in Version => RR20Q2


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker