Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0029159 | Retail Modules | Web POS | public | 2015-03-06 09:10 | 2015-03-13 12:24 |
Reporter | aaroncalero | ||||
Assigned To | aaroncalero | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | RR15Q2 | Fixed in Version | RR15Q2 | ||
Merge Request Status | |||||
Review Assigned To | Orekaria | ||||
OBNetwork customer | No | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0029159: When the scan event is fired on the receipt, the POS changes to the scan tab even if it's already open | ||||
Description | When the scan event is triggered on the receipt (receipt.trigger('scan')), the following code is being executed: this.receipt.on('scan', function (params) { this.manualTap('scan', params); }, this); This forces the POS window to change to the scan tab (redrawing all the components on that tab) even if the scan tab is already being shown. In slow machines, this can cause performance issues. | ||||
Steps To Reproduce | Check the file web/org.openbravo.retail.posterminal/js/pointofsale/view/toolbar-right.js on the org.openbravo.retail.posterminal module and verify the following code is there: this.receipt.on('scan', function (params) { this.manualTap('scan', params); }, this); | ||||
Proposed Solution | We should change to the scan tab only if the current tab is different from the scan tab. We can do that checking the OB.MobileApp.model.get('lastPaneShown') parameter. | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2015-03-06 09:10 | aaroncalero | New Issue | |||
2015-03-06 09:10 | aaroncalero | Assigned To | => aaroncalero | ||
2015-03-06 09:10 | aaroncalero | OBNetwork customer | => No | ||
2015-03-06 09:10 | aaroncalero | Triggers an Emergency Pack | => No | ||
2015-03-06 09:17 | hgbot | Checkin | |||
2015-03-06 09:17 | hgbot | Note Added: 0075227 | |||
2015-03-06 09:17 | hgbot | Status | new => resolved | ||
2015-03-06 09:17 | hgbot | Resolution | open => fixed | ||
2015-03-06 09:17 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/eb884fa2d7638b96cabdad303512695bebc4fc47 [^] | ||
2015-03-13 12:24 | Orekaria | Review Assigned To | => Orekaria | ||
2015-03-13 12:24 | Orekaria | Status | resolved => closed | ||
2015-03-13 12:24 | Orekaria | Fixed in Version | => RR15Q2 |
Notes | |||||
|
|||||
|
|