Closed Szymiks closed 5 years ago
@Karrp Could you say what task activities should be default for all projects or maybe talk about it with Adrian ? :)
I have never done something like this, so when I should make some script or something to set default task activity list for all existing projects?
For existing projects, in data migration.
For new ones, in function connected to post_save
signal to Project
model.
@Karrp Could you say what task activities should be default for all projects or maybe talk about it with Adrian ? :)
@Szymiks If you create new project task activities should be None as default. Consequently when creating report employee should be able to chose every possible activity from list.
Hmm it is quite edge case but we still need to handle this. What to do with reports which have activity which can be deleted by manager from list of project_activities?
We can do 2 things i think.
Other
- easier but changes history@kbeker what you think?
@Szymiks Almost there, I think the one important thing left is passing task_activity_id
in url and make proper html in the table.
Resolves: https://github.com/Code-Poets/sheetstorm/issues/204
This PR will be change because @Karrp want this feature in differemt way. Related:https://github.com/Code-Poets/sheetstorm/pull/469
In this PR I just created few things: Should be done
task_activite_models
-projects - m2m
andis_default
TaskActivityType
in models in manager app and importProject
in models in employee app.Will be done in next PR
Question I have never done something like this, so when I should make some script or something to set default task activity list for all existing projects?