Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0029159 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | minor | have not tried | 2015-03-06 09:10 | 2015-03-13 12:24 | |||
Reporter | aaroncalero | View Status | public | |||||
Assigned To | aaroncalero | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR15Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | eb884fa2d763 | ||||
Projection | none | ETA | none | Target Version | RR15Q2 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
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. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0075227) hgbot (developer) 2015-03-06 09:17 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: eb884fa2d7638b96cabdad303512695bebc4fc47 Author: Aaron Calero <aaron.calero <at> openbravo.com> Date: Fri Mar 06 09:13:38 2015 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/eb884fa2d7638b96cabdad303512695bebc4fc47 [^] Fixed issue 29159: When the scan event is fired on the receipt, the POS changes to the scan tab even if it's already open Added the check of the current tab to switch to the scan tab only when the POS is on a different tab --- M web/org.openbravo.retail.posterminal/js/pointofsale/view/toolbar-right.js --- |
![]() |
|||
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 |
Copyright © 2000 - 2009 MantisBT Group |