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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0043521
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Discounts by Totalmajoralways2020-03-18 12:302020-03-26 08:47
ReporterLeyreView Statuspublic 
Assigned Torqueralta 
PriorityhighResolutionfixedFixed in VersionRR20Q2
StatusclosedFix in branchFixed in SCM revisionc8fc8d26ecce
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tojorge-garcia
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0043521: The by total discount is not applied correctly to the receipt lines

DescriptionThe by total discount is not applied correctly to the receipt lines
Steps To ReproduceBackend:
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
TagsNo tags attached.
Attached Filespng file icon 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 (developer)
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 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker