odoo/odoo — pull request #3526 by mariagor (2014-11-10 00:24:11+00:00)
Title: Attendance worked_hours are rounded to an hour which is incorrect.

The fix simply calculate hours as float.

Impacted version 8.0 and above.

Repro: create sign_in and sign_out attendance entries with 1.5 hour difference.

Current: worked_hours = 1.0

Expected: worked_hours = 1.5