Implementierungsplaner-Fortschrittsbalken ausblenden

develop
Christian Hattemer 2016-11-14 17:29:23 +01:00
parent 75c8dfdcfb
commit 358e09aad2
2 changed files with 10 additions and 0 deletions

View File

@ -127,6 +127,7 @@ def main():
'set_sys_params',
#'setup_reports',
'consume_tours',
'disable_planners',
]
if cmd == 'setup':

View File

@ -935,3 +935,12 @@ class DatenpolFunctions():
self._execute('web_tour.tour', 'create', vals)
return True
def disable_planners(self):
"""Implementierungsplaner deaktivieren"""
# The dashboard widget itself remains. It can be removed in the
# module web_settings_dashboard in dashboard.xml and dashboard.js.
planner_ids = self._execute('web.planner', 'search', [])
return self._execute('web.planner', 'write', planner_ids, {'active': False})