[FIX] hr_timesheet_sheet: set hr_timesheet view 'editable="bottom"'
Timesheet tend to have a lot of lines, so this avoids the user to scroll up and down when adding entries. Closes #5769
This commit is contained in:
parent
83282f2dea
commit
714635fa19
|
@ -109,7 +109,7 @@
|
|||
</page>
|
||||
<page string="Details">
|
||||
<field context="{'employee_id': employee_id, '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">
|
||||
<tree editable="bottom" string="Timesheet Activities">
|
||||
<field name="date"/>
|
||||
<field domain="[('type','in',['normal', 'contract']), ('state', '<>', 'close'),('use_timesheets','=',1)]" name="account_id" on_change="on_change_account_id(account_id, user_id)" context="{'default_use_timesheets': 1}"/>
|
||||
<field name="name"/>
|
||||
|
|
Loading…
Reference in New Issue