Openbravo Issue Tracking System - Retail Modules | |||||||||||||||||||
View Issue Details | |||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
0043880 | Retail Modules | Discounts by Total | public | 2020-04-27 13:41 | 2020-05-25 09:33 | ||||||||||||||
Reporter | Leyre | ||||||||||||||||||
Assigned To | ranjith_qualiantech_com | ||||||||||||||||||
Priority | urgent | Severity | major | Reproducibility | always | ||||||||||||||
Status | closed | Resolution | unable to reproduce | ||||||||||||||||
Platform | OS | 5 | OS Version | ||||||||||||||||
Product Version | |||||||||||||||||||
Target Version | Fixed in Version | RR19Q4 | |||||||||||||||||
Merge Request Status | |||||||||||||||||||
Review Assigned To | marvintm | ||||||||||||||||||
OBNetwork customer | |||||||||||||||||||
Support ticket | |||||||||||||||||||
Regression level | |||||||||||||||||||
Regression date | |||||||||||||||||||
Regression introduced in release | |||||||||||||||||||
Regression introduced by commit | |||||||||||||||||||
Triggers an Emergency Pack | No | ||||||||||||||||||
Summary | 0043880: Using the old discount engine, the "by total" discount is not calculated correctly on the receipt lines | ||||||||||||||||||
Description | Using the old discount engine, the "by total" discount is not calculated correctly on the receipt lines | ||||||||||||||||||
Steps To Reproduce | Using the 20Q1 version, add the "Discount rules for Retail by total" module in the correct version: ** In our local instance: Web POS 1.2.6703 Discounts & Promotions Rules for Retail 1.3.6701 Discount rules for Retail by total 1.0.1300 Apply the patches related to the issues 43322 and 43521 (or confirm that the patches are applied) ** Backend: 1. Configure the preference "Web POS Use advanced discounts engine" = N 2. Create a new "User Defined Amount" discount 3. Create a new "Variable Discount per Total Amount" discount ** Web POS: 1. Add two products non grouped with price = 9.90 2. Add another product with price = 2.90 3. Add the first discount "User Defined Amount" = 1 4. Try to add the second discount "Variable Discount per Total Amount" = 10. Verify that the total discount/line is not applied correctly or proportionally on the products. --> ANOTHER EXAMPLE DETECTED: ** Web POS: 1. Add one product = 699.9 2. Add another product 399.9 3. Add the first discount "User Defined Amount" = -20 only to the first product. 4. Add the second discount "Variable Discount per Total Amount" = -100 The sum of the "by total" discount, of all the lines is not 100 | ||||||||||||||||||
Proposed Solution | |||||||||||||||||||
Additional Information | |||||||||||||||||||
Tags | No tags attached. | ||||||||||||||||||
Relationships |
| ||||||||||||||||||
Attached Files | 43880 source bytotal.patch (2,856) 2020-05-13 10:23 https://issues.openbravo.com/file_download.php?file_id=14469&type=bug 43880 test.patch (17,389) 2020-05-13 10:23 https://issues.openbravo.com/file_download.php?file_id=14470&type=bug 43880_source_bytotal_v2.patch (5,564) 2020-05-18 19:04 https://issues.openbravo.com/file_download.php?file_id=14496&type=bug 43880_source_test_v2.patch (19,770) 2020-05-18 19:05 https://issues.openbravo.com/file_download.php?file_id=14497&type=bug 43880_source_bytotal_v3.patch (7,327) 2020-05-25 09:32 https://issues.openbravo.com/file_download.php?file_id=14523&type=bug 43880_source_test_v3.patch (25,355) 2020-05-25 09:33 https://issues.openbravo.com/file_download.php?file_id=14524&type=bug | ||||||||||||||||||
Issue History | |||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||
2020-04-27 13:41 | Leyre | New Issue | |||||||||||||||||
2020-04-27 13:41 | Leyre | Assigned To | => Retail | ||||||||||||||||
2020-04-27 13:41 | Leyre | Resolution time | => 1589752800 | ||||||||||||||||
2020-04-27 13:41 | Leyre | Triggers an Emergency Pack | => No | ||||||||||||||||
2020-04-27 13:42 | Leyre | Relationship added | related to 0043521 | ||||||||||||||||
2020-04-27 13:43 | Leyre | Relationship added | related to 0043322 | ||||||||||||||||
2020-04-30 10:23 | Leyre | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=20916#r20916 | ||||||||||||||||
2020-04-30 10:23 | Leyre | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=20917#r20917 | ||||||||||||||||
2020-05-05 11:44 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com | ||||||||||||||||
2020-05-06 04:57 | ranjith_qualiantech_com | Status | new => scheduled | ||||||||||||||||
2020-05-06 12:43 | ranjith_qualiantech_com | File Added: 43880 source bytotal.patch | |||||||||||||||||
2020-05-06 12:47 | ranjith_qualiantech_com | Note Added: 0119623 | |||||||||||||||||
2020-05-11 15:20 | ranjith_qualiantech_com | Note Deleted: 0119623 | |||||||||||||||||
2020-05-12 09:02 | ranjith_qualiantech_com | File Deleted: 43880 source bytotal.patch | |||||||||||||||||
2020-05-13 10:23 | ranjith_qualiantech_com | File Added: 43880 source bytotal.patch | |||||||||||||||||
2020-05-13 10:23 | ranjith_qualiantech_com | File Added: 43880 test.patch | |||||||||||||||||
2020-05-13 15:41 | marvintm | Review Assigned To | => marvintm | ||||||||||||||||
2020-05-13 15:41 | marvintm | Note Added: 0119839 | |||||||||||||||||
2020-05-13 15:41 | marvintm | Status | scheduled => closed | ||||||||||||||||
2020-05-13 15:41 | marvintm | Resolution | open => unable to reproduce | ||||||||||||||||
2020-05-13 15:41 | marvintm | Fixed in Version | => RR19Q4 | ||||||||||||||||
2020-05-18 19:04 | ranjith_qualiantech_com | File Added: 43880_source_bytotal_v2.patch | |||||||||||||||||
2020-05-18 19:05 | ranjith_qualiantech_com | File Added: 43880_source_test_v2.patch | |||||||||||||||||
2020-05-25 09:32 | ranjith_qualiantech_com | File Added: 43880_source_bytotal_v3.patch | |||||||||||||||||
2020-05-25 09:33 | ranjith_qualiantech_com | File Added: 43880_source_test_v3.patch |
Notes | |||||
|
|||||
|
|