Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0043521 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Discounts by Total | major | always | 2020-03-18 12:30 | 2020-04-06 18:49 | |||
Reporter | Leyre | View Status | public | |||||
Assigned To | rqueralta | |||||||
Priority | high | Resolution | fixed | Fixed in Version | RR20Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | c8fc8d26ecce | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | jorge-garcia | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0043521: The by total discount is not applied correctly to the receipt lines | |||||||
Description | The by total discount is not applied correctly to the receipt lines | |||||||
Steps To Reproduce | Backend: 1) Configure a product as non Grouped Product and price = 19.9 2) Configure a Variable Discount per Total Amount with amount = 60 3) Set the "Web POS Use advanced discounts engine" preference = N Web POS: 1) Add the previous product with quantity = 6 2) Try to add the previous discount Verify that the discounted amount is not proportional on all lines and is not correct. see the attached image of the tests in livebuilds | |||||||
Tags | No tags attached. | |||||||
Attached Files | bytotal.png [^] (204,342 bytes) 2020-03-18 12:30
| |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||
|
Notes | |
(0118758) hgbot (developer) 2020-03-23 13:59 |
Repository: erp/pmods/org.openbravo.retail.discounts.bytotal Changeset: c8fc8d26ecce97474164381d1ef3365a0979997f Author: Rafael Queralta <rafaelcuba81 <at> gmail.com> Date: Fri Mar 20 14:04:56 2020 -0400 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts.bytotal/rev/c8fc8d26ecce97474164381d1ef3365a0979997f [^] Fixed BUG-43521: The by total discount is not applied correctly to the receipt lines - The old discount execute twice in By total discount rule. Now before apply this discount we check if this discount rule is already apply to the line --- M web/org.openbravo.retail.discounts.bytotal/js/promotion-by-total-utils.js --- |
(0118827) jorge-garcia (reporter) 2020-03-26 08:47 |
Code reviewed and tested |
Issue History | |||
Date Modified | Username | Field | Change |
2020-03-18 12:30 | Leyre | New Issue | |
2020-03-18 12:30 | Leyre | Assigned To | => Retail |
2020-03-18 12:30 | Leyre | File Added: bytotal.png | |
2020-03-18 12:30 | Leyre | Resolution time | => 1586296800 |
2020-03-18 12:30 | Leyre | Triggers an Emergency Pack | => No |
2020-03-18 15:20 | markmm82 | Assigned To | Retail => markmm82 |
2020-03-18 15:26 | markmm82 | Status | new => scheduled |
2020-03-20 15:36 | rqueralta | Assigned To | markmm82 => rqueralta |
2020-03-23 13:59 | hgbot | Checkin | |
2020-03-23 13:59 | hgbot | Note Added: 0118758 | |
2020-03-23 13:59 | hgbot | Status | scheduled => resolved |
2020-03-23 13:59 | hgbot | Resolution | open => fixed |
2020-03-23 13:59 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts.bytotal/rev/c8fc8d26ecce97474164381d1ef3365a0979997f [^] |
2020-03-25 16:44 | jorge-garcia | Review Assigned To | => jorge-garcia |
2020-03-26 08:47 | jorge-garcia | Note Added: 0118827 | |
2020-03-26 08:47 | jorge-garcia | Status | resolved => closed |
2020-03-26 08:47 | jorge-garcia | Fixed in Version | => RR20Q2 |
2020-04-06 18:49 | ngarcia | Relationship added | caused by 0043322 |
2020-04-27 13:42 | Leyre | Relationship added | related to 0043880 |
Copyright © 2000 - 2009 MantisBT Group |