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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0043773
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POSmajoralways2020-04-03 13:152020-04-23 17:16
ReporterkchoperenaView Statuspublic 
Assigned Toprakashmurugesan88 
PrioritynormalResolutionfixedFixed in VersionRR19Q4.4
StatusclosedFix in branchFixed in SCM revision72a6e6524c7b
ProjectionnoneETAnoneTarget VersionRR19Q4.4
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

0043773: Cancel and Replace fails if the difference between the payment amounts are more than 1000

DescriptionCancel and Replace process fails when the difference between the payment of the cancelled and new order is more than 1000.

If the new order needs to add or return a payment higher than 1000, while adding the payment information fails because the toBigDecimal function is executing with an incorrect format number. I.e: 2,400.00
Steps To Reproduce1.- Log into the WebPOS
2.- Create a Layaway with 20 Avalanche Transceivers -> Total amount: 3,010.00
3.- Synchronize the layaway
4.- Load again using the 'Open receipt' functionality of the menu
5.- In the menu, click on 'Cancel And Replace'
6.- Change the line qty to 1 -> Total amount: 150.50
7.- Try to return the money to the customer

EXPECTED RESULT:
The WebPOS does not add the return payment and in the developer tools console appears the next error:

BigDecimal-all-1.0.3.min.js:14 Uncaught BigDecimal(): Not a number: 2,,,8,5,9,.,5,0
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0043661 closedprakashmurugesan88 Cancel and Replace fails if the difference between the payment amounts are more than 1000 

-  Notes
(0119251)
hgbot (developer)
2020-04-20 08:42

Repository: retail/backports/3.0RR19Q4.4/org.openbravo.retail.posterminal
Changeset: 72a6e6524c7b922e3554f2cd4e3d5519fe856694
Author: Prakash M <prakash <at> qualiantech.com>
Date: Mon Apr 20 12:09:20 2020 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR19Q4.4/org.openbravo.retail.posterminal/rev/72a6e6524c7b922e3554f2cd4e3d5519fe856694 [^]

Fixed BUG-43773: Converted return payment from OBMasked to OBPlain for calculation

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---

- Issue History
Date Modified Username Field Change
2020-04-17 13:45 marvintm Type defect => backport
2020-04-17 13:45 marvintm Target Version => RR19Q4.4
2020-04-20 08:42 hgbot Checkin
2020-04-20 08:42 hgbot Note Added: 0119251
2020-04-20 08:42 hgbot Status scheduled => resolved
2020-04-20 08:42 hgbot Resolution open => fixed
2020-04-20 08:42 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/03daf749c9106cebb21878d83a29e91c619f68da [^] => http://code.openbravo.com/retail/backports/3.0RR19Q4.4/org.openbravo.retail.posterminal/rev/72a6e6524c7b922e3554f2cd4e3d5519fe856694 [^]
2020-04-23 17:16 marvintm Review Assigned To => marvintm
2020-04-23 17:16 marvintm Status resolved => closed
2020-04-23 17:16 marvintm Fixed in Version => RR19Q4.4


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker