Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0008394Openbravo ERPB. User interfacepublic2009-04-01 09:262009-05-11 07:26
areefbasha 
areefbasha 
urgentmajoralways
closedfixed 
20CentOs 5.2
pi 
2.40MP4 
Core
No
0008394: Reports shows data of all organizations
In the following reports, if you don't select any organization, all data are shown, independently of organizations that user conected has access

1) Purchase Invoice Dimensional Report
2) Material Receipts Dimensional Report
3) Purchase Dimensional Report
4) Shipments Dimensional Report
5) Sales Order Returns Dimensional Report
6) Sales Dimensional Report
7) Invoices Tax Report
user1 only has access to org1
user2 only has access to org2

create invoice in org1
access to OpenbravoERP with user2 and execute sales invoice dimensional report with combo "Organization" void.

The problem is that, if filter is left blank, organization 0 (and all its sub-organizations tree) is taken by default and causes this wrong filtering.
The proposed solution is the following: if a user leaves the Organization combo-box blank, the report will be filtered by the organization (and sub-organizations tree) the user is logged with.

For the technical solution see 8343(Fixed in SCM revision).
No tags attached.
related to backport 0008348 closed areefbasha Report dimensional invoice shows invoices of all organizations 
blocks defect 0008372 closed areefbasha Reports shows data of all organizations 
Issue History
2009-04-02 09:35rafarodaTypedefect => backport
2009-04-02 09:35rafarodafix_in_branch => 2.40
2009-04-02 09:36rafarodaRelationship addedrelated to 0008348
2009-04-02 11:36sathiyanAssigned Tosathiyan => areefbasha
2009-04-07 10:55areefbashaDescription Updated
2009-04-07 11:56areefbashaDescription Updated
2009-04-08 06:51areefbashaDescription Updated
2009-04-09 09:37hgbotCheckin
2009-04-09 09:37hgbotNote Added: 0015300
2009-04-09 09:37hgbotStatusscheduled => resolved
2009-04-09 09:37hgbotResolutionopen => fixed
2009-04-09 09:37hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.40/rev/00d53e5698ee3ca224ef88c3c331083ed16fc833 [^]
2009-05-10 19:37psarobeFixed in Version => 2.40MP4
2009-05-11 07:26arunkumarStatusresolved => closed
2009-05-11 07:26arunkumarNote Added: 0016211

Notes
(0015300)
hgbot   
2009-04-09 09:37   
Repository: erp/stable/2.40
Changeset: 00d53e5698ee3ca224ef88c3c331083ed16fc833
Author: Areef Basha <areef.basha <at> openbravo.com>
Date: Thu Apr 09 13:04:53 2009 -0400
URL: http://code.openbravo.com/erp/stable/2.40/rev/00d53e5698ee3ca224ef88c3c331083ed16fc833 [^]

Fixes bug 8394: Reports shows data of all organizations.

Now the report will be filtered by the organization (and sub-organizations tree) the user is logged with.

---
M src/org/openbravo/erpCommon/ad_reports/ReportInvoiceVendorDimensionalAnalysesJR.java
M src/org/openbravo/erpCommon/ad_reports/ReportMaterialDimensionalAnalysesJR.java
M src/org/openbravo/erpCommon/ad_reports/ReportPurchaseDimensionalAnalysesJR.java
M src/org/openbravo/erpCommon/ad_reports/ReportRefundSalesDimensionalAnalyses.java
M src/org/openbravo/erpCommon/ad_reports/ReportRefundSalesDimensionalAnalysesPDF.java
M src/org/openbravo/erpCommon/ad_reports/ReportSalesDimensionalAnalyzeJR.java
M src/org/openbravo/erpCommon/ad_reports/ReportShipmentDimensionalAnalyzeJR.java
M src/org/openbravo/erpCommon/ad_reports/ReportTaxInvoiceJR.java
---
(0016211)
arunkumar   
2009-05-11 07:26   
This issue has been fixed.