[FIX] hr_timesheet_sheet: avoid error when sort attendances
authorrmu-odoo <rmu@tinyerp.com>
Wed, 10 Sep 2014 07:45:51 +0000 (13:15 +0530)
committerMartin Trigaux <mat@openerp.com>
Wed, 17 Sep 2014 16:25:08 +0000 (18:25 +0200)
commit16a969214fd1c468b5a2df6ac4624e588c3e5b35
treeb1a9b8e692342ab03e6b5d198e22642861216d76
parent8973217ea77e939337ede0890a4dcfdac22b1cd5
[FIX] hr_timesheet_sheet: avoid error when sort attendances

When an attendance line is edited, the tuple has no key 'name' which lead to a traceback.
Fixes #546
addons/hr_timesheet_sheet/hr_timesheet_sheet.py