Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0008394
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] B. User interfacemajoralways2009-04-01 09:262009-05-11 07:26
ReporterareefbashaView Statuspublic 
Assigned Toareefbasha 
PriorityurgentResolutionfixedFixed in Version2.40MP4
StatusclosedFix in branch2.40Fixed in SCM revision00d53e5698ee
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.6
OS VersionCentOs 5.2Database version8.3.5Ant version1.7
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0008394: Reports shows data of all organizations

DescriptionIn 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
Steps To Reproduceuser1 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.
Proposed SolutionThe 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).
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to backport 0008348 closedareefbasha Report dimensional invoice shows invoices of all organizations 
blocks defect 0008372 closedareefbasha Reports shows data of all organizations 

-  Notes
(0015300)
hgbot (developer)
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 (reporter)
2009-05-11 07:26

This issue has been fixed.

- Issue History
Date Modified Username Field Change
2009-04-02 09:35 rafaroda Type defect => backport
2009-04-02 09:35 rafaroda fix_in_branch => 2.40
2009-04-02 09:36 rafaroda Relationship added related to 0008348
2009-04-02 11:36 sathiyan Assigned To sathiyan => areefbasha
2009-04-07 10:55 areefbasha Description Updated
2009-04-07 11:56 areefbasha Description Updated
2009-04-08 06:51 areefbasha Description Updated
2009-04-09 09:37 hgbot Checkin
2009-04-09 09:37 hgbot Note Added: 0015300
2009-04-09 09:37 hgbot Status scheduled => resolved
2009-04-09 09:37 hgbot Resolution open => fixed
2009-04-09 09:37 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/stable/2.40/rev/00d53e5698ee3ca224ef88c3c331083ed16fc833 [^]
2009-05-10 19:37 psarobe Fixed in Version => 2.40MP4
2009-05-11 07:26 arunkumar Status resolved => closed
2009-05-11 07:26 arunkumar Note Added: 0016211


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker