summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorMartin Trigaux <mat@odoo.com>2017-03-08 11:15:42 +0100
committerMartin Trigaux <mat@odoo.com>2017-03-08 13:38:55 +0100
commit9732c3049a21c12f710ba46819e64e12af8d4661 (patch)
tree2b3e44e141410d49d42fa95e6241a85eed236464 /addons/web/static/src/js/views/basic/basic_controller.js
parentb0321b1474b27b00a1598c0e34942255f8038a72 (diff)
[FIX] hr_timesheet_sheet: keep timesheets linked to a task
When deleting an hr_timesheet_sheet.sheet, the linked analytic lines are dropped too. This was introduced in 8.0 at 5f45e7ca The initial bug, reported at #5326, was targeting the analytic lines created independantly, directly from the timesheet encoding. In version 8, the timesheets were encoded via project.task.work and the unlink on the hr_timesheet_sheet.sheet had no effect on the works. In version 10, this model no longer exists and it needs to be filtered to avoid removing independant timesheets. Fixes #15741
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions