Openbravo Issue Tracking System - Retail Modules
View Issue Details
0028757Retail ModulesWeb POSpublic2015-01-23 14:502015-01-29 13:54
jecharri 
Orekaria 
immediatemajoralways
closedfixed 
5
 
 
migueldejuana
Production - Confirmed Stable
RR14Q2.3
https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/9dddf6499afd [^]
No
0028757: Not possible to synchronize cash ups with really simple Role
Not possible to synchronize cash ups with really simple Role
-Create a financial account in a father organization of terminal organization
-Assign that financial account to cash close event in organization window
-Create a role with permission to login to Web POS and permissions to terminal organization
-Go to Web POS
-Do a sale and cashup

You will receive error
org.openbravo.base.exception.OBSecurityException: Organization BF129721D9FB4EB0819509934153E972 of object (FIN_Financial_Account(5185A685D6564FE09B35FBC3187AD901) (name: cash up, currency: 102)) is not present in OrganizationList [D270A5AC50874F8BA67A88EE977F8E3B, 0]
    at org.openbravo.dal.security.SecurityChecker.checkWriteAccess(SecurityChecker.java:196)
    at org.openbravo.dal.core.OBInterceptor.doEvent(OBInterceptor.java:339)
    at org.openbravo.dal.core.OBInterceptor.onFlushDirty(OBInterceptor.java:180)
    at org.hibernate.event.def.DefaultFlushEntityEventListener.invokeInterceptor(DefaultFlushEntityEventListener.java:372)
    at org.hibernate.event.def.DefaultFlushEntityEventListener.handleInterception(DefaultFlushEntityEventListener.java:349)
    at org.hibernate.event.def.DefaultFlushEntityEventListener.scheduleUpdate(DefaultFlushEntityEventListener.java:287)
    at org.hibernate.event.def.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:155)
    at org.hibernate.event.def.AbstractFlushingEventListener.flushEntities(AbstractFlushingEventListener.java:219)
    at org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:99)
    at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:50)
    at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1216)
    at org.openbravo.dal.service.OBDal.flush(OBDal.java:205)
    at org.openbravo.retail.posterminal.ProcessCashClose.saveRecordCashUp(ProcessCashClose.java:139)
No tags attached.
Issue History
2015-01-23 14:50jecharriNew Issue
2015-01-23 14:50jecharriAssigned To => marvintm
2015-01-23 14:50jecharriResolution time => 1422140400
2015-01-23 14:50jecharriRegression level => Production - Confirmed Stable
2015-01-23 14:50jecharriTriggers an Emergency Pack => No
2015-01-26 18:28hgbotCheckin
2015-01-26 18:28hgbotNote Added: 0073792
2015-01-26 18:28hgbotStatusnew => resolved
2015-01-26 18:28hgbotResolutionopen => fixed
2015-01-26 18:28hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/1157beed410f3a9da4f696d945147c8a22d730db [^]
2015-01-26 18:28hgbotCheckin
2015-01-26 18:28hgbotNote Added: 0073793
2015-01-26 18:28hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/1157beed410f3a9da4f696d945147c8a22d730db [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/81c9e43d531eaee9c0f1c7e790c1147bb6cbb232 [^]
2015-01-27 09:25OrekariaAssigned Tomarvintm => Orekaria
2015-01-27 09:35OrekariaRegression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/9dddf6499afd [^]
2015-01-27 09:36OrekariaRegression introduced in release => RR14Q2.3
2015-01-29 13:54migueldejuanaReview Assigned To => migueldejuana
2015-01-29 13:54migueldejuanaNote Added: 0073901
2015-01-29 13:54migueldejuanaStatusresolved => closed

Notes
(0073792)
hgbot   
2015-01-26 18:28   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 1157beed410f3a9da4f696d945147c8a22d730db
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Mon Jan 26 18:24:27 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/1157beed410f3a9da4f696d945147c8a22d730db [^]

Fixes issue 28757: The admin mode is set to false in the 'saveRecord' method

---
M src/org/openbravo/mobile/core/process/DataSynchronizationProcess.java
---
(0073793)
hgbot   
2015-01-26 18:28   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 81c9e43d531eaee9c0f1c7e790c1147bb6cbb232
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Mon Jan 26 18:27:21 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/81c9e43d531eaee9c0f1c7e790c1147bb6cbb232 [^]

Fixes issue 28757: 'SetAdminMode' is required in the 'SaveDataActionHandler' class

---
M src/org/openbravo/retail/posterminal/SaveDataActionHandler.java
---
(0073901)
migueldejuana   
2015-01-29 13:54   
Tested and reviewed in d01540894fad