Kuldeep Joshi(OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-bug-885647-kjo into
lp:openobject-addons.
Requested reviews:
Bhumika (OpenERP) (sbh-openerp)
Related bugs:
Bug #885647 in OpenERP Addons: "project : Field total_hours calculates wrong
time"
https://bugs.launchpad.net/openobject-addons/+bug/885647
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-885647-kjo/+merge/81260
Set the total_hours value in _progress_rate method
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-885647-kjo/+merge/81260
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-bug-885647-kjo.
=== modified file 'project/project.py'
--- project/project.py 2011-10-27 18:23:07 +0000
+++ project/project.py 2011-11-04 11:42:25 +0000
@@ -99,7 +99,7 @@
res[project.id] = {
'planned_hours': s[0],
'effective_hours': s[2],
- 'total_hours': s[1],
+ 'total_hours': s[0],
'progress_rate': s[1] and round(100.0*s[2]/s[1],2) or 0.0
}
return res
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp