Openbravo Issue Tracking System - Retail Modules
View Issue Details
0030551Retail ModulesWeb POSpublic2015-08-11 13:462016-06-02 12:50
aaroncalero 
jorge-garcia 
normalminoralways
closedfixed 
5
 
RR16Q3 
jorge-garcia
No
0030551: It is not possible to login in a terminal without payment methods defined
If a terminal is configured without payment methods (e.g. because it is a layaways terminal) a javascript error occurs when the POS is loading, and the POS window is never shown.
Go to the backend and create a Demo POS terminal.
Assign VBS POS Terminal Type as terminal type; Sk, name and DocNo prefix as desired.
Save the record. Do not add payment types to this terminal.
Login in the POS in the newly created terminal.
Verify that several javascript errors are shown at the end of the login process (see attached screenshot).
No tags attached.
related to defect 0032563 closed ranjith_qualiantech_com [SERQA 861] JS Error when you do an initial count without Cash payment method 
png no-payment-error.png (299,087) 2015-08-11 13:46
https://issues.openbravo.com/file_download.php?file_id=8357&type=bug
Issue History
2015-08-11 13:46aaroncaleroNew Issue
2015-08-11 13:46aaroncaleroAssigned To => Retail
2015-08-11 13:46aaroncaleroFile Added: no-payment-error.png
2015-08-11 13:46aaroncaleroTriggers an Emergency Pack => No
2015-08-15 04:19OsmanyAssigned ToRetail => Osmany
2015-09-11 16:23hgbotCheckin
2015-09-11 16:23hgbotNote Added: 0080346
2015-09-11 16:23hgbotStatusnew => resolved
2015-09-11 16:23hgbotResolutionopen => fixed
2015-09-11 16:23hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/92411485f3aea365d8f07b0b6e4d242492ae0131 [^]
2015-09-15 05:36hgbotCheckin
2015-09-15 05:36hgbotNote Added: 0080393
2015-09-15 05:37OsmanyAssigned ToOsmany => Retail
2015-09-15 05:37OsmanyStatusresolved => new
2015-09-15 05:37OsmanyResolutionfixed => open
2015-10-05 12:46OrekariaTypedefect => design defect
2015-10-05 12:47OrekariaStatusnew => acknowledged
2015-10-07 11:02avicenteIssue Monitored: avicente
2015-10-07 12:13ageteIssue Monitored: agete
2015-10-07 13:38OrekariaStatusacknowledged => scheduled
2015-10-07 13:39OrekariaNote Added: 0080856
2015-10-07 13:39OrekariaStatusscheduled => feedback
2015-10-07 16:01networkbResolution time => 1440453600
2015-10-07 16:02networkbStatusfeedback => new
2015-10-20 14:27OrekariaSeveritymajor => minor
2016-06-02 10:00guillermogilRelationship addedrelated to 0032563
2016-06-02 12:48jorge-garciaStatusnew => scheduled
2016-06-02 12:48jorge-garciaAssigned ToRetail => jorge-garcia
2016-06-02 12:50jorge-garciaNote Added: 0086914
2016-06-02 12:50jorge-garciaStatusscheduled => resolved
2016-06-02 12:50jorge-garciaFixed in Version => RR16Q3
2016-06-02 12:50jorge-garciaResolutionopen => fixed
2016-06-02 12:50jorge-garciaReview Assigned To => jorge-garcia
2016-06-02 12:50jorge-garciaNote Added: 0086915
2016-06-02 12:50jorge-garciaStatusresolved => closed
2016-06-02 12:51jorge-garciaNote Edited: 0086914bug_revision_view_page.php?bugnote_id=0086914#r12287

Notes
(0080346)
hgbot   
2015-09-11 16:23   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 92411485f3aea365d8f07b0b6e4d242492ae0131
Author: Osmany Garcia Machado <osmany.machado <at> peoplewalking.com>
Date: Fri Sep 11 08:19:17 2015 -0600
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/92411485f3aea365d8f07b0b6e4d242492ae0131 [^]

Fixes issue 30551: Make sure. At least one payment method defined in the terminal. Else message when to try login.

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/retail/posterminal/InitialValidations.java
M src/org/openbravo/retail/posterminal/POSUtils.java
---
(0080393)
hgbot   
2015-09-15 05:36   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: e63b93ac14c8a7ff47c4a4f0c76277e4bace37fe
Author: Osmany Garcia Machado <osmany.machado <at> peoplewalking.com>
Date: Mon Sep 14 21:35:59 2015 -0600
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e63b93ac14c8a7ff47c4a4f0c76277e4bace37fe [^]

Backout issue 30551

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/retail/posterminal/InitialValidations.java
M src/org/openbravo/retail/posterminal/POSUtils.java
---
(0080856)
Orekaria   
2015-10-07 13:39   
missing resolution time
(0086914)
jorge-garcia   
2016-06-02 12:50   
(edited on: 2016-06-02 12:51)
This finally is a regression from 3.0RR15Q4.

This issue is fixed by this commit[1] and this issue will be closed to avoid duplicated issues.

Backports created for the related issue 32563.

[1] https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/24f900d3a01c8e8c0a790cff7ce1af6d2048e078 [^]

(0086915)
jorge-garcia   
2016-06-02 12:50   
Issue closed.