<field name="timesheet_ids" colspan="4" nolabel="1" domain="[('name','=',date_current)]" context="date=date_current,user_id=user_id">
<tree string="Timesheet" editable="top">
<field name="date" />
- <field name="account_id" on_change="on_change_account_id(account_id)" domain="[('type','=','normal')]"/>
+ <field name="account_id" on_change="on_change_account_id(account_id)" domain="[('type','=','normal'), ('state', '<>', 'close')]"/>
<field name="name" />
<field name="unit_amount" on_change="on_change_unit_amount(product_id, unit_amount, product_uom_id)" widget="float_time"/>
<field name="to_invoice"/>