hr_timesheet_sheet: add domain on account for state close
bzr revid: ced-792e8fab12b087b84ae8d3d56f9617dd57774b22
This commit is contained in:
@@ -76,7 +76,7 @@
|
||||
<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"/>
|
||||
|
||||
Reference in New Issue
Block a user