Files
odoo_source/addons/project_todo/__init__.py
T
dise 723ea29937 [IMP] project_todo: add a create to-do command on the command palette
This task will add a new command on the command palette, which will
allow the user to create a to-do and schedule an activity for it.

The command will open a new wizard to create a to-do.

task-3330177

closes odoo/odoo#125644

Signed-off-by: Xavier Bol (xbo) <xbo@odoo.com>
2023-08-24 18:36:48 +02:00

13 lines
431 B
Python

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