Openbravo Issue Tracking System - Retail Modules
View Issue Details
0024579Retail ModulesLayaway orderpublic2013-08-26 09:432013-08-27 11:01
sureshbabu 
guilleaer 
normalmajoralways
closedfixed 
5
 
RMP26 
marvintm
No
0024579: RMP26: Not able to layaway a receipt, when it is partially paid through USA cash payment method
Not able to layaway a receipt, when it is partially paid through USA cashpayment method
Note: price list not inclusive of taxes is used while testing this scenario.



1) created a layaway order using below details
product:Baby Carrier Qty:14.75 price: 175.75
product:Base Camp duffel 70 l Qty:24.77 price: 333.33


2) Then reopened the Layaway order and tried to pay partially 10.00 using USA CASH payment method.

3) Then tried to close the layaway order by clicking the button "Layaway"


Defect: Uncaught round(): Rounding necessary. Line number: 14. File uuid: http://ec2-54-254-18-168.ap-southeast-1.compute.amazonaws.com/openbravo/web/org.openbravo.mobile.core/lib/vendor/bigdecimal-1.0.1.min.js. [^]
No tags attached.
png Not able to layaway a receipt, when it is partially paid through USA cashpayment method.png (178,317) 2013-08-26 09:43
https://issues.openbravo.com/file_download.php?file_id=6337&type=bug
png
Issue History
2013-08-26 09:43sureshbabuNew Issue
2013-08-26 09:43sureshbabuAssigned To => guilleaer
2013-08-26 09:43sureshbabuFile Added: Not able to layaway a receipt, when it is partially paid through USA cashpayment method.png
2013-08-26 09:43sureshbabuTriggers an Emergency Pack => No
2013-08-26 09:53sureshbabuNote Added: 0060760
2013-08-26 11:46hgbotCheckin
2013-08-26 11:46hgbotNote Added: 0060767
2013-08-26 11:46hgbotStatusnew => resolved
2013-08-26 11:46hgbotResolutionopen => fixed
2013-08-26 11:46hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/48995127b428c4176c39030808de51556ba1b5ab [^]
2013-08-27 11:01marvintmReview Assigned To => marvintm
2013-08-27 11:01marvintmStatusresolved => closed
2013-08-27 11:01marvintmFixed in Version => RMP26

Notes
(0060760)
sureshbabu   
2013-08-26 09:53   
Note: need not to do partial payment, just reopen the above created layaway order and then click Layaway button. One can find the error in the screen.
(0060767)
hgbot   
2013-08-26 11:46   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 48995127b428c4176c39030808de51556ba1b5ab
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Mon Aug 26 11:45:41 2013 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/48995127b428c4176c39030808de51556ba1b5ab [^]

fixed issue 24579: Use always ROUND_HALF_UP instead of others

---
M web/org.openbravo.retail.posterminal/js/data/dataorderdiscount.js
M web/org.openbravo.retail.posterminal/js/data/dataordertaxes.js
---