Openbravo Issue Tracking System - Retail Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0039224 | Retail Modules | Discounts by Payment Method | public | 2018-09-04 14:18 | 2018-09-06 15:08 | |||||||
Reporter | umartirena | |||||||||||
Assigned To | umartirena | |||||||||||
Priority | urgent | Severity | major | Reproducibility | always | |||||||
Status | scheduled | Resolution | open | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | |||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | ||||||||||||
OBNetwork customer | ||||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0039224: Discount calculation amount issue in Discount by Payment Method | |||||||||||
Description | Payment method discount amount is not properly calculated under certain circumstances. | |||||||||||
Steps To Reproduce | Go to https://livebuilds.openbravo.com/retail_modules_pgsql_pi/ [^] Open Discounts and Promotions window and create a new record: * Discount/Promotion type: "Payment Method Discount" * Name: "2.3% Discount on Cash Payment Method" * Starting date: Something earlier than Today * Percentage from Total: 2.3% * Add a record in Payment Method tab: - Payment Method: Wire transfer Login into https://livebuilds.openbravo.com/retail_modules_pgsql_pi/web/org.openbravo.retail.posterminal/?terminal=VBS-1 [^] * Add an item * Change price to 15.00 * Go to payment method * Click on Exact Payment * Realize that the payment added is of amount 14.65, but the discount included is of amount -0.34, so there is pending 0.01€ to be paid, which is wrong. | |||||||||||
Proposed Solution | Don't recalculate the discount again, reuse the information calculated to add the payment | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2018-09-04 14:18 | umartirena | New Issue | ||||||||||
2018-09-04 14:18 | umartirena | Assigned To | => Retail | |||||||||
2018-09-04 14:18 | umartirena | Triggers an Emergency Pack | => No | |||||||||
2018-09-04 14:18 | umartirena | Relationship added | related to 0037856 | |||||||||
2018-09-04 14:27 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com | |||||||||
2018-09-04 14:27 | ranjith_qualiantech_com | Status | new => scheduled | |||||||||
2018-09-04 16:21 | jfrances | Issue Monitored: jfrances | ||||||||||
2018-09-05 07:44 | rafaroda | Issue Monitored: rafaroda | ||||||||||
2018-09-05 13:15 | umartirena | Assigned To | ranjith_qualiantech_com => umartirena | |||||||||
2018-09-06 12:02 | hgbot | Checkin | ||||||||||
2018-09-06 12:02 | hgbot | Note Added: 0106617 | ||||||||||
2018-09-06 15:08 | hgbot | Checkin | ||||||||||
2018-09-06 15:08 | hgbot | Note Added: 0106625 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|