Skip to content

Create Parent Record

Create Parent Record

Time Required: 5 minutes Module: openeducat_parent User Role: Parent Manager

Overview

Create parent or guardian records to link contacts with their students. Parents can then be granted portal access to monitor their children’s academic progress.

Prerequisites

  • Student record(s) exist in the system
  • Relationship types configured (Father, Mother, etc.)
  • Parent Manager permissions

Step-by-Step Instructions

Step 1: Access Parent Records

  1. Navigate to OpenEduCat > Parents > Parents
  2. Click Create to start a new parent record

Step 2: Select or Create Contact

Fill in the Name field:

FieldTechnical NameTypeRequiredDescription
NamenameMany2one (res.partner)YesSelect existing contact or create new

To create a new contact:

  1. Type the parent’s name in the field
  2. Click Create and Edit
  3. Fill in contact details (email, phone, address)
  4. Save the contact

Step 3: Enter Parent Information

Complete the following fields:

FieldTechnical NameTypeRequiredDescription
MobilemobileCharNoParent’s mobile number
EmailemailCharNoParent’s email address
Relationshiprelationship_idMany2oneYesFather, Mother, Guardian, etc.
Student(s)student_idsMany2manyYesStudents linked to this parent
  1. Click in the Student(s) field
  2. Search for and select student(s)
  3. Multiple students can be selected (siblings)

Example:

Student(s): [John Smith, Jane Smith]

Step 5: Save the Record

Click Save to create the parent record.

Field Reference - Complete

FieldTechnical NameTypeRequiredNotes
NamenameMany2one → res.partnerYesAuto-sets is_parent=True
MobilemobileCharNoPhone contact
EmailemailCharNoFor notifications
Relationshiprelationship_idMany2one → op.parent.relationshipYesType of relationship
Student(s)student_idsMany2many → op.studentYesLinked children
Useruser_idMany2one → res.usersAutoPortal user (created separately)
ActiveactiveBooleanNoDefault: True

Buttons Reference

ButtonVisibilityAction
Create Parent UserWhen user_id is emptyCreates portal user for parent

Data Synchronization

When creating a parent record:

  1. Partner Update: Selected contact’s is_parent flag set to True
  2. Email Sync: If parent has email and contact doesn’t, email is copied
  3. Phone Sync: If parent has mobile and contact doesn’t, phone is copied

Troubleshooting

Cannot Find Student in List

Problem: Student doesn’t appear when searching in Student(s) field.

Solution:

  1. Verify student record exists and is active
  2. Check if student has a valid course enrollment
  3. Ensure user has permission to view students

Relationship Type Missing

Problem: Cannot find appropriate relationship type.

Solution:

  1. Navigate to Configuration > Parent Relationships
  2. Create new relationship type (e.g., “Legal Guardian”)

Contact Already Has Parent Record

Problem: “This contact is already linked to a parent” error.

Solution:

  1. Search for existing parent record using contact name
  2. Edit existing record to add more students
  3. One contact = one parent record (but multiple students)

Example: Create Father Record

Scenario: Add father “Robert Smith” for students John and Jane Smith.

  1. Navigate to Parents > Parents > Create
  2. Name: Search “Robert Smith” or create new contact
  3. Mobile: “555-0123”
  4. Email:robert.smith@email.com
  5. Relationship: Select “Father”
  6. Student(s): Select “John Smith”, “Jane Smith”
  7. Click Save

Result: Robert Smith linked as father to both students. Ready for portal user creation.

Next Steps

After creating the parent record:

  1. Create Portal User - Enable portal access
  2. Configure Access - Set viewing permissions