Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0021864 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 07. Sales management | major | always | 2012-10-04 18:54 | 2012-10-24 17:55 | |||
Reporter | caristu | View Status | public | |||||
Assigned To | caristu | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | 3.0MP17 | |||
Status | closed | Fix in branch | Fixed in SCM revision | d77c65f59275 | ||||
Projection | none | ETA | none | Target Version | 3.0MP17 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | ngarcia | |||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | 17148 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0021864: Discount Invoice Report is not filtering properly | |||||||
Description | Discount Invoice Report is not filtering properly. We have two clients A, B and a user with roleA that only have access to client A. Also we have a sales invoice with a discount line for an organization in client B. And finally we don't have a currency conversion established for that invoice currency. With the previous requirements, if we execute the Discount Invoice Report with roleA, we will obtain the following error message: "There is no conversion rate defined from (from_currency) to (dest_currency) for date 'salesinvoice_date', Client 'salesinvoice_client' and Organization 'salesinvoice_group'." This error should not appear because the sales invoice is defined for other client that roleA can't access. The query that generates the report is not filtering properly | |||||||
Steps To Reproduce | a) Create two different clients: A,B b) Create a user with a role (roleA) that only can access to A c) Create a sales invoice with a discount line for an organization that belongs to B d) Execute the Report with the appropiate currencies with roleA. You will get an error regarding to the sales invoice that belongs to another client. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0053368) hgbot (developer) 2012-10-16 10:16 |
Repository: erp/devel/pi Changeset: d77c65f5927582fc50cfa8ee1cd006bf3a74a407 Author: Carlos Aristu <carlos.aristu <at> openbravo.com> Date: Mon Oct 15 13:07:17 2012 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/d77c65f5927582fc50cfa8ee1cd006bf3a74a407 [^] fixes issue 21864: Discount Invoice Report is not filtering properly --- M src/org/openbravo/erpCommon/ad_reports/ReportInvoiceDiscount_data.xsql --- |
(0053369) caristu (viewer) 2012-10-16 10:19 |
Test Plan: Follow the steps to reproduce |
(0053470) hudsonbot (viewer) 2012-10-18 17:46 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/81ae03c9fdbb [^] Maturity status: Test |
(0053663) ngarcia (viewer) 2012-10-24 17:55 |
verified |
![]() |
|||
Date Modified | Username | Field | Change |
2012-10-04 18:54 | caristu | New Issue | |
2012-10-04 18:54 | caristu | Assigned To | => caristu |
2012-10-04 18:54 | caristu | Modules | => Core |
2012-10-04 18:54 | caristu | OBNetwork customer | => No |
2012-10-04 18:54 | caristu | Support ticket | => 17148 |
2012-10-04 18:54 | caristu | Resolution time | => 1352242800 |
2012-10-04 18:55 | caristu | Issue Monitored: networkb | |
2012-10-16 10:16 | hgbot | Checkin | |
2012-10-16 10:16 | hgbot | Note Added: 0053368 | |
2012-10-16 10:16 | hgbot | Status | new => resolved |
2012-10-16 10:16 | hgbot | Resolution | open => fixed |
2012-10-16 10:16 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/d77c65f5927582fc50cfa8ee1cd006bf3a74a407 [^] |
2012-10-16 10:19 | caristu | Note Added: 0053369 | |
2012-10-18 17:46 | hudsonbot | Checkin | |
2012-10-18 17:46 | hudsonbot | Note Added: 0053470 | |
2012-10-24 17:55 | ngarcia | Review Assigned To | => ngarcia |
2012-10-24 17:55 | ngarcia | Note Added: 0053663 | |
2012-10-24 17:55 | ngarcia | Status | resolved => closed |
2012-10-24 17:55 | ngarcia | Fixed in Version | => 3.0MP17 |
Copyright © 2000 - 2009 MantisBT Group |