summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml
diff options
context:
space:
mode:
authorDavid Monjoie <dmo@odoo.com>2015-02-26 15:42:01 +0100
committerDavid Monjoie <dmo@odoo.com>2015-02-26 16:18:08 +0100
commit5f45e7ca96f34fa8e904cdaa46576b60ffcfb477 (patch)
tree5690e7797ea44c60d8e39b712ef3527c2474e93a /addons/web/static/src/xml
parent51f61ed23d1fcc311900f45f6e7b88c53f51db93 (diff)
[FIX] hr_timesheet_sheet: properly unlink timesheets when deleting a timesheet_sheet
Adaptation of https://github.com/acsone/odoo/commit/afe4a97d037b4075c8cd0514b6d1b829e1208629, but we properly unlink the timesheet lines themselves instead of going for the account.analytic.lines like the original commit proposition did. Actually, the unlink method of hr.analytic.timesheet already unlinks the corresponding acount.analytic.line, but those records were previously deleted via ondelete='cascade', which didn't trigger the unlink method at all, so the associated analytic lines were not deleted accordingly. Fixes opw 628256.
Diffstat (limited to 'addons/web/static/src/xml')
0 files changed, 0 insertions, 0 deletions