← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 823838] [NEW] project hours don't include child projects hours

 

Public bug reported:

On the project form the calculated field
Planned Time
has the following explanation:  "Sum of planned hours of all tasks related to this project and its child projects."
But it seems that it only contains the sum of planned hours of all tasks related to the project

Test Case:

create a new db selecting "project" module from the setup wizard and
demo data

goto project / projects
the project: 
  Integrate a Sale and Warehouse Management has
  planned time: 680
  total time 0
  time spent 0
  progress 0
  parent: Projects

I create a new Project: MyProj and change the parent project of  Integrate a Sale and Warehouse Management to this one
planned hour form MyProj remains 0
create task MyTask for project MyProj
  with Planned Hours 100

create a MyWork for MyTask with
   time spent 50

mark MyTask as done
now MyProj has
   planned time: 100
   total time: 100
   time spent: 50
   progress 50%

completely ignoring the child project

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/823838

Title:
  project hours don't include child projects hours

Status in OpenERP Modules (addons):
  New

Bug description:
  On the project form the calculated field
  Planned Time
  has the following explanation:  "Sum of planned hours of all tasks related to this project and its child projects."
  But it seems that it only contains the sum of planned hours of all tasks related to the project

  Test Case:

  create a new db selecting "project" module from the setup wizard and
  demo data

  goto project / projects
  the project: 
    Integrate a Sale and Warehouse Management has
    planned time: 680
    total time 0
    time spent 0
    progress 0
    parent: Projects

  I create a new Project: MyProj and change the parent project of  Integrate a Sale and Warehouse Management to this one
  planned hour form MyProj remains 0
  create task MyTask for project MyProj
    with Planned Hours 100

  create a MyWork for MyTask with
     time spent 50

  mark MyTask as done
  now MyProj has
     planned time: 100
     total time: 100
     time spent: 50
     progress 50%

  completely ignoring the child project

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/823838/+subscriptions


Follow ups

References