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
|
|
@ -304,5 +304,9 @@ class Sheet(models.Model):
|
|||
active_model="hr_timesheet.sheet",
|
||||
active_ids=self.ids,
|
||||
active_id=self.ids[0] if self.ids else False,
|
||||
# The button lives in the header of the sheet form: once the
|
||||
# sheet is gone that form cannot be restored, and the wizard
|
||||
# has to send the user somewhere else.
|
||||
sheet_delete_cascade_from_form=True,
|
||||
),
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue