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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0037856
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Discounts by Payment Methodmajoralways2018-02-08 06:442018-02-15 14:02
Reporterranjith_qualiantech_comView Statuspublic 
Assigned Toranjith_qualiantech_com 
PrioritynormalResolutionfixedFixed in VersionRR18Q2
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0037856: Issues in Payment Method discount calculation

DescriptionPayment Method Discount is not properly calculated which leads to 0.01 pending payment for cash exact payment
Steps To ReproduceIn 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)
TagsNo tags attached.
Attached Filespng file icon issue 37856.png [^] (146,357 bytes) 2018-02-08 06:52

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0039224 scheduledumartirena Discount calculation amount issue in Discount by Payment Method 

-  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
Powered by Mantis Bugtracker