Hours spent on tasks badly computed

Bug #458058 reported by os33
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KDE OpenObject Client
New
Undecided
Unassigned
Odoo Web Client
Fix Released
Undecided
Navrang Oza

Bug Description

Hello,

Version 5.0.6

Web client allows to enter work done in a task with status 'draft' (only if status >= In progress in GTK)

Thanks

Navrang Oza (noz-tiny)
Changed in openobject-client-web:
status: New → Won't Fix
Revision history for this message
os33 (olivier-sommier) wrote :

Hello,

I think that is a bad idea because some computation may be wrong:
I tried with profile service_EN http://demo.openerp.com:8080/ in a project called Bad time computation.
I created a new task and kept it in 'Draft' status with 10 hours in planned hours.
I enter 7 hours in the work done (time spend field).
I saved the task. It seems OK.
But when you come back on this task :
  Planned Hours: 10:00
 Remaining Hours: 10:00 ==>FALSE(?)
 Delay Hours: 07:00 ==>FALSE
 Hours Spent: 07:00

Thanks to fix it !!

os33 (olivier-sommier)
Changed in openobject-client-web:
status: Won't Fix → Confirmed
Changed in openobject-client-web:
assignee: nobody → noz (Tiny) (noz-tiny)
Revision history for this message
os33 (olivier-sommier) wrote :

Hello,

I tried with koo and the result is still different !

Try this
Create a new task and kept it in 'Draft' status with 10 hours in planned hours.
Enter 15 hours in the work done (time spend field).
Save the task and open it
Enter 3 hours in the work done.
Save the task

With web client:
 Planned Hours: 10:00
 Remaining Hours: 7
 Delay Hours: 15:00
 Hours Spent:18:00

With koo
 Planned Hours: 10:00
 Remaining Hours: -8
 Delay Hours: 0:00
 Hours Spent:18:00

With GTK
Enter a work done on draft task not allowed

Can you fix this bug?

For some tasks, I noticed that the total of the hours (work done lines) may differ from the Hours spent.
Unfortunately I can't reproduce the bug but I think they are linked.

Thanks

Revision history for this message
os33 (olivier-sommier) wrote :

-Work done on draft task
+Hours spent on tasks badly computed

summary: - Work done on draft task
+ Hours spent on tasks badly computed
Revision history for this message
os33 (olivier-sommier) wrote :

If i try to add a new work done line with the GTK client in task created with the web client :

in my openerp-client log file :
C:\Program Files\OpenERP Client\openerp-client.exe:136: GtkWarning: gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed

Revision history for this message
Sananaz (Open ERP) (sma-tiny) wrote :

Hello,

Its fixed in stable. Please update your code and notify us.

Revision Info:
2806 <email address hidden>

Thanks.

Changed in openobject-client-web:
status: Confirmed → Fix Committed
Changed in openobject-client-web:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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