Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031765Retail ModulesWeb POSpublic2015-12-22 18:242016-01-26 18:30
amayavicente 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
 
RR16Q2 
marvintm
No
0031765: [SERQA 498] Error creating a new ticket while 'Pay Open Tickets'
Error java script creating a new ticket while 'Pay Open Tickets'.
1. In the webPOS, open the menu option 'Pay Open Tickets'
2. Select some tickets and click 'Done'.
3. Click the '*' button
ERROR: a java script error is raised

TypeError: Cannot read property 'get' of undefined
    at b257be1f304a7a2135a0cfd4d5a547c4_WebPOS.js:38817
    at OB.UTIL.HookManager.Backbone.Model.extend.callbackExecutor (b257be1f304a7a2135a0cfd4d5a547c4_WebPOS.js:10419)
    at OB.UTIL.HookManager.Backbone.Model.extend.executeHooks (b257be1f304a7a2135a0cfd4d5a547c4_WebPOS.js:10408)
    at Object.enyo.kind.tap (b257be1f304a7a2135a0cfd4d5a547c4_WebPOS.js:38802)
    at Object.enyo.kind.dispatch (enyo.js:628)
    at Object.enyo.kind.dispatchEvent (enyo.js:612)
    at Object.enyo.kind.inherited (enyo.js:410)
    at Object.enyo.kind.dispatchEvent (enyo.js:1338)
    at Object.enyo.kind.dispatchBubble (enyo.js:616)
    at Object.enyo.kind.bubble (enyo.js:604); line: Object.OB.UTIL.showError (https://livebuilds.openbravo.com/retail_stable_oracle_pi/web/js/gen/b257be1f304a7a2135a0cfd4d5a547c4_WebPOS.js:10150:6 [^]) (*,+)processConsoleLevel @ b257be1f304a7a2135a0cfd4d5a547c4_WebPOS.js:2522
b257be1f304a7a2135a0cfd4d5a547c4_WebPOS.js:38817 Uncaught TypeError: Cannot read property 'get' of undefined
Disable the new button new when the window to pay open tickets is open.
SER-QA
jpg 498.JPG (223,850) 2015-12-22 18:25
https://issues.openbravo.com/file_download.php?file_id=8845&type=bug
jpg

patch Issue #31765 Source 5547.patch (5,109) 2015-12-24 13:41
https://issues.openbravo.com/file_download.php?file_id=8855&type=bug
patch issue #31765 Test 4862.patch (6,561) 2016-01-04 11:30
https://issues.openbravo.com/file_download.php?file_id=8889&type=bug
Issue History
2015-12-22 18:24amayavicenteNew Issue
2015-12-22 18:24amayavicenteAssigned To => Retail
2015-12-22 18:24amayavicenteResolution time => 1451948400
2015-12-22 18:24amayavicenteTriggers an Emergency Pack => No
2015-12-22 18:24amayavicenteSummary[SERQA 455] Error creating a new ticket while 'Pay Open Tickets' => [SERQA 498] Error creating a new ticket while 'Pay Open Tickets'
2015-12-22 18:25amayavicenteTag Attached: SER-QA
2015-12-22 18:25amayavicenteFile Added: 498.JPG
2015-12-23 11:00ageteProposed Solution updated
2015-12-24 00:24OrekariaStatusnew => acknowledged
2015-12-24 07:28ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2015-12-24 07:28ranjith_qualiantech_comStatusacknowledged => scheduled
2015-12-24 13:41ranjith_qualiantech_comFile Added: Issue #31765 Source 5547.patch
2016-01-04 11:30ranjith_qualiantech_comFile Added: issue #31765 Test 4862.patch
2016-01-05 07:15hgbotCheckin
2016-01-05 07:15hgbotNote Added: 0083128
2016-01-05 07:15hgbotStatusscheduled => resolved
2016-01-05 07:15hgbotResolutionopen => fixed
2016-01-05 07:15hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/fa396d91120ced828d1878fc9663582c09b62f06 [^]
2016-01-05 07:16hgbotCheckin
2016-01-05 07:16hgbotNote Added: 0083130
2016-01-05 17:27OrekariaNote Added: 0083141
2016-01-05 17:27OrekariaStatusresolved => new
2016-01-05 17:27OrekariaResolutionfixed => open
2016-01-05 17:27OrekariaStatusnew => scheduled
2016-01-07 16:47hgbotCheckin
2016-01-07 16:47hgbotNote Added: 0083161
2016-01-07 16:47hgbotStatusscheduled => resolved
2016-01-07 16:47hgbotResolutionopen => fixed
2016-01-07 16:47hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/fa396d91120ced828d1878fc9663582c09b62f06 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/15f8524dfd1b3a8165e6c26ff493beb45f0cf0d3 [^]
2016-01-07 16:47hgbotCheckin
2016-01-07 16:47hgbotNote Added: 0083162
2016-01-26 18:30marvintmReview Assigned To => marvintm
2016-01-26 18:30marvintmStatusresolved => closed
2016-01-26 18:30marvintmFixed in Version => RR16Q2

Notes
(0083128)
hgbot   
2016-01-05 07:15   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: fa396d91120ced828d1878fc9663582c09b62f06
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Jan 05 11:44:40 2016 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/fa396d91120ced828d1878fc9663582c09b62f06 [^]

Fixes issue 31765 : Open new ticket when Pay Ticket is opened

** Adding new method deleteMultiOrderList() under pointofsale-model.js
** Removing duplicate code for deleting multiOrder

---
M web/org.openbravo.retail.posterminal/js/components/modalmultiorders.js
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/toolbar-left.js
---
(0083130)
hgbot   
2016-01-05 07:16   
Repository: tools/automation/pi-mobile
Changeset: 0df4247a1084dda7c9ef0643febfe74160464231
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Jan 05 11:43:39 2016 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/0df4247a1084dda7c9ef0643febfe74160464231 [^]

Verifies issue 31765: Added automated test 'I31765_CreateTicketInPayOpenTicket'

---
M src-test/org/openbravo/test/mobile/common/selenium/javascript/TestId.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I31765_CreateTicketInPayOpenTicket.java
---
(0083141)
Orekaria   
2016-01-05 17:27   
The '*' button should be disabled
(0083161)
hgbot   
2016-01-07 16:47   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 15f8524dfd1b3a8165e6c26ff493beb45f0cf0d3
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Jan 07 21:16:20 2016 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/15f8524dfd1b3a8165e6c26ff493beb45f0cf0d3 [^]

Fixes issue 31765 : Disable new ticket when Pay Ticket is opened

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/pointofsale.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/toolbar-left.js
---
(0083162)
hgbot   
2016-01-07 16:47   
Repository: tools/automation/pi-mobile
Changeset: b3656bf16dcb0b8a3ae3dc1c3002c09891b222a7
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Jan 07 20:09:22 2016 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/b3656bf16dcb0b8a3ae3dc1c3002c09891b222a7 [^]

Verifies issue 31765: Added automated test 'I31765_DisableNewTicketInPayOpen'

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I31765_DisableNewTicketInPayOpen.java
R src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I31765_CreateTicketInPayOpenTicket.java
---