Files
odoo_source/addons/project_todo/__init__.py
T
Pierre-Yves Dufays f54cb53df2 [REM] project_todo: remove add todo from the systray
In order to simplify the systray, we remove the action "Add a To-do" from the
activity menu in the systray.

Technical note: We remove the following code in project_todo:
- static/src/web/activity: which add the "Add a To-do" in activity menu in the
systray with its logic
- controllers: which add specific controller for the "Add a To-do" in the
systray
- static/tests: which test the todo from the activity menu
- static/tests/helpers: that supports the test that we have removed (ex.:
simulate the removed controller)

Task-3085077

Part-of: odoo/odoo#138135
2023-10-19 19:08:12 +00:00

12 lines
405 B
Python

from . import models
from . import wizard
def _todo_uninstall(env):
# The record rule project.task_visibility_rule needs to apply to all rights and not just read after uninstallation
project_task_visibility_rule_rec = env.ref("project.task_visibility_rule")
project_task_visibility_rule_rec.write({
'perm_create': True,
'perm_unlink': True,
'perm_write': True,
})