summaryrefslogtreecommitdiff
path: root/addons/website_slides/static/src/components/activity/activity_tests.js
diff options
context:
space:
mode:
authorDominik Rubo <dru@odoo.com>2020-09-17 06:59:04 +0000
committerDominik Rubo <dru@odoo.com>2020-10-07 08:54:38 +0000
commit43db576b7f0efed563ee597ab087e4d7ef5c74d9 (patch)
tree38a32d7760800648753a217f10dc49f4dd258399 /addons/website_slides/static/src/components/activity/activity_tests.js
parent6b04dbcd4204a75d6bd68fc0b3010a2297779b32 (diff)
[FIX] hr_timesheet, project: let user disable Timesheets in config
This change allows uninstallation of hr_timesheet from the configuration of Project. Previously, attempting to disable the Timesheets feature from the configuration of Project resulted in a user error that requested the user to first remove tasks in projects that were linked to analytic accounts. This was caused by the removal of demo data during the uninstallation of hr_timesheet, which attempted to unlink analytic accounts before unlinking the projects that were referencing those accounts. The order in which demo data are removed during uninstallation of a module is currently not fixed. This change avoids the problem by instead removing the explicit creation of analytic accounts as demo data. Furthermore, hr_timesheet would be immediately re-installed upon uninstallation through project_timesheet_synchro and project_timesheet_holidays. Disabling those modules along with hr_timesheet fixes this. Task 2339016 closes odoo/odoo#58759 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Diffstat (limited to 'addons/website_slides/static/src/components/activity/activity_tests.js')
0 files changed, 0 insertions, 0 deletions