Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0033844Openbravo ERP04. Warehouse managementpublic2016-04-28 10:042016-09-01 19:03
ngarcia 
markmm82 
immediateminoralways
closedfixed 
5
 
3.0PR16Q3.23.0PR16Q3.2 
aferraz
Core
Production - Confirmed Stable
2015-09-11
3.0PR15Q4
https://code.openbravo.com/erp/devel/pi/rev/17eb51a4c06e [^]
No
0033844: Cannot void a goods receipt if the role does not have access to Client window
Cannot void a goods receipt if the role does not have access to Client window
As group admin role:
   Remove Client window from Role - Window Access tab
   Log out and log in
   Go to Goods Receipt window, try to void a record and check the following error message is shown:
      org.openbravo.base.exception.OBSecurityException: Entity ADClient is not directly readable, only id and identifier properties are readable, property ADClient.clientInformationList is neither of these.
No tags attached.
blocks defect 0032806 closed markmm82 Cannot void a goods receipt if the role does not have access to Client window 
Issue History
2016-08-29 19:35markmm82Typedefect => backport
2016-08-29 19:35markmm82Target Version => 3.0PR16Q3.2
2016-09-01 18:40aferrazRegression introduced in release3.0PR15Q2.5 => 3.0PR15Q4
2016-09-01 18:40aferrazRegression introduced by commithttp://code.openbravo.com/erp/devel/pi/rev/17eb51a4c06e4c52758955c846be5a7b91c4edcb [^] => https://code.openbravo.com/erp/devel/pi/rev/17eb51a4c06e [^]
2016-09-01 19:02hgbotCheckin
2016-09-01 19:02hgbotNote Added: 0089682
2016-09-01 19:02hgbotStatusscheduled => resolved
2016-09-01 19:02hgbotResolutionopen => fixed
2016-09-01 19:02hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR16Q3.2/rev/39f178351aba873455906ffd50a5137efd81aa4d [^]
2016-09-01 19:03aferrazReview Assigned To => aferraz
2016-09-01 19:03aferrazNote Added: 0089684
2016-09-01 19:03aferrazStatusresolved => closed
2016-09-01 19:03aferrazFixed in Version => 3.0PR16Q3.2

Notes
(0089682)
hgbot   
2016-09-01 19:02   
Repository: erp/backports/3.0PR16Q3.2
Changeset: 39f178351aba873455906ffd50a5137efd81aa4d
Author: Mark <markmm82 <at> gmail.com>
Date: Thu Sep 01 18:50:35 2016 +0200
URL: http://code.openbravo.com/erp/backports/3.0PR16Q3.2/rev/39f178351aba873455906ffd50a5137efd81aa4d [^]

Fixes issue 33844: Can void a receipt if role doesn't have Client window access

Allow to void a goods receipt even the role does not have access to Client window. The OB Context is configured as Admin mode to avoid access validations when getClientInformationList() method of ADClient class is invoked.

---
M src/org/openbravo/costing/CostingUtils.java
M src/org/openbravo/erpCommon/ad_actionButton/ProcessGoods.java
M src/org/openbravo/materialmgmt/InventoryCountProcess.java
---
(0089684)
aferraz   
2016-09-01 19:03   
Code review OK