Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0040698Openbravo ERP09. Financial managementpublic2019-04-29 12:472019-05-21 15:17
ngarcia 
nonofrancisco 
highminoralways
closedfixed 
5
 
3.0PR19Q3 
Sandrahuguet
Core
No
0040698: Accounting Report field of Balance Sheet and P&L structure is showing definitions made in non-accessible organizations
Accounting Report field of Balance Sheet and P&L structure is showing definitions made in non-accessible organizations
As group admin role:
   Create a new entry in Balance Sheet and P&L structure Setup
      Organization: F&B España, S.A
      General Ledger: F&B International Group US/A/US Dollar

Log in with a role that does not have access to F&B España, S.A. (For instance, F&B US, Inc. - Admin)
   Go to Balance Sheet and P&L structure
   Check you can select previously created accounting report and you should not
   In any case, Organization combo will be empty so the report could not be launched
No tags attached.
causes defect 0043042 closed AtulOpenbravo [Balance Sheet and P&L Structure: User can select General Ledger of organizations for its natural tree but not Accounting Report 
Issue History
2019-04-29 12:47ngarciaNew Issue
2019-04-29 12:47ngarciaAssigned To => Triage Finance
2019-04-29 12:47ngarciaModules => Core
2019-04-29 12:47ngarciaTriggers an Emergency Pack => No
2019-04-29 12:47ngarciaIssue Monitored: networkb
2019-04-29 13:18SandrahuguetAssigned ToTriage Finance => nonofrancisco
2019-05-02 05:27nonofranciscoStatusnew => scheduled
2019-05-02 05:28nonofranciscoNote Added: 0111411
2019-05-08 10:26hgbotCheckin
2019-05-08 10:26hgbotNote Added: 0111558
2019-05-08 10:26hgbotStatusscheduled => resolved
2019-05-08 10:26hgbotResolutionopen => fixed
2019-05-08 10:26hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/3c5c9d991b1e6e6c6aeedad4a6cbf35dbbdcabe1 [^]
2019-05-08 10:29SandrahuguetReview Assigned To => Sandrahuguet
2019-05-08 10:29SandrahuguetNote Added: 0111559
2019-05-08 10:29SandrahuguetStatusresolved => closed
2019-05-08 10:29SandrahuguetFixed in Version => 3.0PR19Q3
2019-05-21 15:17hudsonbotCheckin
2019-05-21 15:17hudsonbotNote Added: 0112017
2020-01-29 09:55ngarciaRelationship addedcauses 0043042

Notes
(0111411)
nonofrancisco   
2019-05-02 05:28   
Test Plan

As group admin role:
   Create a new entry in Balance Sheet and P&L structure Setup
      Name: Report A
      Organization: F&B España, S.A
      General Ledger: F&B International Group US/A/US Dollar
    Create a new entry in Balance Sheet and P&L structure Setup
      Name: Report B
      Organization: F&B US East Coast
      General Ledger: F&B International Group US/A/US Dollar

Log in with role F&B US, Inc. - Finnance
   Go to Balance Sheet and P&L structure
   Verify you can only select the report B
(0111558)
hgbot   
2019-05-08 10:26   
Repository: erp/devel/pi
Changeset: 3c5c9d991b1e6e6c6aeedad4a6cbf35dbbdcabe1
Author: Nono Carballo <nonofce <at> gmail.com>
Date: Tue May 07 13:26:05 2019 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/3c5c9d991b1e6e6c6aeedad4a6cbf35dbbdcabe1 [^]

Fixes issue 40698: Filters accounting reports by organization.

Prior this fix, when selecting accounting reports, organizations the role has
access were not considered.
This fix retrieves accounting reports considering organizations the current
role has access.

---
M src/org/openbravo/erpCommon/ad_reports/GeneralAccountingReports.java
M src/org/openbravo/erpCommon/ad_reports/GeneralAccountingReports_data.xsql
---
(0111559)
Sandrahuguet   
2019-05-08 10:29   
code review + testing OK
(0112017)
hudsonbot   
2019-05-21 15:17   
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/9b8f37d9d85e [^]
Maturity status: Test