[FIX] timesheet context bug

bzr revid: fp@tinyerp.com-20121029145549-n2zdzd3llqqrskba
This commit is contained in:
Fabien Pinckaers 2012-10-29 15:55:49 +01:00
parent c61687e66f
commit d3ff1d70a8
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@
</widget>
</page>
<page string="Details">
<field context="{'user_id':user_id, 'timesheet_date_from': date_from, 'timesheet_date_to': date_to}}" name="timesheet_ids" nolabel="1">
<field context="{'user_id':user_id, 'timesheet_date_from': date_from, 'timesheet_date_to': date_to}" name="timesheet_ids" nolabel="1">
<tree editable="top" string="Timesheet Activities">
<field name="date"/>
<field domain="[('type','in',['normal', 'contract']), ('state', '&lt;&gt;', 'close'),('use_timesheets','=',1)]" name="account_id" on_change="on_change_account_id(account_id, user_id)" context="{'default_use_timesheets': 1}"/>