Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0042194 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| defect | [Retail Modules] Discounts and Promotions | major | always | 2019-11-05 12:15 | 2020-02-14 19:49 | |||
| Reporter | lorenzofidalgo | View Status | public | |||||
| Assigned To | ranjith_qualiantech_com | |||||||
| Priority | normal | Resolution | fixed | Fixed in Version | RR20Q2 | |||
| Status | closed | Fix in branch | Fixed in SCM revision | 4d46adbf2b04 | ||||
| Projection | none | ETA | none | Target Version | ||||
| OS | Any | Database | Any | Java version | ||||
| OS Version | Database version | Ant version | ||||||
| Product Version | main | SCM revision | ||||||
| Merge Request Status | ||||||||
| Review Assigned To | guilleaer | |||||||
| OBNetwork customer | No | |||||||
| Support ticket | ||||||||
| Regression level | ||||||||
| Regression date | ||||||||
| Regression introduced in release | ||||||||
| Regression introduced by commit | ||||||||
| Triggers an Emergency Pack | No | |||||||
| Summary | 0042194: [RR19Q4] Several packs amount is not properly calculated when products overlap | |||||||
| Description | In case Packs share products in different packs, the discount amount is wrongly calculated. | |||||||
| Steps To Reproduce | 0-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. | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
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 | OBNetwork customer | => No |
| 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 |