hr_timesheet_sheet* fixes: back to list after remove a timesheet. bulk unfreeze confirmed and pending sheets
This commit is contained in:
parent
8b0d0bb6cc
commit
0323b6672e
11 changed files with 354 additions and 34 deletions
|
|
@ -9,6 +9,12 @@
|
|||
<field name="model">hr_timesheet.sheet.unfreeze.wizard</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Unfreeze Pending Sheets">
|
||||
<!--
|
||||
The figures depend on sheet_ids, and the onchange flow that
|
||||
builds the dialog only asks default_get() for the fields of
|
||||
the view. Drop this field and the dialog reports zero.
|
||||
-->
|
||||
<field name="sheet_ids" invisible="1" />
|
||||
<field name="summary_html" nolabel="1" readonly="1" />
|
||||
<group attrs="{'invisible': [('sheet_count', '=', 0)]}">
|
||||
<field name="sheet_count" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue