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
12 lines
410 B
Python
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,
|
|
})
|