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>
13 lines
431 B
Python
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,
|
|
})
|