Functionality to add Grants
Similar to the functionality to mass allocate activities, there needs to be something specific for capturing grants, it should allow a grant, category, and funder to be recorded, and to have contributions separately recorded against individuals, with a number of hours per week over years 1,5 (this is how Ulster does it).
Maybe other input means should be required.
#1 Updated by Colin Turner almost 3 years ago
- % Done changed from 0 to 70
- Status changed from New to In Progress
Significant progress with a new Body object to record potential grant funders, a Project object (since things other than Research Grants have the same dynamic). When staff are allocated to projects over time Activity objects can be automatically generated (and regenerated).
#TODO: Currently creates activities equally mapped on semesters, could be refined
#TODO: If workpackages overlap in timing or staff, hours may be double counted
#TODO: If there is project time outside any workpackage it will be "lost"
#TODO: Also there is no protection for overlapping allocations for the same staff member
There is as yet no front end to trigger (and test) the functions to generate activities.
#2 Updated by Colin Turner almost 3 years ago
- % Done changed from 70 to 80
Checked (and corrected) code via direct calls in Python shell. Still need to build a front end.
Attempting to hook automatic generation to save() fails because save() is itself called as part of the generation. Some thought needed on this.