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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0043322
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Discounts by Totalmajoralways2020-02-25 11:512020-03-05 19:23
ReporterLeyreView Statuspublic 
Assigned Torqueralta 
PriorityhighResolutionfixedFixed in VersionRR20Q2
StatusclosedFix in branchFixed in SCM revision5ab58c676f94
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toguilleaer
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0043322: The "By Total" discount does not apply correctly the discounted qty. on the receipt lines

DescriptionThe "By Total" discount does not apply correctly the discounted qty. on the receipt lines
Steps To ReproduceBackend:
Set the "Web POS Use advanced discounts engine" preference = N

Web POS:
1. Add two lines with prices:
   Line 1 - P1 100
   Line 2 - P2 200

2. Add a discount type = User Defined Amount of 50 to the second line
   Line 1 - P1 100
   Line 2 - P2 200-50=100

3. Add a discount type = Variable Discount per Total Amount of 180 to the receipt.

Verify that the second discount should be applied proportionally on the lines of quantity, but it applies incorrectly:
   P1 = -60
   P2 = -100
TagsNo tags attached.
Attached Filespng file icon image.png [^] (112,911 bytes) 2020-02-25 11:51

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0041887 closedrqueralta The "By Total" discount does not apply correctly the discounted qty. on the receipt lines, since it does review other discounts 
related to defect 0043880 closedranjith_qualiantech_com Using the old discount engine, the "by total" discount is not calculated correctly on the receipt lines 
causes defect 0043521 closedrqueralta The by total discount is not applied correctly to the receipt lines 

-  Notes
(0118126)
hgbot (developer)
2020-02-26 17:22

Repository: erp/pmods/org.openbravo.retail.discounts.bytotal
Changeset: 5ab58c676f941bee01ad2158bdc234aa8248f70e
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Wed Feb 26 11:19:21 2020 -0500
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts.bytotal/rev/5ab58c676f941bee01ad2158bdc234aa8248f70e [^]

Fixed BUG-43322: The "By Total" discount does not apply correctly the discounted
qty. on the receipt lines

- Total receipt discount was calculated separated of lines discount to update the
total receipt taking into the account the discounts previously applied

---
M web/org.openbravo.retail.discounts.bytotal/js/promotion-by-total-utils.js
---
(0118138)
hgbot (developer)
2020-02-27 00:04

Repository: erp/pmods/org.openbravo.retail.discounts.bytotal
Changeset: 46fb87e0838ccf54e0d2f8e244179b2bb0662e5a
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Wed Feb 26 18:03:45 2020 -0500
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts.bytotal/rev/46fb87e0838ccf54e0d2f8e244179b2bb0662e5a [^]

Related to ISSUE-43322: The "By Total" discount does not apply correctly the
discounted qty. on the receipt lines

- Fixed problem with splitline product

---
M web/org.openbravo.retail.discounts.bytotal/js/promotion-by-total-utils.js
---

- Issue History
Date Modified Username Field Change
2020-02-25 11:51 Leyre New Issue
2020-02-25 11:51 Leyre Assigned To => Retail
2020-02-25 11:51 Leyre File Added: image.png
2020-02-25 11:51 Leyre Resolution time => 1584399600
2020-02-25 11:51 Leyre Triggers an Emergency Pack => No
2020-02-25 11:52 Leyre Relationship added related to 0041887
2020-02-25 13:26 rqueralta Assigned To Retail => rqueralta
2020-02-25 13:26 rqueralta Status new => scheduled
2020-02-26 17:22 hgbot Checkin
2020-02-26 17:22 hgbot Note Added: 0118126
2020-02-26 17:22 hgbot Status scheduled => resolved
2020-02-26 17:22 hgbot Resolution open => fixed
2020-02-26 17:22 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts.bytotal/rev/5ab58c676f941bee01ad2158bdc234aa8248f70e [^]
2020-02-27 00:04 hgbot Checkin
2020-02-27 00:04 hgbot Note Added: 0118138
2020-03-05 19:23 guilleaer Review Assigned To => guilleaer
2020-03-05 19:23 guilleaer Status resolved => closed
2020-03-05 19:23 guilleaer Fixed in Version => RR20Q2
2020-04-06 18:49 ngarcia Relationship added causes 0043521
2020-04-27 13:43 Leyre Relationship added related to 0043880


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker