Openbravo Issue Tracking System - Retail Modules
View Issue Details
0025192Retail ModulesWeb POSpublic2013-11-21 09:342013-11-28 15:52
sureshbabu 
marvintm 
normalminoralways
closedfixed 
5
 
RMP29 
malsasua
No
0025192: Return Receipt: While creating return receipt, Divide by zero error appears when line item qty is Zero
While creating return receipt using Return receipt option, Divide by zero error appears when line item qty is assigned as zero
1) create a receipt and complete it.
Product: whistle Qty:10
2) From menu, select 'Return Receipt' option
3) In the receipts popup,enter the receipt id which is created in step 1
4) Then enter the qty as Zero and click apply
5) verify both qty and line total amount and gross amount are zero
6) Then try to complete the return receipt,

Defect: Divide by zero error appears in webpos screen.
No tags attached.
png While creating return receipt using Return receipt option, Divide by zero error appears when line item qty is assigned as zero.png (200,123) 2013-11-21 09:34
https://issues.openbravo.com/file_download.php?file_id=6509&type=bug
png
Issue History
2013-11-21 09:34sureshbabuNew Issue
2013-11-21 09:34sureshbabuAssigned To => marvintm
2013-11-21 09:34sureshbabuFile Added: While creating return receipt using Return receipt option, Divide by zero error appears when line item qty is assigned as zero.png
2013-11-21 09:34sureshbabuTriggers an Emergency Pack => No
2013-11-27 13:23hgbotCheckin
2013-11-27 13:23hgbotNote Added: 0062410
2013-11-27 13:23hgbotStatusnew => resolved
2013-11-27 13:23hgbotResolutionopen => fixed
2013-11-27 13:23hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.returns/rev/5ee203339c74f80852c26e7a95806898f12548b8 [^]
2013-11-28 10:49malsasuaReview Assigned To => malsasua
2013-11-28 10:49malsasuaNote Added: 0062433
2013-11-28 10:49malsasuaStatusresolved => closed
2013-11-28 10:49malsasuaFixed in Version => RMP30
2013-11-28 15:51malsasuaNote Added: 0062449
2013-11-28 15:51malsasuaStatusclosed => new
2013-11-28 15:51malsasuaResolutionfixed => open
2013-11-28 15:51malsasuaFixed in VersionRMP30 =>
2013-11-28 15:52malsasuaStatusnew => scheduled
2013-11-28 15:52malsasuafix_in_branch => pi
2013-11-28 15:52malsasuaStatusscheduled => resolved
2013-11-28 15:52malsasuaResolutionopen => fixed
2013-11-28 15:52malsasuaNote Added: 0062450
2013-11-28 15:52malsasuaStatusresolved => closed
2013-11-28 15:52malsasuaFixed in Version => RMP29

Notes
(0062410)
hgbot   
2013-11-27 13:23   
Repository: erp/pmods/org.openbravo.retail.returns
Changeset: 5ee203339c74f80852c26e7a95806898f12548b8
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Wed Nov 27 13:23:01 2013 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.returns/rev/5ee203339c74f80852c26e7a95806898f12548b8 [^]

Fixed issue 25192. Fixed issue 25204. It will no longer be possible to return a line with qty 0 or less than 0.

---
M web/org.openbravo.retail.returns/js/modalReturnLines.js
---
(0062433)
malsasua   
2013-11-28 10:49   
verified
(0062449)
malsasua   
2013-11-28 15:51   
changed to fixed version RMP29
(0062450)
malsasua   
2013-11-28 15:52   
changed to fixed version RMP29