Default Leads project subprojects ('tasks') to 'Leads' not 'Development'
This commit is contained in:
parent
644b3170ef
commit
ffc0f46865
1 changed files with 5 additions and 0 deletions
|
@ -231,6 +231,11 @@ for preferred, alternatives in subproject_names.items():
|
||||||
# TODO flag when task/subproject names are not known, because otherwise they
|
# TODO flag when task/subproject names are not known, because otherwise they
|
||||||
# get force-created on import.
|
# get force-created on import.
|
||||||
|
|
||||||
|
# Default task for Leads project should be 'Leads' (not Development as will be filled in below).
|
||||||
|
timelog.loc[(timelog.project=="Leads") & timelog.subproject.isna(), "subproject"] = "Leads"
|
||||||
|
# The above could also have been done in the compound_project_tasks
|
||||||
|
# Leaving this here as an example.
|
||||||
|
|
||||||
# Condense duplicate entries by date, summing the minutes spent, and listing
|
# Condense duplicate entries by date, summing the minutes spent, and listing
|
||||||
# the first started and last recorded times for each task.
|
# the first started and last recorded times for each task.
|
||||||
# The fillna is essential or we drop entries with blank ('None') projects.
|
# The fillna is essential or we drop entries with blank ('None') projects.
|
||||||
|
|
Loading…
Reference in a new issue