Openbravo Issue Tracking System - Retail Modules
View Issue Details
0024572Retail ModulesLayaway orderpublic2013-08-23 13:272024-10-18 12:18
sureshbabu 
Retail 
normalminoralways
newopen 
5
 
 
No
0024572: RMP26: Not able to void a Layaway order after clicking the line item
Not able to void a Layaway order after clicking the line item
Note: I am testing using price list not inclusive of taxes

1) Create a Layaway order with more than one line item(without any partial payment)
2) Then reopen the layaway order using Layaways options
3) Then from drop down menu option, select "Void This layaway" option
4) In the webpos, "Void this Layaway" label appears as well as at the right hand side, "Total is Zero. No Payment required" label appears along with "Done" button
5) Click any line item, Product details will appear at the right hand side

6) Then to void the Layaway order, click Total amount

Defect: There is no response from the system once i click Total amount field
No tags attached.
related to defect 0029517 new Retail [RR15Q2] Amount button crashes following certain steps in "Void this layaway" flow 
png Not able to void a layaway order, when the user clicks the line item from webpos.png (208,539) 2013-08-23 13:27
https://issues.openbravo.com/file_download.php?file_id=6334&type=bug
png

diff diffVoidLayaway.diff (835) 2013-08-26 09:49
https://issues.openbravo.com/file_download.php?file_id=6338&type=bug
Issue History
2013-08-23 13:27sureshbabuNew Issue
2013-08-23 13:27sureshbabuAssigned To => guilleaer
2013-08-23 13:27sureshbabuFile Added: Not able to void a layaway order, when the user clicks the line item from webpos.png
2013-08-23 13:27sureshbabuTriggers an Emergency Pack => No
2013-08-24 01:32guilleaerNote Added: 0060753
2013-08-26 09:48guilleaerNote Added: 0060758
2013-08-26 09:49guilleaerFile Added: diffVoidLayaway.diff
2013-08-26 09:50guilleaerNote Edited: 0060758bug_revision_view_page.php?bugnote_id=0060758#r4963
2015-04-07 16:23lorenzofidalgoNote Added: 0076369
2015-04-07 16:57lorenzofidalgoRelationship addedrelated to 0029517
2024-10-18 12:18guilleaerAssigned Toguilleaer => Retail

Notes
(0060753)
guilleaer   
2013-08-24 01:32   
Is not needed to have several lines to reproduce the problem.
(0060758)
guilleaer   
2013-08-26 09:48   
(edited on: 2013-08-26 09:50)
No critical for RMP26

Attached a possible patch

diff -r 8e4de78a5592 web/org.openbravo.retail.posterminal/js/pointofsale/view/toolbar-left.js
--- a/web/org.openbravo.retail.posterminal/js/pointofsale/view/toolbar-left.js Mon Aug 26 09:00:57 2013 +0200
+++ b/web/org.openbravo.retail.posterminal/js/pointofsale/view/toolbar-left.js Mon Aug 26 09:49:32 2013 +0200
@@ -202,7 +202,7 @@
       OB.UTIL.showConfirmation.display(OB.I18N.getLabel('OBPOS_NegativeTotal'), OB.I18N.getLabel('OBPOS_NegativeTotalMessage'));
       return true;
     }
- if ((this.model.get('order').get('isEditable') === false && !this.model.get('order').get('isLayaway')) || this.model.get('order').get('orderType') === 3) {
+ if ((this.model.get('order').get('isEditable') === false && !this.model.get('order').get('isLayaway'))) {
       return true;
     }
     OB.MobileApp.view.scanningFocus(false);

(0076369)
lorenzofidalgo   
2015-04-07 16:23   
I have tested that this issue is still reproducible up to RR15Q1.2 but it is not reproducible in RR15Q2.