Merge pull request #411 from acsone/lp-1200611_lga

[FIX] hr_timesheet_sheet: correctly set the employee on the attendance
This commit is contained in:
Martin Trigaux 2014-06-11 15:13:06 +02:00
commit 882ebbbd40
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@
</page>
<page string="Attendances" groups="base.group_hr_attendance">
<group>
<field context="{'employee_id': employee_id, 'user_id':user_id}" name="attendances_ids" nolabel="1">
<field context="{'default_employee_id': employee_id, 'user_id':user_id}" name="attendances_ids" nolabel="1">
<tree string="Attendances" editable="bottom">
<field name="name"/>
<field name="action"/>