Files
odoo_source/addons/project_todo/__init__.py
T
Hugo Carlier (Huca) 44ebc03bde [MOV] project_todo: rename module todo to project_todo
To avoid confusion with the generic name "todo" and to emphasize the
link with the module project, this module is renamed to "project_todo".

task-3085077
2023-05-15 09:01:27 +02:00

12 lines
410 B
Python

from . import controllers
from . import models
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,
})