-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Activities Calendars #7
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
review 1Course:
|
review 1Lessions:
Recipients problemNow, here is a problem to solve with the recipient concept. A recipient can resign from an active project so, we can have for one course that, a number of lessions, have certain recipient (A, B, C, D, E) and the rest of the lessions have less or different recipients (B,C, E, F, G).
Possible recipient workflow with course lessions:When a Course is created the recipients are added to the recipient course list BUT the list can change until the end of the course, an example:
|
review for committ
|
Review for commit
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
review for
|
I tried to create a calendar view for the lessons like this <record id="action_gestcal_calendar_view" model="ir.ui.view">
<field name="name">gestcal.lesson.calendar</field>
<field name="model">gestcal.lesson</field>
<field name="priority" eval="2"/>
<field name="arch" type="xml">
<calendar string="Lessons" date_start="date" event_open_popup="true" event_limit="5" color="course_id">
<field name="date"/>
<field name="course_id"/>
</calendar>
</field>
</record> but I think I'm totally missing something |
It's good your code works but you forgot to add in the record ir.actions.act_window
|
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:
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
start_time
andend_time
issues 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 date
andend date
should accept time format 24h only and not float-like numbers like "15.70". This is on standby because of the float_time widget problem.Course
res.partner.category
tags: many2many and many2many_tags widget.The text was updated successfully, but these errors were encountered: