Openbravo Issue Tracking System - Retail Modules
View Issue Details
0034196Retail ModulesWeb POSpublic2016-10-13 11:112016-12-05 09:07
malsasua 
migueldejuana 
normalminoralways
closedfixed 
20Community Appliance
 
RR17Q1 
marvintm
No
0034196: when there is not active any pricelist version to the terminal, general error is returned
if there is not any active pricelist to one terminal, when login is done in terminal, general error is returned, but one concrete message should be displayed, for example:
Pricelist not found
in backend, deactivate the pricelist versions of pricelist "The White Valley Group Sale Price List"

go to backend, to VBS-1 terminal:

Error
There was an error loading the POS Terminal. Please check you internet connection and click reload to refresh the page. If the problem persists please contact your System Administrator.
No tags attached.
Issue History
2016-10-13 11:11malsasuaNew Issue
2016-10-13 11:11malsasuaAssigned To => Retail
2016-10-13 11:11malsasuaResolution time => 1480287600
2016-10-13 11:11malsasuaTriggers an Emergency Pack => No
2016-10-13 11:17heccamIssue Monitored: heccam
2016-11-29 09:28migueldejuanaAssigned ToRetail => migueldejuana
2016-11-30 08:47hgbotCheckin
2016-11-30 08:47hgbotNote Added: 0091913
2016-11-30 08:47hgbotStatusnew => resolved
2016-11-30 08:47hgbotResolutionopen => fixed
2016-11-30 08:47hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/7a9ba2560f549b459fdc0d9ca347f3c321bd2faf [^]
2016-12-05 09:07marvintmReview Assigned To => marvintm
2016-12-05 09:07marvintmStatusresolved => closed
2016-12-05 09:07marvintmFixed in Version => RR17Q1

Notes
(0091913)
hgbot   
2016-11-30 08:47   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 7a9ba2560f549b459fdc0d9ca347f3c321bd2faf
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Tue Nov 29 12:16:44 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/7a9ba2560f549b459fdc0d9ca347f3c321bd2faf [^]

Fixed issue 0034196: when there is not active any pricelist version to the terminal, general error is returned

- Show a message if Price List or Price List Version doesn't exists or is not active.
- For terminal errors, if the error has a message, send that message (message search key) to client side to be used to show in error modal
- Keep showing Error Modal out of the for loop

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/retail/posterminal/term/PriceListVersion.java
M src/org/openbravo/retail/posterminal/term/Terminal.java
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
---