-
Notifications
You must be signed in to change notification settings - Fork 1
Description
The Calendar of the Lessions and of other activities is the primary and most urgent feature to implement. These activities that are fundamentally calendars entry with a date, a start time and a end time, share unique the resources they use: Teachers, Recipients, Classrooms. The resource are unique, so that a Recipient or a Teacher or a Classroom CANNOT be assigned to another calendar entry that have the same date and time. This constraint is fundamental and mandatory.
The calendar management must have a smart import/input system for Lessions date so that:
- importing existing lession dates (of the same Course) will update instead of add as new
- inserting manually or importing with the import function will check if the resorces (Recipients, Teachers and Classrooms) are already occupied for that date and time.
Also the user can create and manage Classrooms where the activities are carried out.
Another functionality for the user is to generate valid course Lession dates, given the teacher and the total hours of that Course.
Furthermore an export function that exports in an excel file template the calendar of one given Course.
Current tasks (always on update, for history follow the comments)
Lesson
- LESSON IMPORT FUNCTION: after refining all the lesson
start_timeandend_timeissues we must plan to modify the import function for lessons. Most of the work will be the function to convert the time value from the CSV file that can be in different formats (like "20:50" or "20.50". Luckly it never will be like 10.50 PM) -
start dateandend dateshould accept time format 24h only and not float-like numbers like "15.70". This is on standby because of the float_time widget problem. - when adding recipients to a lession, the "add form view" should be already filtered by Persons (it's a default filter) and/or by Recipient [ task ].
- when adding recipients: set default filter to Students.
- duplicate function can't really duplicate a lesson because date/time/teacher are the same and it returns error: instead it should open a create lesson form with these fields already filled: date, teacher, place, recipients, course.
Course
- Default auto generated repetition number is in the format "CR000n". It has to be a natural number like "1", "2", "3", etc.
- Change "Name" to "Title".
- One Course can have more that one topic, and one topic can be assigned to more than one Course. As it is now, only one topic can be assigned to one Course. The result has to be like
res.partner.categorytags: many2many and many2many_tags widget. - "Hours" and "Total Hours" must be displayed as an integer without the ".0".