# GEMS Education - Part 3

New Concepts: sequences, activities

GEMS Education is trying to speed up their processes by automatic generation of certain data.

# Student Information

The registrar at the organization has proposed that the student ID should be auto-generated. Therefore, add a new field for storing the student's ID in res.partner. The sequence should follow the format X00000 where X would be either M for male, F for female or remain X to indicate others. Moreover, the ID should contain 5 digits and padded with zeros.

# Notification System

When a student is added to a session, an activity should be created automatically for the student. The fields of an activity should have these values:

  • Activity Type: To Do
  • Summary: Review New Course
  • Due Date: (today's date)
  • Assigned To: (the student's user record)
  • Note: "You have been registered for the subject { subject }. The session starts at { start_date } and the timings are from { start_time } to { end_time }. Please check your updated schedule. Regards, { teacher_id.name }."