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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0015630
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 08. Project and service managementmajoralways2011-01-12 12:362011-03-24 00:00
ReporterpsarobeView Statuspublic 
Assigned Toadrianromero 
PriorityimmediateResolutionfixedFixed in Version3.0RC4
StatusclosedFix in branchFixed in SCM revision91b91cf99318
ProjectionnoneETAnoneTarget Version2.50MP26
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version3.0RC2SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0015630: Project profitability report is not working under some circumstances

DescriptionProject profitability report is not working under some circumstances

Steps To ReproduceSteps to reproduce further error on this issue:

Create a new Project (either Service or Multiphase)

Set values for:

o Value, Name

o Bus. Partner

o Sales Represetative

o Planned Service Revenue

o Planned Expenses

o Services Provided Cost

o Outsourced Cost

o Planned Reinvoiced Expenses
xecute Project Profitability Report -> Fails: Error: There is no Conversion Rate defined for Day to Hour.

If you enter a Time Sheet for this project, then the report will work.
TagsRegression
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0010690 closedadrianromero Expense Report and Project Profitability Reports display hours even if time sheet lines are in days 
depends on backport 00156312.50MP26 closedadrianromero Project profitability report is not working under some circumstances 
related to defect 0015808 closeddmiguelez Project profitability report does not detect whether there are conversion to hours or not 

-  Notes
(0033597)
psarobe (manager)
2011-01-12 12:38

Regression introduces by https://issues.openbravo.com/view.php?id=10690 [^]
(0033630)
hgbot (developer)
2011-01-13 18:27

Repository: erp/devel/pi
Changeset: 8b633bd01c5e07ebdb2ef5f28a79f2b721202130
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Thu Jan 13 18:26:53 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/8b633bd01c5e07ebdb2ef5f28a79f2b721202130 [^]

Fixes issue 0015630: Project profitability report is not working under some circumstances
It has been modified the Profitability report and Expenses report to not to raise the conversion rate error when it is not needed.

---
M src/org/openbravo/erpCommon/ad_reports/ReportExpense.java
M src/org/openbravo/erpCommon/ad_reports/ReportProjectProfitabilityJR.java
---
(0033632)
adrianromero (manager)
2011-01-13 18:31

* Testing the issue

Verify that now projects with no time sheets can execute the Profitability project and also the Expenses project.

Verify also that the related issue 10690 works as expected. days are properly converted to hours in both reports.

* Other areas affected

Only has been modified the Expenses report and Project Profitability report.
(0033633)
adrianromero (manager)
2011-01-13 18:33

This regression has been created because when solving issue 10690 it has not been tested the case of projects with expense lines that are not time reports.
(0033678)
psarobe (manager)
2011-01-17 12:31

It is still failing in this scenario:

If you add hours against a product which UOM is hours then it is not working. The error is the same: There is no conversion rate between hours and days. It makes no sense since everything is in hours
(0033686)
hgbot (developer)
2011-01-17 14:24

Repository: erp/devel/pi
Changeset: 189e816bcd7c6216526fdad1f3ed9e7f734dfd3a
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Mon Jan 17 14:23:22 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/189e816bcd7c6216526fdad1f3ed9e7f734dfd3a [^]

Fixes issue 0015630: Project profitability report is not working under some circumstances
It has been added the case of expenses reported in hours

---
M src/org/openbravo/erpCommon/ad_reports/ReportExpense.java
M src/org/openbravo/erpCommon/ad_reports/ReportExpense_data.xsql
M src/org/openbravo/erpCommon/ad_reports/ReportProjectProfitabilityJR.java
---
(0033688)
adrianromero (manager)
2011-01-17 14:25

* Testing the issue

It has to be included the case of testing the scenario described in the note c33680
(0033690)
hgbot (developer)
2011-01-17 15:50

Repository: erp/devel/pi
Changeset: bcf2d9cce366cf8506322c1d42060f2303a1a709
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Mon Jan 17 15:49:43 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/bcf2d9cce366cf8506322c1d42060f2303a1a709 [^]

Fixes issue 0015630: Project profitability report is not working under some circumstances
Fixed
Fixing sql sentence

---
M src/org/openbravo/erpCommon/ad_reports/ReportExpense_data.xsql
---
(0033947)
hgbot (developer)
2011-01-28 10:16

Repository: erp/devel/pi
Changeset: 91b91cf993184142ed9f142ddc6ad46643577a72
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Fri Jan 28 10:15:37 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/91b91cf993184142ed9f142ddc6ad46643577a72 [^]

Fixes issue 0015630: Project profitability report is not working under some circumstances
It has been modified properly the UOM to convert to take always hours and has been restored the gropping on the Profitability report SQL sentence to remove the UOM. This sentence must be grouping only by project

---
M src/org/openbravo/erpCommon/ad_reports/ReportExpense_data.xsql
M src/org/openbravo/erpCommon/ad_reports/ReportProjectProfitabilityJR.java
M src/org/openbravo/erpCommon/ad_reports/ReportProjectProfitability_data.xsql
---

- Issue History
Date Modified Username Field Change
2011-01-12 12:36 psarobe New Issue
2011-01-12 12:36 psarobe Assigned To => adrianromero
2011-01-12 12:36 psarobe Modules => Core
2011-01-12 12:37 psarobe Status new => scheduled
2011-01-12 12:37 psarobe fix_in_branch => pi
2011-01-12 12:38 psarobe Tag Attached: Regression
2011-01-12 12:38 psarobe Note Added: 0033597
2011-01-13 16:52 rafaroda Issue Monitored: rafaroda
2011-01-13 18:27 hgbot Checkin
2011-01-13 18:27 hgbot Note Added: 0033630
2011-01-13 18:27 hgbot Status scheduled => resolved
2011-01-13 18:27 hgbot Resolution open => fixed
2011-01-13 18:27 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/8b633bd01c5e07ebdb2ef5f28a79f2b721202130 [^]
2011-01-13 18:31 adrianromero Note Added: 0033632
2011-01-13 18:32 adrianromero version 2.50MP24 => 3.0RC3
2011-01-13 18:32 adrianromero fix_in_branch pi =>
2011-01-13 18:33 adrianromero Note Added: 0033633
2011-01-13 18:33 adrianromero Relationship added related to 0010690
2011-01-17 12:31 psarobe Note Added: 0033678
2011-01-17 12:31 psarobe Status resolved => new
2011-01-17 12:31 psarobe Resolution fixed => open
2011-01-17 14:24 hgbot Checkin
2011-01-17 14:24 hgbot Note Added: 0033686
2011-01-17 14:24 hgbot Status new => resolved
2011-01-17 14:24 hgbot Resolution open => fixed
2011-01-17 14:24 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/8b633bd01c5e07ebdb2ef5f28a79f2b721202130 [^] => http://code.openbravo.com/erp/devel/pi/rev/189e816bcd7c6216526fdad1f3ed9e7f734dfd3a [^]
2011-01-17 14:25 adrianromero Note Added: 0033688
2011-01-17 15:50 hgbot Checkin
2011-01-17 15:50 hgbot Note Added: 0033690
2011-01-17 15:50 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/189e816bcd7c6216526fdad1f3ed9e7f734dfd3a [^] => http://code.openbravo.com/erp/devel/pi/rev/bcf2d9cce366cf8506322c1d42060f2303a1a709 [^]
2011-01-26 11:53 psarobe version 3.0RC3 => 2.50MP23
2011-01-26 17:20 adrianromero version 2.50MP23 => 3.0RC2
2011-01-28 10:16 hgbot Checkin
2011-01-28 10:16 hgbot Note Added: 0033947
2011-01-28 10:16 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/bcf2d9cce366cf8506322c1d42060f2303a1a709 [^] => http://code.openbravo.com/erp/devel/pi/rev/91b91cf993184142ed9f142ddc6ad46643577a72 [^]
2011-01-28 11:27 adrianromero Relationship added related to 0015808
2011-03-23 10:40 psarobe Status resolved => closed
2011-03-23 10:40 psarobe Fixed in Version => 3.0RC4
2011-03-24 00:00 anonymous sf_bug_id 0 => 3238862


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker