project task - bizarre calculation of total hours

Bug #838249 reported by Ferdinand

This bug report was converted into a question: question #169880: project task - bizarre calculation of total hours.

18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Opinion
Undecided
Unassigned

Bug Description

total hours computation
IMHO remaining hours should only be added if these are positive.

and yes - the planned hours should be reevaluated to avoid negative remaining hours.

Revision history for this message
Ferdinand (office-chricar) wrote :
Revision history for this message
Amit Parik (amit-parik) wrote :

Hello Dr Ferdinand,

I have checked your issue but it is not a bug.

I think may be you have misunderstand something, If your 'Time Spent" (working hours) is greater then the planned hours then Remaining Hours will be always in negative because

 Planned Hours = Time Spent + Remaining Time

Form your scenario you have planned 8 hours than you have worked 14 hours so Remaining Hours will become -6 and which is correct.
Time Spent (14) + time remaining (-6) = (8)Planned Hours.

So Currently I am closing this issue.
Hope this will help for you.

Correct me if I am wrong.

Thanks.

Changed in openobject-addons:
status: New → Invalid
Revision history for this message
Ferdinand (office-chricar) wrote :

as t.o. said here
https://answers.launchpad.net/openobject-addons/+question/169880

OpenERP must not deduct negative remaining horus from "Total hours" -

Changed in openobject-addons:
status: Invalid → New
Revision history for this message
Amit Parik (amit-parik) wrote :

Hello,

As per the related new "Opinion" from subscriber I need more clarification for implementation of this (putting some restriction for negative remaining hours).

Currently I am setting this as an "Opinion".

@Experts: Would you please share your views on this.

Thanks and more suggestions are welcomed..!!

Changed in openobject-addons:
status: New → Opinion
Revision history for this message
Ferdinand (office-chricar) wrote :

May be we should have these fields to be clear
* Hours Spent
* remaining hours (positive or negative)
* Total Planned Hours = Hours Spent + positive remaining hours

Revision history for this message
conexus.at (conexus.at) wrote :

Calculating the Total Time with negative remaining hours results in a mess, please change it.

+1 for "Total Planned Hours = Hours Spent + positive remaining hours"

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.