Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0011475Openbravo ERP08. Project and service managementpublic2009-11-24 13:282024-03-01 10:32
gorkaion 
gorkaion 
immediatemajoralways
closedfixed 
20
2.50MP8 
2.50MP102.50MP10 
Core
No
0011475: Report project profitability report doesn't filter correctly by organization
In 'Project & Service Management || Analysis Tools || Project Profitability || Project Profitability'

The filter by organization is not working properly. When the flag include suborganizations is checked it is not considering all of them.
With smallBazaar data
Go to 'Project & Service Management || Transactions || Service Project || Service Project'
Change the organization of 'Proyecto Roma' to 'B11'

Go to 'Project & Service Management || Analysis Tools || Project Profitability || Project Profitability'
Filter by:
-project: '10000000 - Proyecto Roma'
-include suborganizations flag: checked
-organization: 'main'

Search: null results

However if you filter by 'B1' or 'B11' that are childs of main. It shows results.
The treeOrg variable is wrongly calculated and only saves 1 level of hierarchy.
No tags attached.
Issue History
2009-11-24 13:28gorkaionNew Issue
2009-11-24 13:28gorkaionAssigned To => rafaroda
2009-11-24 13:30gorkaionStatusnew => scheduled
2009-11-24 13:30gorkaionAssigned Torafaroda => gorkaion
2009-11-24 13:30gorkaionfix_in_branch => pi
2009-11-24 13:31hgbotCheckin
2009-11-24 13:31hgbotNote Added: 0022139
2009-11-24 13:31hgbotStatusscheduled => resolved
2009-11-24 13:31hgbotResolutionopen => fixed
2009-11-24 13:31hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/166003d4bd89b4ff481107a2bcd249b0a7dd9927 [^]
2009-12-01 08:57sureshbabuNote Added: 0022276
2009-12-01 08:57sureshbabuStatusresolved => closed
2009-12-01 08:57sureshbabuFixed in Version => 2.50MP10
2009-12-02 00:00anonymoussf_bug_id0 => 2907166
2009-12-04 09:14hudsonbotCheckin
2009-12-04 09:14hudsonbotNote Added: 0022414
2024-03-01 10:15hgbotNote Added: 0161475
2024-03-01 10:32hgbotNote Added: 0161481

Notes
(0022139)
hgbot   
2009-11-24 13:31   
Repository: erp/devel/pi
Changeset: 166003d4bd89b4ff481107a2bcd249b0a7dd9927
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Tue Nov 24 13:30:54 2009 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/166003d4bd89b4ff481107a2bcd249b0a7dd9927 [^]

Fixed issue 11475. Fixed the method to calculate the treeOrg variable.

---
M src/org/openbravo/erpCommon/ad_reports/ReportProjectProfitabilityJR.java
---
(0022276)
sureshbabu   
2009-12-01 08:57   
Tested working fine..Project Profitability report filters base on Organization.
(0022414)
hudsonbot   
2009-12-04 09:14   
---
A changeset related to this issue has passed a series of tests and has been promoted to main:

Changeset: http://code.openbravo.com/erp/devel/main/rev/f6bc559b1872 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
---
(0161475)
hgbot   
2024-03-01 10:15   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.portugal.fiscalization/-/merge_requests/51 [^]
(0161481)
hgbot   
2024-03-01 10:32   
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.portugal.fiscalization/-/merge_requests/51 [^]