Jignesh Rathod(OpenERP) (jir-tinyerp) has assigned this bug to you for OpenERP 
GTK Client:

openobject-client/6.0 revno 1909

see float_time_convert at
http://bazaar.launchpad.net/~openerp/openobject-client/6.0/view/1911/bin/tools/datetime_util.py#L158

0.9853 is converted to 1 hour while it should be 59 minutes,
because
98.53 : 100 = x : 60
and
98.53 × 60 ÷ 100 = 59.118 ≃ 59 minutes

but GTK client does

>>> round(abs(0.9853)%1+0.01,2)
1.0

Why isn't the proportion implemented?

** Affects: openobject-client
     Importance: Low
     Assignee: OpenERP sa GTK client R&D (openerp-dev-gtk)
         Status: Confirmed

-- 
float_time widget wrongly rounds
https://bugs.launchpad.net/bugs/887612
You received this bug notification because you are a member of OpenERP sa GTK 
client R&D, which is a bug assignee.

_______________________________________________
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

Reply via email to