Openbravo Issue Tracking System - Retail Modules
View Issue Details
0039488Retail ModulesWeb POSpublic2018-10-19 08:262018-10-30 17:05
ucarrion 
rqueralta 
normalmajoralways
closedfixed 
5
 
RR19Q1 
marvintm
No
0039488: Javascript error is displayed when trying to close pending documents when opening store from a terminal.
Javascript error is displayed when trying to close pending documents when opening store from a terminal.

https://drive.google.com/file/d/1b6i5tuSVzd8_dftrcmz5Cv-JSgkuJeKy/view?usp=sharing [^]
+Login cashier terminal
+Create a layaway and sync it
+Open the layaway again. Once opened, lock screen
+Go to backend, close store (close tills)
+Come back to the terminal. Once in login screen, refresh the browser. You will see that you´re already as screen locked
+Login again, cashup is asked
+In the 1/X step, the pending documents are displayed. Try to close/delete them.
+After loading, Javascript error is displayed
No tags attached.
related to defect 0039872 closed ranjith_qualiantech_com Javascript error is displayed when trying to close pending documents when opening store from a terminal - Cannot read 'models' 
Issue History
2018-10-19 08:26ucarrionNew Issue
2018-10-19 08:26ucarrionAssigned To => Retail
2018-10-19 08:26ucarrionResolution time => 1541113200
2018-10-19 08:26ucarrionTriggers an Emergency Pack => No
2018-10-24 18:04rqueraltaAssigned ToRetail => rqueralta
2018-10-26 14:59hgbotCheckin
2018-10-26 14:59hgbotNote Added: 0107627
2018-10-26 14:59hgbotStatusnew => resolved
2018-10-26 14:59hgbotResolutionopen => fixed
2018-10-26 14:59hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/41cbb6c924185d1de41488a34fe3e3d2f6ca9e93 [^]
2018-10-29 11:31marvintmReview Assigned To => marvintm
2018-10-29 11:31marvintmStatusresolved => closed
2018-10-29 11:31marvintmFixed in Version => RR19Q1
2018-10-30 17:05hgbotCheckin
2018-10-30 17:05hgbotNote Added: 0107661
2019-01-03 12:58gorka_gilRelationship addedrelated to 0039872

Notes
(0107627)
hgbot   
2018-10-26 14:59   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 41cbb6c924185d1de41488a34fe3e3d2f6ca9e93
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Thu Oct 25 18:09:42 2018 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/41cbb6c924185d1de41488a34fe3e3d2f6ca9e93 [^]

Fixed issue 39488: Javascript error is displayed when trying to close pending
documents when opening store from a terminal

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0107661)
hgbot   
2018-10-30 17:05   
Repository: tools/automation/pi-mobile
Changeset: 13a839f397fb886c75fe4f0c3217c8a1a7cc0bbe
Author: Alejandro <alekosmp86 <at> gmail.com>
Date: Mon Oct 29 09:04:18 2018 -0400
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/13a839f397fb886c75fe4f0c3217c8a1a7cc0bbe [^]

Related to issue 39488: added automated test

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/TestIdPack.java
A src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/sessions/openstoretill/I39488_VerifyNoErrorWhenClosingPendingDocs.java
---