<field name="department_id" groups="base.group_extended"/>
<newline/>
<field name="employee_id"/>
+ <field name="user_id" invisible="1"/>
<field name="date_from"/>
<field name="date_to"/>
</group>
<button icon="terp-gtk-go-back-rtl" name="date_next" string="" type="object"/>
</group>
- <field colspan="3" context="name=date_current,user_id=user_id" height="100" name="attendances_ids" nolabel="1">
+ <field colspan="3" context="{'name':date_current,'user_id':user_id}" height="100" name="attendances_ids" nolabel="1">
<tree string="Attendances" editable="bottom">
<field name="name"/>
<field name="action"/>
</group>
<field name="state_attendance"/>
<field name="total_attendance_day" widget="float_time"/>
- <field colspan="4" context="date=date_current,user_id=user_id" domain="[('name','=',date_current)]" name="timesheet_ids" nolabel="1">
+ <field colspan="4" context="{'date':date_current,'user_id':user_id}" domain="[('name','=',date_current)]" name="timesheet_ids" nolabel="1">
<tree editable="top" string="Timesheet">
<field invisible="1" name="date"/>
<field domain="[('type','=','normal'), ('state', '<>', 'close')]" name="account_id" on_change="on_change_account_id(account_id)"/>