Openbravo Issue Tracking System - Retail Modules
View Issue Details
0036150Retail ModulesWeb POSpublic2017-05-31 13:072017-11-14 14:10
ngarcia 
ranjith_qualiantech_com 
urgentmajoralways
closedfixed 
5
 
RR17Q3 
marvintm
No
0036150: OBUIAPP_ActionNotAllowed when trying to do a cash up from a master terminal without access to POS Terminal window
OBUIAPP_ActionNotAllowed when trying to do a cash up from a master terminal without access to POS Terminal window
In the backend:
   Create a new manual role
   Add Multi Price Store organization in Org Access tab
   Add Web POS in Form Access tab
   Create a user
   Assign the previously created role and define it as default role
   Define other default values
   Go to Preference window and set Web POS window Cash Up preference to Y for the role

   Go to POS Terminal window and activate SVBS1 and SVBS2 that are configured as master and slave
   
In Web POS:
   Log in with the previously created user in SVBS1 terminal
   Create a ticket and pay it
   Try to do the cash up and check the following error is shown
      OBUIAPP_ActionNotAllowed

   The log shows:

ERROR org.openbravo.mobile.core.process.JSONRowConverter - Error in JSON process: Entity OBPOS_App_Cashup is not readable by the user B34EF9DC43F449558D020F5531E9F4D0

In the backend:
   Go to Role Access - Table Access and include the OBPOS_App_Cashup table (Exclude = 'N')

In the Web POS:
   Log out and log in again with the previously created role
   Try to do the cash up and check the following error is shown
      OBUIAPP_ActionNotAllowed

   The log shows:
ERROR org.openbravo.mobile.core.process.JSONRowConverter - Error in JSON process: Entity OBPOS_Applications is not directly readable, only id and identifier properties are readable, property OBPOS_Applications.ismaster is neither of these.

In the backend:
   Go to Role Access - Table Access and include the OBPOS_Applications table (Exclude = 'N')

In the Web POS:
   Log out and log in again with the previously created role
   Check you can do the cash up this time
No tags attached.
diff issue36150_posterminal_16q4.diff (7,351) 2017-11-14 14:10
https://issues.openbravo.com/file_download.php?file_id=11287&type=bug
Issue History
2017-05-31 13:07ngarciaNew Issue
2017-05-31 13:07ngarciaAssigned To => Retail
2017-05-31 13:07ngarciaResolution time => 1497996000
2017-05-31 13:07ngarciaTriggers an Emergency Pack => No
2017-05-31 13:07ngarciaIssue Monitored: networkb
2017-05-31 13:08ngarciaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=15250#r15250
2017-06-08 14:26ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2017-06-08 14:26ranjith_qualiantech_comStatusnew => scheduled
2017-06-12 08:08hgbotCheckin
2017-06-12 08:08hgbotNote Added: 0097301
2017-06-12 08:08hgbotStatusscheduled => resolved
2017-06-12 08:08hgbotResolutionopen => fixed
2017-06-12 08:08hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/148d183c9caf3e2dc1695e92152cb0b93ffcbfb2 [^]
2017-06-21 19:26marvintmReview Assigned To => marvintm
2017-06-21 19:26marvintmStatusresolved => closed
2017-06-21 19:26marvintmFixed in Version => RR17Q3
2017-11-14 14:10malsasuaFile Added: issue36150_posterminal_16q4.diff

Notes
(0097301)
hgbot   
2017-06-12 08:08   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 148d183c9caf3e2dc1695e92152cb0b93ffcbfb2
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon Jun 12 11:37:34 2017 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/148d183c9caf3e2dc1695e92152cb0b93ffcbfb2 [^]

Fixed issue 36150 : Added AdminMode to Master Slave Cashup to avoid Entity Access error

---
M src/org/openbravo/retail/posterminal/ProcessCashCloseMaster.java
M src/org/openbravo/retail/posterminal/ProcessCashCloseSlave.java
---