Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0027717 | Retail Modules | Web POS | public | 2014-09-30 13:19 | 2014-11-24 06:10 |
|
Reporter | caristu | |
Assigned To | marvintm | |
Priority | high | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | RR15Q1 | Fixed in Version | RR15Q1 | |
Merge Request Status | |
Review Assigned To | mtaal |
OBNetwork customer | OBPS |
Support ticket | 31370 |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0027717: printDiscount and discountInTotal methods are not being consistent with manual discounts |
Description | printDiscount and discountInTotal methods are not being consistent with manual discounts:
- For manual discounts: it is calculating the discount without taking into account the quantity of the line
- For automatic discounts: the getTotalAmountOfPromotions() is returning the correct sum of the discounts for the line |
Steps To Reproduce | 1) Create a print receipt that makes use of the printDiscount function.
2) The discount is calculated different depending on the applied discount. |
Proposed Solution | multiply the calculated discount by the line quantity for the manual discounts. Patch attached. |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | 27717.diff (1,238) 2014-09-30 13:24 https://issues.openbravo.com/file_download.php?file_id=7285&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2014-09-30 13:19 | caristu | New Issue | |
2014-09-30 13:19 | caristu | Assigned To | => marvintm |
2014-09-30 13:19 | caristu | OBNetwork customer | => Yes |
2014-09-30 13:19 | caristu | Support ticket | => 31370 |
2014-09-30 13:19 | caristu | Resolution time | => 1418338800 |
2014-09-30 13:19 | caristu | Triggers an Emergency Pack | => No |
2014-09-30 13:19 | caristu | Issue Monitored: networkb | |
2014-09-30 13:22 | caristu | Summary | printDiscount method is not being consistent with manual discounts => printDiscount and discountInTotal methods are not being consistent with manual discounts |
2014-09-30 13:22 | caristu | Description Updated | bug_revision_view_page.php?rev_id=6693#r6693 |
2014-09-30 13:22 | caristu | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=6695#r6695 |
2014-09-30 13:22 | caristu | Proposed Solution updated | |
2014-09-30 13:24 | caristu | File Added: 27717.diff | |
2014-09-30 14:31 | mtaal | Target Version | RR14Q4 => RR15Q1 |
2014-11-16 13:06 | hgbot | Checkin | |
2014-11-16 13:06 | hgbot | Note Added: 0071668 | |
2014-11-16 13:06 | hgbot | Status | new => resolved |
2014-11-16 13:06 | hgbot | Resolution | open => fixed |
2014-11-16 13:06 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a20737724e27a9249a03ec0d15d0fd335751b472 [^] |
2014-11-24 06:10 | mtaal | Review Assigned To | => mtaal |
2014-11-24 06:10 | mtaal | Note Added: 0071906 | |
2014-11-24 06:10 | mtaal | Status | resolved => closed |
2014-11-24 06:10 | mtaal | Fixed in Version | => RR15Q1 |