Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0037856 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Discounts by Payment Method | major | always | 2018-02-08 06:44 | 2018-02-15 14:02 | |||
Reporter | ranjith_qualiantech_com | View Status | public | |||||
Assigned To | ranjith_qualiantech_com | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR18Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | marvintm | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0037856: Issues in Payment Method discount calculation | |||||||
Description | Payment Method Discount is not properly calculated which leads to 0.01 pending payment for cash exact payment | |||||||
Steps To Reproduce | In the backend: -> Change 'Avalanche transceiver' product's price to 52 in 'The White Valley Group Sale Price List Version' price list (Price Includes Tax) -> Add a Payment method Discount for Cash in Discounts and Promotions window: Discount %: 2.3 IN POS -> Add 2 qty of Avalanche transceiver (Total Amount: 104.00) -> Pay with exact cash (Verify Info: Pay 101.61€ after 2.3% discount for Cash payment) -> Verify Discount 2.38 is added for line (But it should be 2.39, So it leads to 0.01 remailing to pay) | |||||||
Tags | No tags attached. | |||||||
Attached Files | issue 37856.png [^] (146,357 bytes) 2018-02-08 06:52
| |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0102267) hgbot (developer) 2018-02-08 07:56 |
Repository: erp/pmods/org.openbravo.retail.discounts.bypaymentmethod Changeset: f10e23042215c87ecf889a16f12ce1e0e77f3516 Author: Ranjith S R <ranjith <at> qualiantech.com> Date: Thu Feb 08 12:26:17 2018 +0530 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts.bypaymentmethod/rev/f10e23042215c87ecf889a16f12ce1e0e77f3516 [^] Related to issue 37856 : Fixed discount calculation roundoff problems * Added incrementalUpdateCriteria for Discount in discountByPaymentMethod query --- M src/org/openbravo/retail/discounts/bypaymentmethod/PaymentMethodDiscount.java M web/org.openbravo.retail.discounts.bypaymentmethod/js/paymentmethod-discount.js --- |
(0102293) hgbot (developer) 2018-02-09 10:04 |
Repository: tools/automation/pi-mobile Changeset: 88a52f830ac48421e0e86a41c7407aa728d6e838 Author: Ranjith S R <ranjith <at> qualiantech.com> Date: Fri Feb 09 14:34:19 2018 +0530 URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/88a52f830ac48421e0e86a41c7407aa728d6e838 [^] Verifies issue 37856 : Added automated test 'I37856_VerifyDiscountCalculation' --- A src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/discounts_bypaymentmethod/I37856_VerifyDiscountCalculation.java --- |
Issue History | |||
Date Modified | Username | Field | Change |
2018-02-08 06:44 | ranjith_qualiantech_com | New Issue | |
2018-02-08 06:44 | ranjith_qualiantech_com | Assigned To | => Retail |
2018-02-08 06:44 | ranjith_qualiantech_com | Triggers an Emergency Pack | => No |
2018-02-08 06:44 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com |
2018-02-08 06:52 | ranjith_qualiantech_com | Steps to Reproduce Updated | View Revisions |
2018-02-08 06:52 | ranjith_qualiantech_com | File Added: issue 37856.png | |
2018-02-08 07:56 | hgbot | Checkin | |
2018-02-08 07:56 | hgbot | Note Added: 0102267 | |
2018-02-08 08:15 | ranjith_qualiantech_com | Status | new => scheduled |
2018-02-09 10:04 | hgbot | Checkin | |
2018-02-09 10:04 | hgbot | Note Added: 0102293 | |
2018-02-09 10:04 | ranjith_qualiantech_com | Status | scheduled => resolved |
2018-02-09 10:04 | ranjith_qualiantech_com | Resolution | open => fixed |
2018-02-15 14:02 | marvintm | Review Assigned To | => marvintm |
2018-02-15 14:02 | marvintm | Status | resolved => closed |
2018-02-15 14:02 | marvintm | Fixed in Version | => RR18Q2 |
2018-09-04 14:18 | umartirena | Relationship added | related to 0039224 |
Copyright © 2000 - 2009 MantisBT Group |