Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0032542Openbravo ERPA. Platformpublic2016-03-23 15:392016-03-23 16:29
malsasua 
caristu 
immediatemajoralways
closedfixed 
20Community Appliance
 
3.0PR16Q1.13.0PR16Q1.1 
alostale
Core
Production - QA Approved
No
0032542: invoice report can not be printed by manual roles
it is not possible to print a invoice with a manual role.

Error is returned:
org.openbravo.base.exception.OBSecurityException: Entity ADWindow is not readable by the user 100
in F&B, use role "Finance"
. go to sales invoice window
. print one record
No tags attached.
blocks defect 0032541 closed caristu invoice report can not be printed by manual roles 
Issue History
2016-03-23 15:49caristuTypedefect => backport
2016-03-23 15:49caristuTarget Version => 3.0PR16Q1.1
2016-03-23 16:13hgbotCheckin
2016-03-23 16:13hgbotNote Added: 0085295
2016-03-23 16:13hgbotStatusscheduled => resolved
2016-03-23 16:13hgbotResolutionopen => fixed
2016-03-23 16:13hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR16Q1.1/rev/7719eed87b31476cf5cff3f9beb07bf992f3bcae [^]
2016-03-23 16:14caristuReview Assigned To => alostale
2016-03-23 16:29alostaleNote Added: 0085297
2016-03-23 16:29alostaleStatusresolved => closed
2016-03-23 16:29alostaleFixed in Version => 3.0PR16Q1.1

Notes
(0085295)
hgbot   
2016-03-23 16:13   
Repository: erp/backports/3.0PR16Q1.1
Changeset: 7719eed87b31476cf5cff3f9beb07bf992f3bcae
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Wed Mar 23 16:13:03 2016 +0100
URL: http://code.openbravo.com/erp/backports/3.0PR16Q1.1/rev/7719eed87b31476cf5cff3f9beb07bf992f3bcae [^]

fixes issue 32542: invoice report can not be printed by manual roles

Now the Window object is retrieved using admin mode.

---
M src/org/openbravo/erpCommon/businessUtility/PrinterReports.java
---
(0085297)
alostale   
2016-03-23 16:29   
Code reviewed + verified