Openbravo Issue Tracking System - Retail Modules
View Issue Details
0034652Retail ModulesWeb POSpublic2016-11-28 17:512016-12-12 11:58
Osmany 
mario_castello 
urgentmajoralways
closedfixed 
5
pi 
RR17Q1 
marvintm
No
0034652: [SER-QA 2087] When the process Cancel Layaway takes long time the Web POS not is consistent.
When the process Cancel Layaway takes long time is possible see Done and Open button, also is possible click both button. This it is not consistent.
- Go to the Web POS.
- Create a layaway and pay it partially.
- In the menu, retrieve the layaway just created.
- Execute in console(OB.MobileApp.model.get('permissions').OBPOS_closeDrawerBeforeContinue=true;OB.MobileApp.model.receipt.set('openDrawer', true);)
- Please add breakpoint in this line[1] for can to see the problem.
- In the menu, click on Cancel this layaway.
- Click on Open / Done to finish the operation.

[1] https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/file/919dbb7fc491/web/org.openbravo.retail.posterminal/js/pointofsale/view/payment.js#l1112 [^]
In the attachment. FYI: This proposed solution passed try. IMHO: The proposed solution would disable Done button and not show Open button because is not necessary.
SER-QA
diff issue34652.diff (591) 2016-11-28 18:06
https://issues.openbravo.com/file_download.php?file_id=10129&type=bug
Issue History
2016-11-28 17:51OsmanyNew Issue
2016-11-28 17:51OsmanyAssigned To => Retail
2016-11-28 17:51OsmanyTriggers an Emergency Pack => No
2016-11-28 17:54OsmanyAssigned ToRetail => mario_castello
2016-11-28 18:05OsmanyProposed Solution updated
2016-11-28 18:05OsmanyTag Attached: SER-QA
2016-11-28 18:06OsmanyFile Added: issue34652.diff
2016-11-28 18:07OsmanyProposed Solution updated
2016-11-28 18:25adrianromeroResolution time => 1481497200
2016-11-29 23:24mario_castelloStatusnew => acknowledged
2016-11-29 23:24mario_castelloStatusacknowledged => scheduled
2016-12-02 20:52hgbotCheckin
2016-12-02 20:52hgbotNote Added: 0092055
2016-12-02 20:52hgbotStatusscheduled => resolved
2016-12-02 20:52hgbotResolutionopen => fixed
2016-12-02 20:52hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/7005a7761c1720b5a16c5ab607c765bb95364108 [^]
2016-12-12 11:58marvintmReview Assigned To => marvintm
2016-12-12 11:58marvintmStatusresolved => closed
2016-12-12 11:58marvintmFixed in Version => RR17Q1

Notes
(0092055)
hgbot   
2016-12-02 20:52   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 7005a7761c1720b5a16c5ab607c765bb95364108
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Thu Dec 01 11:27:33 2016 -0600
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/7005a7761c1720b5a16c5ab607c765bb95364108 [^]

Fixed issue 0034652: [SER-QA 2087] When the process Cancel Layaway takes long time the Web POS not is consistent

- Disable the Done button that prevent showing when the process is slow

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/payment.js
---