** Changed in: openobject-client
   Importance: Undecided => Low

** Changed in: openobject-client
       Status: New => Confirmed

** Changed in: openobject-client
     Assignee: (unassigned) => OpenERP sa GTK client R&D (openerp-dev-gtk)

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

Title:
  float_time widget wrongly rounds

Status in OpenERP GTK Client:
  Confirmed

Bug description:
  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?

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-client/+bug/887612/+subscriptions

_______________________________________________
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