feat: child tables for profile sections
This commit is contained in:
0
school/lms/doctype/career_preference/__init__.py
Normal file
0
school/lms/doctype/career_preference/__init__.py
Normal file
55
school/lms/doctype/career_preference/career_preference.json
Normal file
55
school/lms/doctype/career_preference/career_preference.json
Normal file
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"actions": [],
|
||||
"allow_rename": 1,
|
||||
"creation": "2021-12-07 14:53:35.593751",
|
||||
"doctype": "DocType",
|
||||
"editable_grid": 1,
|
||||
"engine": "InnoDB",
|
||||
"field_order": [
|
||||
"preferred_functions",
|
||||
"preferred_industries",
|
||||
"preferred_location",
|
||||
"dream_companies"
|
||||
],
|
||||
"fields": [
|
||||
{
|
||||
"fieldname": "preferred_functions",
|
||||
"fieldtype": "Select",
|
||||
"in_list_view": 1,
|
||||
"label": "Preferred Functions",
|
||||
"options": "Consulting\nData & Analytics\nDesign & Creative\nEngineering (Non Software)\nEngineering (Software & IT)\nFinance, Investment & Accounting\nHuman Resource & Recruiting\nLegal\nMarketing, Advertising & PR\nOperations & Admin\nProject Management\nProduct\nResearch, Training & Education\nSales & Customer Service\nSupply Chain, Logistics\nStrategy & Management\nOther",
|
||||
"reqd": 1
|
||||
},
|
||||
{
|
||||
"fieldname": "preferred_industries",
|
||||
"fieldtype": "Select",
|
||||
"in_list_view": 1,
|
||||
"label": "Preferred Industries",
|
||||
"options": "Accounting\nAds, Marketing, PR & Events\nAgriculture, Fishing & Forestry\nArchitecture\nAviation & Aerospace\nBanking, Financial Services & Insurance\nBiotech & Pharmaceuticals\nConstruction & Real Estate\nConsulting & Professional Services\nEducation & Training\nEnergy & Utilities\nEngineering\nFood & Beverages\nHealth & Medical\nHospitality & Tourism\nIT / Ecommerce / Internet\nManufacturing & Production\nMedia & Entertainment\nPublic Service & NGOs\nRetail, Fashion & FMCG\nStaffing & Recruiting\nTransportation & Logistics\nSecurity & Law Enforcement\nOther",
|
||||
"reqd": 1
|
||||
},
|
||||
{
|
||||
"fieldname": "preferred_location",
|
||||
"fieldtype": "Data",
|
||||
"in_list_view": 1,
|
||||
"label": "Preferred Location",
|
||||
"reqd": 1
|
||||
},
|
||||
{
|
||||
"fieldname": "dream_companies",
|
||||
"fieldtype": "Data",
|
||||
"label": "Dream Companies"
|
||||
}
|
||||
],
|
||||
"index_web_pages_for_search": 1,
|
||||
"istable": 1,
|
||||
"links": [],
|
||||
"modified": "2021-12-07 14:53:49.068323",
|
||||
"modified_by": "Administrator",
|
||||
"module": "LMS",
|
||||
"name": "Career Preference",
|
||||
"owner": "Administrator",
|
||||
"permissions": [],
|
||||
"sort_field": "modified",
|
||||
"sort_order": "DESC"
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2021, Frappe and contributors
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import frappe
|
||||
from frappe.model.document import Document
|
||||
|
||||
class CareerPreference(Document):
|
||||
pass
|
||||
0
school/lms/doctype/certification/__init__.py
Normal file
0
school/lms/doctype/certification/__init__.py
Normal file
8
school/lms/doctype/certification/certification.js
Normal file
8
school/lms/doctype/certification/certification.js
Normal file
@@ -0,0 +1,8 @@
|
||||
// Copyright (c) 2021, Frappe and contributors
|
||||
// For license information, please see license.txt
|
||||
|
||||
frappe.ui.form.on('Certification', {
|
||||
// refresh: function(frm) {
|
||||
|
||||
// }
|
||||
});
|
||||
67
school/lms/doctype/certification/certification.json
Normal file
67
school/lms/doctype/certification/certification.json
Normal file
@@ -0,0 +1,67 @@
|
||||
{
|
||||
"actions": [],
|
||||
"allow_rename": 1,
|
||||
"creation": "2021-12-07 12:20:37.143096",
|
||||
"doctype": "DocType",
|
||||
"editable_grid": 1,
|
||||
"engine": "InnoDB",
|
||||
"field_order": [
|
||||
"certification_name",
|
||||
"organization",
|
||||
"expire",
|
||||
"issue_date",
|
||||
"expiration_date",
|
||||
"description"
|
||||
],
|
||||
"fields": [
|
||||
{
|
||||
"fieldname": "certification_name",
|
||||
"fieldtype": "Data",
|
||||
"in_list_view": 1,
|
||||
"label": "Certification Name",
|
||||
"reqd": 1
|
||||
},
|
||||
{
|
||||
"fieldname": "organization",
|
||||
"fieldtype": "Data",
|
||||
"in_list_view": 1,
|
||||
"label": "Organization",
|
||||
"reqd": 1
|
||||
},
|
||||
{
|
||||
"fieldname": "issue_date",
|
||||
"fieldtype": "Date",
|
||||
"in_list_view": 1,
|
||||
"label": "Issue Date",
|
||||
"reqd": 1
|
||||
},
|
||||
{
|
||||
"fieldname": "description",
|
||||
"fieldtype": "Small Text",
|
||||
"label": "Description"
|
||||
},
|
||||
{
|
||||
"depends_on": "eval: !doc.expire",
|
||||
"fieldname": "expiration_date",
|
||||
"fieldtype": "Data",
|
||||
"label": "Expiration Date"
|
||||
},
|
||||
{
|
||||
"default": "0",
|
||||
"fieldname": "expire",
|
||||
"fieldtype": "Check",
|
||||
"label": "This certificate does no expire"
|
||||
}
|
||||
],
|
||||
"index_web_pages_for_search": 1,
|
||||
"istable": 1,
|
||||
"links": [],
|
||||
"modified": "2021-12-07 12:22:10.591613",
|
||||
"modified_by": "Administrator",
|
||||
"module": "LMS",
|
||||
"name": "Certification",
|
||||
"owner": "Administrator",
|
||||
"permissions": [],
|
||||
"sort_field": "modified",
|
||||
"sort_order": "DESC"
|
||||
}
|
||||
8
school/lms/doctype/certification/certification.py
Normal file
8
school/lms/doctype/certification/certification.py
Normal file
@@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2021, Frappe and contributors
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import frappe
|
||||
from frappe.model.document import Document
|
||||
|
||||
class Certification(Document):
|
||||
pass
|
||||
8
school/lms/doctype/certification/test_certification.py
Normal file
8
school/lms/doctype/certification/test_certification.py
Normal file
@@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2021, Frappe and Contributors
|
||||
# See license.txt
|
||||
|
||||
# import frappe
|
||||
import unittest
|
||||
|
||||
class TestCertification(unittest.TestCase):
|
||||
pass
|
||||
0
school/lms/doctype/education_details/__init__.py
Normal file
0
school/lms/doctype/education_details/__init__.py
Normal file
68
school/lms/doctype/education_details/education_details.json
Normal file
68
school/lms/doctype/education_details/education_details.json
Normal file
@@ -0,0 +1,68 @@
|
||||
{
|
||||
"actions": [],
|
||||
"allow_rename": 1,
|
||||
"creation": "2021-12-07 12:15:46.078717",
|
||||
"doctype": "DocType",
|
||||
"editable_grid": 1,
|
||||
"engine": "InnoDB",
|
||||
"field_order": [
|
||||
"institution_name",
|
||||
"location",
|
||||
"degree_type",
|
||||
"field_of_majorstudy",
|
||||
"grade_type",
|
||||
"grade"
|
||||
],
|
||||
"fields": [
|
||||
{
|
||||
"fieldname": "institution_name",
|
||||
"fieldtype": "Data",
|
||||
"in_list_view": 1,
|
||||
"label": "Institution Name",
|
||||
"reqd": 1
|
||||
},
|
||||
{
|
||||
"fieldname": "location",
|
||||
"fieldtype": "Data",
|
||||
"in_list_view": 1,
|
||||
"label": "Location",
|
||||
"reqd": 1
|
||||
},
|
||||
{
|
||||
"fieldname": "degree_type",
|
||||
"fieldtype": "Data",
|
||||
"in_list_view": 1,
|
||||
"label": "Degree Type",
|
||||
"reqd": 1
|
||||
},
|
||||
{
|
||||
"fieldname": "field_of_majorstudy",
|
||||
"fieldtype": "Data",
|
||||
"in_list_view": 1,
|
||||
"label": "Field of Major/Study",
|
||||
"reqd": 1
|
||||
},
|
||||
{
|
||||
"fieldname": "grade_type",
|
||||
"fieldtype": "Select",
|
||||
"label": "Grade Type",
|
||||
"options": "Percentage (e.g. 70%)\nPoint of Score (e.g. 70)\nLetter Grade (e.g. A, B-)\nUK Grading (e.g. 1st, 2:2)\nFrench (e.g. Distinction)\nCGPA/4"
|
||||
},
|
||||
{
|
||||
"fieldname": "grade",
|
||||
"fieldtype": "Data",
|
||||
"label": "Grade"
|
||||
}
|
||||
],
|
||||
"index_web_pages_for_search": 1,
|
||||
"istable": 1,
|
||||
"links": [],
|
||||
"modified": "2021-12-07 12:15:46.078717",
|
||||
"modified_by": "Administrator",
|
||||
"module": "LMS",
|
||||
"name": "Education Details",
|
||||
"owner": "Administrator",
|
||||
"permissions": [],
|
||||
"sort_field": "modified",
|
||||
"sort_order": "DESC"
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2021, Frappe and contributors
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import frappe
|
||||
from frappe.model.document import Document
|
||||
|
||||
class EducationDetails(Document):
|
||||
pass
|
||||
0
school/lms/doctype/skill/__init__.py
Normal file
0
school/lms/doctype/skill/__init__.py
Normal file
8
school/lms/doctype/skill/skill.js
Normal file
8
school/lms/doctype/skill/skill.js
Normal file
@@ -0,0 +1,8 @@
|
||||
// Copyright (c) 2021, Frappe and contributors
|
||||
// For license information, please see license.txt
|
||||
|
||||
frappe.ui.form.on('Skill', {
|
||||
// refresh: function(frm) {
|
||||
|
||||
// }
|
||||
});
|
||||
30
school/lms/doctype/skill/skill.json
Normal file
30
school/lms/doctype/skill/skill.json
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"actions": [],
|
||||
"allow_rename": 1,
|
||||
"creation": "2021-12-07 12:22:44.139341",
|
||||
"doctype": "DocType",
|
||||
"editable_grid": 1,
|
||||
"engine": "InnoDB",
|
||||
"field_order": [
|
||||
"skill_name"
|
||||
],
|
||||
"fields": [
|
||||
{
|
||||
"fieldname": "skill_name",
|
||||
"fieldtype": "Data",
|
||||
"in_list_view": 1,
|
||||
"label": "Skill Name"
|
||||
}
|
||||
],
|
||||
"index_web_pages_for_search": 1,
|
||||
"istable": 1,
|
||||
"links": [],
|
||||
"modified": "2021-12-07 12:22:56.769638",
|
||||
"modified_by": "Administrator",
|
||||
"module": "LMS",
|
||||
"name": "Skill",
|
||||
"owner": "Administrator",
|
||||
"permissions": [],
|
||||
"sort_field": "modified",
|
||||
"sort_order": "DESC"
|
||||
}
|
||||
8
school/lms/doctype/skill/skill.py
Normal file
8
school/lms/doctype/skill/skill.py
Normal file
@@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2021, Frappe and contributors
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import frappe
|
||||
from frappe.model.document import Document
|
||||
|
||||
class Skill(Document):
|
||||
pass
|
||||
8
school/lms/doctype/skill/test_skill.py
Normal file
8
school/lms/doctype/skill/test_skill.py
Normal file
@@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2021, Frappe and Contributors
|
||||
# See license.txt
|
||||
|
||||
# import frappe
|
||||
import unittest
|
||||
|
||||
class TestSkill(unittest.TestCase):
|
||||
pass
|
||||
0
school/lms/doctype/work_experience/__init__.py
Normal file
0
school/lms/doctype/work_experience/__init__.py
Normal file
76
school/lms/doctype/work_experience/work_experience.json
Normal file
76
school/lms/doctype/work_experience/work_experience.json
Normal file
@@ -0,0 +1,76 @@
|
||||
{
|
||||
"actions": [],
|
||||
"allow_rename": 1,
|
||||
"creation": "2021-12-07 12:17:49.571045",
|
||||
"doctype": "DocType",
|
||||
"editable_grid": 1,
|
||||
"engine": "InnoDB",
|
||||
"field_order": [
|
||||
"title",
|
||||
"company",
|
||||
"location",
|
||||
"current",
|
||||
"from_date",
|
||||
"to_date",
|
||||
"description"
|
||||
],
|
||||
"fields": [
|
||||
{
|
||||
"fieldname": "title",
|
||||
"fieldtype": "Data",
|
||||
"in_list_view": 1,
|
||||
"label": "Title",
|
||||
"reqd": 1
|
||||
},
|
||||
{
|
||||
"fieldname": "company",
|
||||
"fieldtype": "Data",
|
||||
"in_list_view": 1,
|
||||
"label": "Company",
|
||||
"reqd": 1
|
||||
},
|
||||
{
|
||||
"fieldname": "location",
|
||||
"fieldtype": "Data",
|
||||
"in_list_view": 1,
|
||||
"label": "Location",
|
||||
"reqd": 1
|
||||
},
|
||||
{
|
||||
"fieldname": "from_date",
|
||||
"fieldtype": "Date",
|
||||
"in_list_view": 1,
|
||||
"label": "From Date",
|
||||
"reqd": 1
|
||||
},
|
||||
{
|
||||
"depends_on": "eval: !doc.current",
|
||||
"fieldname": "to_date",
|
||||
"fieldtype": "Date",
|
||||
"label": "To Date",
|
||||
"reqd": 1
|
||||
},
|
||||
{
|
||||
"fieldname": "description",
|
||||
"fieldtype": "Small Text",
|
||||
"label": "Description"
|
||||
},
|
||||
{
|
||||
"default": "0",
|
||||
"fieldname": "current",
|
||||
"fieldtype": "Check",
|
||||
"label": "I am currently working here"
|
||||
}
|
||||
],
|
||||
"index_web_pages_for_search": 1,
|
||||
"istable": 1,
|
||||
"links": [],
|
||||
"modified": "2021-12-07 12:18:39.885407",
|
||||
"modified_by": "Administrator",
|
||||
"module": "LMS",
|
||||
"name": "Work Experience",
|
||||
"owner": "Administrator",
|
||||
"permissions": [],
|
||||
"sort_field": "modified",
|
||||
"sort_order": "DESC"
|
||||
}
|
||||
8
school/lms/doctype/work_experience/work_experience.py
Normal file
8
school/lms/doctype/work_experience/work_experience.py
Normal file
@@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2021, Frappe and contributors
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import frappe
|
||||
from frappe.model.document import Document
|
||||
|
||||
class WorkExperience(Document):
|
||||
pass
|
||||
Reference in New Issue
Block a user