Merge lp://qastaging/~openerp-dev/openobject-client-web/6.0-opw-57686-msh into lp://qastaging/openobject-client-web

Proposed by Naresh(OpenERP)
Status: Merged
Merged at revision: 4753
Proposed branch: lp://qastaging/~openerp-dev/openobject-client-web/6.0-opw-57686-msh
Merge into: lp://qastaging/openobject-client-web
Diff against target: 27 lines (+3/-3)
2 files modified
addons/openerp/validators.py (+1/-1)
addons/openerp/widgets/listgrid.py (+2/-2)
To merge this branch: bzr merge lp://qastaging/~openerp-dev/openobject-client-web/6.0-opw-57686-msh
Reviewer Review Type Date Requested Status
Lorenzo Battistini Pending
OpenERP Core Team Pending
Review via email: mp+87906@code.qastaging.launchpad.net

This proposal supersedes a proposal from 2012-01-06.

Description of the change

Hello,

Fixed the issue of floattime widget which is not storing proper float amount.

Demo :- Goto project -> Task -> Create Task with some amount of time -> Start Task -> Create "Task Work" line and insert Time Spent Value as 0.9853 and save the record.

The Time Spent will changed to 1:00 hour instead of 00:59 minutes because 0.9853 * 60 = 59.

Thanks.

To post a comment you must log in.
Revision history for this message
Lorenzo Battistini (elbati) wrote : Posted in a previous version of this proposal
review: Disapprove
Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote : Posted in a previous version of this proposal

Hello Lorenzo,

Thanks for your feedback, This seems to behave as expected you get 00:01 if you enter .0085 in a float_time widget field

Regards,

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.