@ -0,0 +1,41 @@ |
|||
.. image:: https://img.shields.io/badge/license-LGPL--3-blue.svg |
|||
:target: https://www.gnu.org/licenses/lgpl-3.0-standalone.html |
|||
:alt: License: lGPL-3 |
|||
|
|||
Music School Institute |
|||
====================== |
|||
* A Complete Solution for Music School Institute. |
|||
|
|||
Configuration |
|||
============= |
|||
* No additional configuration is needed. |
|||
|
|||
License |
|||
------- |
|||
General Public License, Version 3 (LGPL v3). |
|||
(https://www.gnu.org/licenses/lgpl-3.0-standalone.html) |
|||
|
|||
Company |
|||
------- |
|||
* `Cybrosys Techno Solutions <https://cybrosys.com/>`__ |
|||
|
|||
Credits |
|||
------- |
|||
* Developer: (V17) Vishnu kp, Contact: odoo@cybrosys.com |
|||
|
|||
Bug Tracker |
|||
----------- |
|||
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. |
|||
|
|||
Maintainer |
|||
========== |
|||
.. image:: https://cybrosys.com/images/logo.png |
|||
:target: https://cybrosys.com |
|||
This module is maintained by Cybrosys Technologies. |
|||
|
|||
For support and more information, please visit https://www.cybrosys.com |
|||
|
|||
Further information |
|||
=================== |
|||
HTML Description: `<static/description/index.html>`__ |
|||
|
@ -0,0 +1,22 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
|||
# Author: Vishnu K P (<https://www.cybrosys.com>) |
|||
# |
|||
# You can modify it under the terms of the GNU LESSER |
|||
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. |
|||
# |
|||
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE |
|||
# (LGPL v3) along with this program. |
|||
# If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################# |
|||
from . import models |
@ -0,0 +1,53 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
|||
# Author: Vishnu K P (<https://www.cybrosys.com>) |
|||
# |
|||
# You can modify it under the terms of the GNU LESSER |
|||
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. |
|||
# |
|||
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE |
|||
# (LGPL v3) along with this program. |
|||
# If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################# |
|||
{ |
|||
"name": "Music School Institute", |
|||
"version": "17.0.1.0.0", |
|||
"category": "Industries", |
|||
"summary": "Efficiently manage teachers, students, classes, attendance, " |
|||
"fees, and more with our Music School Management module. ", |
|||
"description": """Simplify music school operations with this comprehensive |
|||
Odoo module. Manage teachers and students, track attendance, handle fees, |
|||
and plan events effortlessly. Stay organized and focus on nurturing |
|||
musical talent.""", |
|||
"author": "Cybrosys Techno Solutions", |
|||
"company": "Cybrosys Techno Solutions", |
|||
"maintainer": "Cybrosys Techno Solutions", |
|||
"website": "https://www.cybrosys.com", |
|||
"depends": ["stock", "sale", "calendar", "event", "hr"], |
|||
"data": [ |
|||
"security/music_school_institute_groups.xml", |
|||
"security/music_school_institute_security.xml", |
|||
"security/ir.model.access.csv", |
|||
"views/class_type_views.xml", |
|||
"views/res_partner_views.xml", |
|||
"views/product_template_views.xml", |
|||
"views/hr_employee_views.xml", |
|||
"views/class_lesson_views.xml", |
|||
"views/students_attendance_views.xml", |
|||
], |
|||
"license": "LGPL-3", |
|||
"images": ["static/description/banner.jpg"], |
|||
"installable": True, |
|||
"auto_install": False, |
|||
"application": False, |
|||
} |
@ -0,0 +1,7 @@ |
|||
## Module <music_school_institute> |
|||
|
|||
#### 01.04.2024 |
|||
#### Version 17.0.1.0.0 |
|||
##### ADD |
|||
|
|||
- Initial Commit for Music School Institute |
@ -0,0 +1,28 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
|||
# Author: Vishnu K P (<https://www.cybrosys.com>) |
|||
# |
|||
# You can modify it under the terms of the GNU LESSER |
|||
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. |
|||
# |
|||
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE |
|||
# (LGPL v3) along with this program. |
|||
# If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################# |
|||
from . import class_lesson |
|||
from . import class_type |
|||
from . import hr_employee |
|||
from . import product_template |
|||
from . import res_partner |
|||
from . import service_type |
|||
from . import students_attendance |
@ -0,0 +1,38 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
|||
# Author: Vishnu K P (<https://www.cybrosys.com>) |
|||
# |
|||
# You can modify it under the terms of the GNU LESSER |
|||
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. |
|||
# |
|||
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE |
|||
# (LGPL v3) along with this program. |
|||
# If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################## |
|||
from odoo import fields, models |
|||
|
|||
|
|||
class ClassLesson(models.Model): |
|||
"""Class is used to represent the lessons.""" |
|||
_name = 'class.lesson' |
|||
_description = 'Class Lesson' |
|||
|
|||
name = fields.Char(string='Name', help='Name of the lesson.', required=True) |
|||
hours = fields.Char(string='Hours', help='Hours of the lesson.') |
|||
teacher_id = fields.Many2one('hr.employee', string='Teacher', |
|||
domain=[('teacher', '=', True)], |
|||
help='Teacher assigned to the lesson.') |
|||
relation_id = fields.Many2one('class.type', |
|||
string='Relation ID', |
|||
help='Relation to the corresponding class.') |
|||
|
@ -0,0 +1,142 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
|||
# Author: Vishnu K P (<https://www.cybrosys.com>) |
|||
# |
|||
# You can modify it under the terms of the GNU LESSER |
|||
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. |
|||
# |
|||
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE |
|||
# (LGPL v3) along with this program. |
|||
# If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################# |
|||
from datetime import timedelta |
|||
from odoo import api, fields, models |
|||
|
|||
|
|||
class ClassType(models.Model): |
|||
"""Class is used to create the music class records.""" |
|||
_name = 'class.type' |
|||
_description = 'Class Type' |
|||
|
|||
name = fields.Char(string='Name', help='Class name.', required=True) |
|||
from_date = fields.Date(string='From', help='Class starting date.', |
|||
required=True) |
|||
to_date = fields.Date(string='To', help='Class ending date.', required=True) |
|||
duration = fields.Integer(string='Duration', compute='_compute_duration', |
|||
store=True, help='Duration of the class.') |
|||
service_id = fields.Many2one('service.type', string='Services', |
|||
help='Type of service.') |
|||
instrument_id = fields.Many2one('product.product', |
|||
String='Instrument', |
|||
domain=[('music_instrument', '=', True)], |
|||
help='Instrument used in the music class.') |
|||
teacher_id = fields.Many2one('hr.employee', string='Teacher', |
|||
domain=[('teacher', '=', True)], |
|||
help='Teacher name.') |
|||
location = fields.Char(string='Location', help='Location of the class.') |
|||
repeats = fields.Selection(selection=[('weekly', 'Weekly'), |
|||
('monthly', 'Monthly')], |
|||
string='Repeats', |
|||
help='Repeated days per week.') |
|||
state = fields.Selection( |
|||
selection=[('draft', 'Draft'), ('started', 'Started'), |
|||
('completed', 'Completed'), |
|||
('invoice', 'Invoiced'), ('canceled', 'Canceled')], |
|||
default='draft', help='State of the class.') |
|||
lesson_ids = fields.One2many('class.lesson', |
|||
'relation_id', |
|||
String='Class Lessons', |
|||
help='Daily class lessons records.') |
|||
student_ids = fields.Many2many('res.partner', string='Student', |
|||
domain=[('student', '=', True)], |
|||
String='Student ID', |
|||
help='Student who joined in the class.', |
|||
required=True) |
|||
order_count = fields.Integer(compute='_compute_order_count', |
|||
String='Order Count', |
|||
help='Total count of the invoice.') |
|||
sunday = fields.Boolean(string='Sunday', help='Mark the day as a workday.') |
|||
monday = fields.Boolean(string='Monday', help='Mark the day as a workday.') |
|||
tuesday = fields.Boolean(string='Tuesday', |
|||
help='Mark the day as a workday.') |
|||
wednesday = fields.Boolean(string='Wednesday', |
|||
help='Mark the day as a workday.') |
|||
thursday = fields.Boolean(string='Thursday', |
|||
help='Mark the day as a workday.') |
|||
friday = fields.Boolean(string='Friday', help='Mark the day as a workday.') |
|||
saturday = fields.Boolean(string='Saturday', |
|||
help='Mark the day as a workday.') |
|||
company_id = fields.Many2one('res.company', string='Company', |
|||
copy=False, readonly=True, |
|||
help="Current company", |
|||
default=lambda |
|||
self: self.env.company.id) |
|||
|
|||
@api.depends('from_date', 'to_date') |
|||
def _compute_duration(self): |
|||
"""Function used to compute the days between the from and to date.""" |
|||
for records in self: |
|||
if records.from_date and records.to_date: |
|||
num_work_days = 0 |
|||
current_date = records.from_date |
|||
while current_date <= records.to_date: |
|||
if current_date.weekday() < 5: |
|||
num_work_days += 1 |
|||
current_date += timedelta(days=1) |
|||
self.duration = num_work_days |
|||
|
|||
def action_button_class_start(self): |
|||
"""Change the corresponding class state to start.""" |
|||
self.write({'state': 'started'}) |
|||
return self._compute_duration() |
|||
|
|||
def action_button_set_to_draft(self): |
|||
"""Change the corresponding class state to draft.""" |
|||
self.write({'state': 'draft'}) |
|||
|
|||
def action_button_class_cancel(self): |
|||
"""Change the corresponding class state to cancel.""" |
|||
self.write({'state': 'canceled'}) |
|||
|
|||
def action_button_class_completed(self): |
|||
"""Change the corresponding class state to complete.""" |
|||
self.write({'state': 'completed'}) |
|||
|
|||
def action_button_create_order(self): |
|||
"""Button to create the invoice.""" |
|||
for student in self.student_ids: |
|||
self.env['account.move'].create([ |
|||
{'move_type': 'out_invoice', |
|||
'partner_id': student.id, |
|||
'invoice_date': self.from_date, |
|||
'invoice_line_ids': [(0, 0, { |
|||
'product_id': self.instrument_id.id, |
|||
'price_unit': self.instrument_id.lst_price, |
|||
'quantity': self.duration})]}]) |
|||
self.write({'state': 'invoice'}) |
|||
|
|||
def related_order(self): |
|||
"""Related invoice in smart button.""" |
|||
return { |
|||
'type': 'ir.actions.act_window', |
|||
'name': 'Invoices', |
|||
'view_mode': 'tree,form', |
|||
'res_model': 'account.move', |
|||
'domain': [('partner_id', 'in', self.student_ids.ids)], |
|||
'context': {'create': False}} |
|||
|
|||
def _compute_order_count(self): |
|||
"""To compute the total count of the invoice.""" |
|||
for record in self: |
|||
record.order_count = self.env['account.move'].search_count( |
|||
[('partner_id', 'in', self.student_ids.ids)]) |
@ -0,0 +1,30 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
|||
# Author: Vishnu k P (<https://www.cybrosys.com>) |
|||
# |
|||
# You can modify it under the terms of the GNU LESSER |
|||
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. |
|||
# |
|||
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE |
|||
# (LGPL v3) along with this program. |
|||
# If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################# |
|||
from odoo import fields, models |
|||
|
|||
|
|||
class HrEmployee(models.Model): |
|||
"""Model used to create the records of teacher.""" |
|||
_inherit = 'hr.employee' |
|||
|
|||
teacher = fields.Boolean(string='Is Teacher', help='Used to mark the ' |
|||
'employee as a teacher.') |
@ -0,0 +1,33 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
|||
# Author: Vishnu K P (<https://www.cybrosys.com>) |
|||
# |
|||
# You can modify it under the terms of the GNU LESSER |
|||
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. |
|||
# |
|||
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE |
|||
# (LGPL v3) along with this program. |
|||
# If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################# |
|||
from odoo import fields, models |
|||
|
|||
|
|||
class ProductTemplate(models.Model): |
|||
"""Model used to product template as an instrument.""" |
|||
_inherit = "product.template" |
|||
|
|||
music_instrument = fields.Boolean(string='Music Instrument', |
|||
help='Enable the boolean consider' |
|||
' as instrument.') |
|||
event_ticket = fields.Boolean(string='Event Ticket', |
|||
help='Used to mark the contact as a student.') |
@ -0,0 +1,59 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
|||
# Author: Vishnu K P (<https://www.cybrosys.com>) |
|||
# |
|||
# You can modify it under the terms of the GNU LESSER |
|||
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. |
|||
# |
|||
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE |
|||
# (LGPL v3) along with this program. |
|||
# If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################# |
|||
from odoo import fields, models |
|||
|
|||
|
|||
class ResPartner(models.Model): |
|||
"""Model for adding details about the students in contact module.""" |
|||
_inherit = 'res.partner' |
|||
|
|||
student = fields.Boolean(string='Is Student', |
|||
help='Used to mark the contact as a student.') |
|||
class_id = fields.Many2one('class.type', string='Joined Class', |
|||
help='Relation field use to connect the class ' |
|||
'type to the contact.') |
|||
attendance_count = fields.Integer(String='Attendance Count', |
|||
compute='_compute_attendance_count', |
|||
help='Attendance count displaying field.') |
|||
student_type = fields.Selection( |
|||
[('part_time', 'Part Time'), ('full_time', 'Full Time')], |
|||
string='Course Mode', |
|||
help='Field used to define the student selected class type.') |
|||
|
|||
def class_attendance_view(self): |
|||
"""Function used to view the student attendance.""" |
|||
return { |
|||
'type': 'ir.actions.act_window', |
|||
'name': 'class', |
|||
'view_mode': 'tree', |
|||
'res_model': 'students.attendance', |
|||
'domain': [ |
|||
('student_id', '=', self.id)], |
|||
'context': "{'create': False}"} |
|||
|
|||
def _compute_attendance_count(self): |
|||
"""Function used to count the attendance.""" |
|||
for record in self: |
|||
record.attendance_count = self.env[ |
|||
'students.attendance'].search_count( |
|||
[('student_id', '=', record.id), |
|||
('attendance', '=', 'present')]) |
@ -0,0 +1,36 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
|||
# Author: Vishnu K P (<https://www.cybrosys.com>) |
|||
# |
|||
# You can modify it under the terms of the GNU LESSER |
|||
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. |
|||
# |
|||
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE |
|||
# (LGPL v3) along with this program. |
|||
# If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################# |
|||
from odoo import fields, models |
|||
|
|||
|
|||
class ServiceType(models.Model): |
|||
"""Service type model and the fields are used to create the service.""" |
|||
_name = 'service.type' |
|||
_description = 'Service Type' |
|||
|
|||
name = fields.Char(string='Name', help='Name of the service.', |
|||
required=True) |
|||
instrument = fields.Char(string='Instrument', help='Instrument used in the ' |
|||
'service.') |
|||
teacher_id = fields.Many2one('hr.employee', string='Teacher', |
|||
domain=[('teacher', '=', True)], |
|||
help='Teacher assigned to the lesson.') |
@ -0,0 +1,43 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
|||
# Author: Vishnu K P (<https://www.cybrosys.com>) |
|||
# |
|||
# You can modify it under the terms of the GNU LESSER |
|||
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. |
|||
# |
|||
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE |
|||
# (LGPL v3) along with this program. |
|||
# If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################# |
|||
from odoo import fields, models |
|||
|
|||
|
|||
class StudentsAttendance(models.Model): |
|||
"""Model used to create the records of attendance.""" |
|||
_name = "students.attendance" |
|||
_description = 'Students Attendance' |
|||
_rec_name = 'student_id' |
|||
|
|||
student_id = fields.Many2one('res.partner', string='Students', |
|||
domain=[('student', '=', True)], |
|||
help="Name of the student.", required=True) |
|||
attendance = fields.Selection([('present', 'Present'), |
|||
('absent', 'Absent')], string='Attendance', |
|||
help="Attendance selection field.") |
|||
date = fields.Date(string='Date', default=fields.Date.today(), |
|||
help='Date of the student attendance.') |
|||
company_id = fields.Many2one('res.company', string='Company', |
|||
copy=False, readonly=True, |
|||
help="Current company", |
|||
default=lambda |
|||
self: self.env.company.id) |
|
@ -0,0 +1,17 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<odoo> |
|||
<data noupdate="1"> |
|||
<!-- Created category for Music School--> |
|||
<record id="module_category_music_school" |
|||
model="ir.module.category"> |
|||
<field name="name">Music School</field> |
|||
<field name="sequence">0</field> |
|||
<field name="visible" eval="0"/> |
|||
</record> |
|||
<record id="group_music_school" model="res.groups"> |
|||
<field name="name">School Manager</field> |
|||
<field name="category_id" ref="module_category_music_school"/> |
|||
</record> |
|||
|
|||
</data> |
|||
</odoo> |
@ -0,0 +1,23 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<odoo> |
|||
<data noupdate="1"> |
|||
|
|||
<!-- Record rules for company--> |
|||
<record id="music_school_rule_multi_company" model="ir.rule"> |
|||
<field name="name">Students Attendance multi-company</field> |
|||
<field name="model_id" ref="model_students_attendance"/> |
|||
<field eval="True" name="global"/> |
|||
<field name="domain_force">['|', ('company_id', 'in', company_ids), |
|||
('company_id', '=', False)] |
|||
</field> |
|||
</record> |
|||
<record id="class_type_rule_multi_company" model="ir.rule"> |
|||
<field name="name">Class Type multi-company</field> |
|||
<field name="model_id" ref="model_class_type"/> |
|||
<field eval="True" name="global"/> |
|||
<field name="domain_force">['|', ('company_id', 'in', company_ids), |
|||
('company_id', '=', False)] |
|||
</field> |
|||
</record> |
|||
</data> |
|||
</odoo> |
After Width: | Height: | Size: 36 KiB |
After Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 310 B |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 576 B |
After Width: | Height: | Size: 733 B |
After Width: | Height: | Size: 911 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 673 B |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 878 B |
After Width: | Height: | Size: 653 B |
After Width: | Height: | Size: 905 B |
After Width: | Height: | Size: 839 B |
After Width: | Height: | Size: 427 B |
After Width: | Height: | Size: 627 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 988 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 80 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 4.4 KiB |
After Width: | Height: | Size: 3.2 KiB |
After Width: | Height: | Size: 589 B |
After Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 565 B |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 967 B |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 43 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 3.8 KiB |
After Width: | Height: | Size: 4.0 KiB |
After Width: | Height: | Size: 38 KiB |
After Width: | Height: | Size: 5.0 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 72 KiB |
After Width: | Height: | Size: 82 KiB |
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 86 KiB |
After Width: | Height: | Size: 68 KiB |
After Width: | Height: | Size: 87 KiB |
After Width: | Height: | Size: 86 KiB |
After Width: | Height: | Size: 161 KiB |
After Width: | Height: | Size: 96 KiB |
After Width: | Height: | Size: 112 KiB |
After Width: | Height: | Size: 95 KiB |
After Width: | Height: | Size: 39 KiB |
After Width: | Height: | Size: 56 KiB |
After Width: | Height: | Size: 82 KiB |
After Width: | Height: | Size: 50 KiB |
After Width: | Height: | Size: 6.4 KiB |
@ -0,0 +1,685 @@ |
|||
<!DOCTYPE html> |
|||
<html lang="en"> |
|||
|
|||
<head> |
|||
<meta charset="UTF-8"> |
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
|||
<title>Odoo App 3 Index</title> |
|||
<!-- Bootstrap CSS --> |
|||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/css/bootstrap.min.css" |
|||
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous"> |
|||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css"> |
|||
<link rel="preconnect" href="https://fonts.googleapis.com"> |
|||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> |
|||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet"> |
|||
</head> |
|||
<body> |
|||
<section> |
|||
<div class="container" style="font-family: 'Inter', sans-serif !important;background-color: #fff !important;"> |
|||
<div class="row"> |
|||
<div class="col-sm-12 col-md-12 col-lg-12 d-flex justify-content-between flex-wrap align-items-sm-center" |
|||
style="border-bottom:1px solid rgba(0, 0, 0, 0.22)"> |
|||
<div class="my-3"> |
|||
<img src="assets/misc/Cybrosys R.png" |
|||
style="width:auto !important; height:40px !important"> |
|||
</div> |
|||
<div class="my-3 d-flex align-items-center"> |
|||
<div class="text-center" |
|||
style="background-color:#017E84 !important;font-size: 0.8rem !important; color:#fff !important; font-weight:500 !important; padding:4px !important; margin:0 3px !important; border-radius:50px !important; min-width: 120px !important;"> |
|||
Community |
|||
</div> |
|||
<div class="text-center" |
|||
style="background-color:#875A7B !important; color:#fff !important;font-size: 0.8rem !important; font-weight:500 !important; padding:4px !important; margin:0 3px !important; border-radius:50px !important;min-width: 120px !important;"> |
|||
Enterprise |
|||
</div> |
|||
<div class="text-center" |
|||
style="background-color:#7C7BAD !important; color:#fff !important;font-size: 0.8rem !important; font-weight:500 !important; padding:4px !important; margin:0 3px !important; border-radius:50px !important; min-width: 120px !important;"> |
|||
Odoo.sh |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="row"> |
|||
<div class="col-sm-12 col-md-12 col-lg-12 text-center d-flex align-items-center flex-column" |
|||
style="margin: 80px 0px !important;"> |
|||
<h1 style="font-size: 2.8rem;font-weight: 700; color: |
|||
#1A202C;"> |
|||
Music School Institute</h1> |
|||
<p class="my-3 mb-4" |
|||
style="max-width: 80%; font-weight: 400 !important; line-height: 32px; color: #718096;"> |
|||
A Module For Managing Music School |
|||
</p> |
|||
<div style="width: 80%; margin-top: 3rem;"> |
|||
<img src="assets/screenshots/hero.gif" class="img-responsive" width="100%" height="auto"> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<!-- screenshot section--> |
|||
<div class="container mt-5 mb-5"> |
|||
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-4"> |
|||
<p class="m-0" style="font-weight: 600; font-size: 24px; color:#714b67 !important">Key Highlights |
|||
</p> |
|||
</div> |
|||
<div class="row py-4"> |
|||
<div class="col-md-6 col-sm-12 p-3"> |
|||
<div class="d-flex h-100" style="padding: 30px;border-radius: 12px; |
|||
background: #FFF; |
|||
box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); "> |
|||
<div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67; |
|||
display: flex; justify-content: center; align-items: center; |
|||
margin-right: 10px; flex-shrink: 0;"> |
|||
<i class="fa-solid fa-star " style="color: #fff;font-size:14px;"></i> |
|||
</div> |
|||
<div> |
|||
<p style="color: #1A202C;font-weight: 600; |
|||
font-size: 1.2rem; margin-bottom: 2px;">Class Management</p> |
|||
<p class="m-0" style="color:#718096">Can Manage Different Class. |
|||
</p> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-6 col-sm-12 p-3"> |
|||
<div class="d-flex h-100" style="padding: 30px;border-radius: 12px; |
|||
background: #FFF; |
|||
box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); "> |
|||
<div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67; |
|||
display: flex; justify-content: center; align-items: center; |
|||
margin-right: 10px; flex-shrink: 0;"> |
|||
<i class="fa-solid fa-star " style="color: #fff;font-size:14px;"></i> |
|||
</div> |
|||
<div> |
|||
<p style="color: #1A202C;font-weight: 600; |
|||
font-size: 1.2rem; margin-bottom: 2px;">Students Management</p> |
|||
<p class="m-0" style="color:#718096">Easily add Student to the class and can view part-time and full time students. |
|||
</p> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-6 col-sm-12 p-3"> |
|||
<div class="d-flex h-100" style="padding: 30px;border-radius: 12px; |
|||
background: #FFF; |
|||
box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); "> |
|||
<div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67; |
|||
display: flex; justify-content: center; align-items: center; |
|||
margin-right: 10px; flex-shrink: 0;"> |
|||
<i class="fa-solid fa-star " style="color: #fff;font-size:14px;"></i> |
|||
</div> |
|||
<div> |
|||
<p style="color: #1A202C;font-weight: 600; |
|||
font-size: 1.2rem; margin-bottom: 2px;">Events Management</p> |
|||
<p class="m-0" style="color:#718096">Easily create events for music class and can sell the seat. |
|||
</p> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-6 col-sm-12 p-3"> |
|||
<div class="d-flex h-100" style="padding: 30px;border-radius: 12px; |
|||
background: #FFF; |
|||
box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); "> |
|||
<div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67; |
|||
display: flex; justify-content: center; align-items: center; |
|||
margin-right: 10px; flex-shrink: 0;"> |
|||
<i class="fa-solid fa-star " style="color: #fff;font-size:14px;"></i> |
|||
</div> |
|||
<div> |
|||
<p style="color: #1A202C;font-weight: 600; |
|||
font-size: 1.2rem; margin-bottom: 2px;">Informative Form Page</p> |
|||
<p class="m-0" style="color:#718096">Class related order count is visible and can see the invoice. |
|||
</p> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-6 col-sm-12 p-3"> |
|||
<div class="d-flex h-100" style="padding: 30px;border-radius: 12px; |
|||
background: #FFF; |
|||
box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); "> |
|||
<div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67; |
|||
display: flex; justify-content: center; align-items: center; |
|||
margin-right: 10px; flex-shrink: 0;"> |
|||
<i class="fa-solid fa-star " style="color: #fff;font-size:14px;"></i> |
|||
</div> |
|||
<div> |
|||
<p style="color: #1A202C;font-weight: 600; |
|||
font-size: 1.2rem; margin-bottom: 2px;">Teachers Management</p> |
|||
<p class="m-0" style="color:#718096">Easily manage your Teachers records. |
|||
</p> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-6 col-sm-12 p-3"> |
|||
<div class="d-flex h-100" style="padding: 30px;border-radius: 12px; |
|||
background: #FFF; |
|||
box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); "> |
|||
<div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67; |
|||
display: flex; justify-content: center; align-items: center; |
|||
margin-right: 10px; flex-shrink: 0;"> |
|||
<i class="fa-solid fa-star " style="color: #fff;font-size:14px;"></i> |
|||
</div> |
|||
<div> |
|||
<p style="color: #1A202C;font-weight: 600; |
|||
font-size: 1.2rem; margin-bottom: 2px;">Attendance</p> |
|||
<p class="m-0" style="color:#718096">Easy way to add attendance of the students and can issue invoice based on the attendance. |
|||
</p> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="container rounded" > |
|||
<ul class="nav nav-tabs d-flex" style="width: fit-content;margin: 0 auto;gap: 1rem;"> |
|||
<li class="col text-center py-2 text-nowrap " |
|||
style="color: #fff; background-color: #714B67;border-radius: 6px 6px 0px 0px;"><a |
|||
class="active show" data-toggle="tab" href="#tab1" |
|||
style="color: #fff;font-weight: 500; background-color: #714B67; text-decoration: none;"> |
|||
<i class="fa-regular fa-image pr-2" style="color: #fff;"></i> |
|||
Screenshots</a></li> |
|||
<li class="col text-center py-2 text-nowrap " |
|||
style="color: #fff; background-color: #714B67;border-radius: 6px 6px 0px 0px;"><a |
|||
data-toggle="tab" href="#tab2" |
|||
style="color: #fff;font-weight: 500; text-decoration: none;"><i |
|||
class="fa-solid fa-star pr-2" style="color: #fff;"></i>Features</a></li> |
|||
<li class="col text-center py-2 text-nowrap " |
|||
style="color: #fff; background-color: #714B67;border-radius: 6px 6px 0px 0px;"><a |
|||
data-toggle="tab" href="#tab3" |
|||
style="color: #fff;font-weight: 500; text-decoration: none; background-color: #714B67;"><i |
|||
class="fa-solid fa-book-open pr-2" style="color: #fff;"></i>Released Notes</a></li> |
|||
</ul> |
|||
<!-- Screenshot--> |
|||
<div class="tab-content" style="background-color: rgba(121, 113, 119, 0.04);"> |
|||
<div id="tab1" class="tab-pane fade in active show"> |
|||
|
|||
<div class="col-lg-12 py-2" style="padding: 1rem 4rem !important;"> |
|||
<div |
|||
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<div class="row justify-content-center p-3 w-100 m-0"> |
|||
<img src="assets/screenshots/ms1.png" class="img-responsive" width="100%" height="auto"> |
|||
</div> |
|||
<div class="px-3"> |
|||
<h4 class="mt-2" |
|||
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
|||
Teachers</h4> |
|||
<h6 class="mt-2" |
|||
style=" font-weight:300 !important; color:#282F33 !important; font-size:0.7rem !important"> |
|||
Teachers Management</h6> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="col-lg-12 py-2" style="padding: 1rem 4rem !important;"> |
|||
<div |
|||
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<div class="row justify-content-center p-3 w-100 m-0"> |
|||
<img src="assets/screenshots/ms2.png" class="img-responsive" width="100%" height="auto"> |
|||
</div> |
|||
<div class="px-3"> |
|||
<h4 class="mt-2" |
|||
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
|||
Students</h4> |
|||
<h6 class="mt-2" |
|||
style=" font-weight:300 !important; color:#282F33 !important; font-size:0.7rem !important">Students Management |
|||
</h6> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="col-lg-12 py-2" style="padding: 1rem 4rem !important;"> |
|||
<div |
|||
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<div class="row justify-content-center p-3 w-100 m-0"> |
|||
<img src="assets/screenshots/ms3.png" class="img-responsive" width="100%" height="auto"> |
|||
</div> |
|||
<div class="px-3"> |
|||
<h4 class="mt-2" |
|||
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
|||
Events Management</h4> |
|||
<h6 class="mt-2" |
|||
style=" font-weight:300 !important; color:#282F33 !important; font-size:0.7rem !important">Events Management |
|||
</h6> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="col-lg-12 py-2" style="padding: 1rem 4rem !important;"> |
|||
<div |
|||
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<div class="row justify-content-center p-3 w-100 m-0"> |
|||
<img src="assets/screenshots/ms4.png" class="img-responsive" width="100%" height="auto"> |
|||
</div> |
|||
<div class="px-3"> |
|||
<h4 class="mt-2" |
|||
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
|||
Instrument Management</h4> |
|||
<h6 class="mt-2" |
|||
style=" font-weight:300 !important; color:#282F33 !important; font-size:0.7rem !important"> |
|||
</h6> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="col-lg-12 py-2" style="padding: 1rem 4rem !important;"> |
|||
<div |
|||
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<div class="row justify-content-center p-3 w-100 m-0"> |
|||
<img src="assets/screenshots/ms5.png" class="img-responsive" width="100%" height="auto"> |
|||
</div> |
|||
<div class="px-3"> |
|||
<h4 class="mt-2" |
|||
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
|||
Attendance</h4> |
|||
<h6 class="mt-2" |
|||
style=" font-weight:300 !important; color:#282F33 !important; font-size:0.7rem !important">Can add students attendance to the program. |
|||
</h6> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="col-lg-12 py-2" style="padding: 1rem 4rem !important;"> |
|||
<div |
|||
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<div class="row justify-content-center p-3 w-100 m-0"> |
|||
<img src="assets/screenshots/ms6.png" class="img-responsive" width="100%" height="auto"> |
|||
</div> |
|||
<div class="px-3"> |
|||
<h4 class="mt-2" |
|||
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
|||
Music Class Management</h4> |
|||
<h6 class="mt-2" |
|||
style=" font-weight:300 !important; color:#282F33 !important; font-size:0.7rem !important">Create New Music Class Management from here. |
|||
</h6> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div id="tab2" class="tab-pane fade"> |
|||
<div class="col-mg-12" style="padding: 1rem 4rem;"> |
|||
<ul style="list-style: none; padding: 1rem 0;font-weight: 500;"> |
|||
<li class="py-3" |
|||
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<span style="margin-right: 12px;"><img src="assets/misc/star (1) 2.svg" alt="" |
|||
width="16px"></span>Can Manage Different Class. |
|||
<li class="py-3" |
|||
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<span style="margin-right: 12px;"><img src="assets/misc/star (1) 2.svg" alt="" |
|||
width="16px"></span>Easily add Student to the class and can view part-time and full time students. |
|||
<li class="py-3" |
|||
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<span style="margin-right: 12px;"><img src="assets/misc/star (1) 2.svg" alt="" |
|||
width="16px"></span>Easily create events for music class and can sell the seat. |
|||
<li class="py-3" |
|||
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<span style="margin-right: 12px;"><img src="assets/misc/star (1) 2.svg" alt="" |
|||
width="16px"></span>Easily manage your Teachers records. |
|||
<li class="py-3" |
|||
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<span style="margin-right: 12px;"><img src="assets/misc/star (1) 2.svg" alt="" |
|||
width="16px"></span>Class related order count is visible and can see the invoice. |
|||
<li class="py-3" |
|||
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<span style="margin-right: 12px;"><img src="assets/misc/star (1) 2.svg" alt="" |
|||
width="16px"></span>Easy way to add attendance of the students and can issue invoice based on the attendance. |
|||
|
|||
</ul> |
|||
</div> |
|||
</div> |
|||
<div id="tab3" class="tab-pane fade"> |
|||
<div class="col-mg-12 active" style="padding: 1rem 4rem;"> |
|||
<div class="py-3" |
|||
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<div class="d-flex mb-3" style="font-size: 0.8rem; font-weight: 500;"><span>Version |
|||
17.0.1.0.0</span><span class="px-2">|</span><span |
|||
style="color: #714B67;font-weight: 600;">Released on:08th Mar 2024</span> |
|||
</div> |
|||
<p class="m-0" |
|||
style=" color:#718096!important; font-size:1rem !important;line-height: 28px;"> |
|||
Odoo 17 Music School Institute.</p> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="container mt-5"> |
|||
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-5"> |
|||
<p class="m-0" style="font-weight: 600; font-size: 24px; color:#000 !important">Related Products</p> |
|||
</div> |
|||
</div> |
|||
<div id="myCarousel" class="carousel slide py-3" data-ride="carousel"> |
|||
<div class="carousel-inner"> |
|||
<div class="carousel-item active"> |
|||
<div class="row p-4"> |
|||
<div class="col"> |
|||
<div class="p-3"> |
|||
<a href="https://apps.odoo.com/apps/modules/16.0/manufacturing_reports/" style="color: #000; text-decoration: none;"> |
|||
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> |
|||
<div style="width: 300px; "> |
|||
<img src="assets/modules/1.png" alt="" width="100%" height="auto"> |
|||
</div> |
|||
<p class="text-center pt-2 text-black font-weight-bold">Manufacturing Reports</p> |
|||
</div> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
<div class="col"> |
|||
<div class="p-3"> |
|||
<a href="https://apps.odoo.com/apps/modules/16.0/mrp_work_order_print/" style="color: #000; text-decoration: none;"> |
|||
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> |
|||
<div style="width: 300px; "> |
|||
<img src="assets/modules/2.png" alt="" width="100%" height="auto"> |
|||
</div> |
|||
<p class="text-center pt-2 text-black font-weight-bold">Print Work Order Details</p> |
|||
</div> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
<div class="col"> |
|||
<div class="p-3"> |
|||
<a href="https://apps.odoo.com/apps/modules/16.0/bom_total_cost/" style="color: #000; text-decoration: none;"> |
|||
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> |
|||
<div style="width: 300px; "> |
|||
<img src="assets/modules/3.png" alt="" width="100%" height="auto"> |
|||
</div> |
|||
<p class="text-center pt-2 text-black font-weight-bold">Show Total Cost On BOM</p> |
|||
</div> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="carousel-item"> |
|||
<div class="row p-4"> |
|||
<div class="col"> |
|||
<div class="p-3"> |
|||
<a href="https://apps.odoo.com/apps/modules/16.0/simple_mrp_order/" style="color: #000; text-decoration: none;"> |
|||
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> |
|||
<div style="width: 300px; "> |
|||
<img src="assets/modules/4.png" alt="" width="100%" height="auto"> |
|||
</div> |
|||
<p class="text-center pt-2 text-black font-weight-bold">Simple Manufacturing Orders</p> |
|||
</div> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
<div class="col"> |
|||
<div class="p-3"> |
|||
<a href="https://apps.odoo.com/apps/modules/16.0/bom_multiple_product/" style="color: #000; text-decoration: none;"> |
|||
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> |
|||
<div style="width: 300px;"> |
|||
<img src="assets/modules/5.png" alt="" width="100%" height="auto"> |
|||
|
|||
</div> |
|||
<p class="text-center pt-2 text-black font-weight-bold">BOM Multiple Product Selection</p> |
|||
</div> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
<div class="col"> |
|||
<div class="p-3"> |
|||
<a href="https://apps.odoo.com/apps/modules/16.0/cw_mrp/" style="color: #000; text-decoration: none;"> |
|||
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> |
|||
<div style="width: 300px;"> |
|||
<img src="assets/modules/6.png" alt="" width="100%" height="auto"> |
|||
</div> |
|||
<p class="text-center pt-2 text-black font-weight-bold"> Catch Weight Management: Manufacturing</p> |
|||
</div> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<a class="carousel-control-prev" href="#myCarousel" data-slide="prev" style="width: 35px; color: #000;"> |
|||
<span class="carousel-control-prev-icon"> |
|||
<i class="fa fa-chevron-left" style="font-size: 24px;"></i> |
|||
</span> |
|||
</a> |
|||
<a class="carousel-control-next" href="#myCarousel" data-slide="next" style="width: 35px; color: #000;"> |
|||
<span class="carousel-control-next-icon"> |
|||
<i class="fa fa-chevron-right" style="font-size: 24px;"></i> |
|||
</span> |
|||
</a> |
|||
</div> |
|||
<div class="container mt-5"> |
|||
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-4"> |
|||
<p class="m-0" style="font-weight: 600; font-size: 24px; color:#000 !important">Our Services</p> |
|||
|
|||
</div> |
|||
</div> |
|||
<div class="container my-5"> |
|||
<div class="row py-3"> |
|||
<div class="col-md-4 col-sm-6 px-4 py-4"> |
|||
<div |
|||
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;"> |
|||
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
|||
<div style="background-color:#13EA36 ; border-radius: 50%; padding: 15px; width: 68px; |
|||
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
|||
<img src="assets/icons/cogs.png" alt="service-icon" width="38px" height="auto"> |
|||
</div> |
|||
</div> |
|||
<p style="margin-top: 20px; font-weight: bold;">Odoo Customization</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 px-4 py-4"> |
|||
<div |
|||
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;"> |
|||
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
|||
<div style="background-color:#DBC711; border-radius: 50%; padding: 15px; width: 68px; |
|||
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
|||
<img src="assets/icons/wrench.png" alt="service-icon" width="38px" height="auto"> |
|||
</div> |
|||
</div> |
|||
<p style="margin-top: 20px; font-weight: bold;">Odoo Implementation</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 px-4 py-4"> |
|||
<div |
|||
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative; border-radius: 4px;"> |
|||
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
|||
<div style="background-color:#FF6B6B ; border-radius: 50%; padding: 15px; width: 68px; |
|||
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
|||
<img src="assets/icons/lifebuoy.png" alt="service-icon" width="38px" height="auto"> |
|||
</div> |
|||
</div> |
|||
<p style="margin-top: 20px; font-weight: bold;">Odoo Support</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 px-4 py-4"> |
|||
<div |
|||
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative; border-radius: 4px;"> |
|||
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
|||
<div style="background-color:#FFA801 ; border-radius: 50%; padding: 15px; width: 68px; |
|||
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
|||
<img src="assets/icons/user.png" alt="service-icon" width="38px" height="auto"> |
|||
</div> |
|||
</div> |
|||
<p style="margin-top: 20px; font-weight: bold;">Hire Odoo Developer</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 px-4 py-4"> |
|||
<div |
|||
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative; border-radius: 4px;"> |
|||
|
|||
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
|||
<div style="background-color:#54A0FF; border-radius: 50%; padding: 15px; width: 68px; |
|||
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
|||
<img src="assets/icons/puzzle.png" alt="service-icon" width="38px" height="auto"> |
|||
</div> |
|||
</div> |
|||
<p style="margin-top: 20px; font-weight: bold;">Odoo Integration</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 px-4 py-4"> |
|||
<div |
|||
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;"> |
|||
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
|||
<div style="background-color:#6D7680 ; border-radius: 50%; padding: 15px; width: 68px; |
|||
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
|||
<img src="assets/icons/update.png" alt="service-icon" width="38px" height="auto"> |
|||
</div> |
|||
</div> |
|||
<p style="margin-top: 20px; font-weight: bold;">Odoo Migration</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 px-4 py-4"> |
|||
<div |
|||
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;"> |
|||
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
|||
<div style="background-color:#786FA6 ; border-radius: 50%; padding: 15px; width: 68px; |
|||
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
|||
<img src="assets/icons/consultation.png" alt="service-icon" width="38px" height="auto"> |
|||
</div> |
|||
</div> |
|||
<p style="margin-top: 20px; font-weight: bold;">Odoo Consultancy</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 px-4 py-4"> |
|||
<div |
|||
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;position: relative;border-radius: 4px;"> |
|||
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
|||
<div style="background-color:#F8A5C2 ; border-radius: 50%; padding: 15px; width: 68px; |
|||
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
|||
<img src="assets/icons/training.png" alt="service-icon" width="38px" height="auto"> |
|||
</div> |
|||
</div> |
|||
<p style="margin-top: 20px; font-weight: bold;">Odoo Implementation</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 px-4 py-4"> |
|||
<div |
|||
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;"> |
|||
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
|||
<div style="background-color:#E6BE26; border-radius: 50%; padding: 15px; width: 68px; |
|||
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
|||
<img src="assets/icons/license.png" alt="service-icon" width="38px" height="auto"> |
|||
</div> |
|||
</div> |
|||
<p style="margin-top: 20px; font-weight: bold;">Odoo Licensing Consultancy</p> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="container mt-5"> |
|||
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-4"> |
|||
<p class="m-0" style="font-weight: 600; font-size: 24px; color:#000 !important">Our Industries</p> |
|||
|
|||
</div> |
|||
</div> |
|||
<div class="container"> |
|||
<div class="row my-5 py-4"> |
|||
<div class="col-md-3 col-sm-6 p-0"> |
|||
<div class="d-flex flex-column h-100 " |
|||
style="border-right: 1px solid rgb(209, 209, 209); border-bottom: 1px solid rgb(209, 209, 209); padding: 30px; box-shadow: 6px 0 10px rgba(228, 227, 227, 0.373);"> |
|||
<img src="assets/icons/trading-black.png" width="42px" height="auto" alt=""> |
|||
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
|||
font-size: 1.2rem; margin-bottom: 2px;">Trading</p> |
|||
<p>Easily procure and sell your products</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-3 col-sm-6 p-0"> |
|||
<div class="d-flex flex-column h-100" |
|||
style="border-right: 1px solid rgb(209, 209, 209);border-bottom: 1px solid rgb(209, 209, 209); padding: 30px;"> |
|||
<img src="assets/icons/pos-black.png" width="42px" height="auto" alt=""> |
|||
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
|||
font-size: 1.2rem; margin-bottom: 2px;">POS</p> |
|||
<p>Easy configuration and convivial experience</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-3 col-sm-6 p-0"> |
|||
<div class="d-flex flex-column h-100" |
|||
style="border-right: 1px solid rgb(209, 209, 209);border-bottom: 1px solid rgba(0, 0, 0, 0.2); padding: 30px; box-shadow: 0 5px 10px rgba(228, 227, 227, 0.373)"> |
|||
<img src="assets/icons/education-black.png" width="42px" height="auto" alt=""> |
|||
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
|||
font-size: 1.2rem; margin-bottom: 2px;">Education</p> |
|||
<p>A platform for educational management</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-3 col-sm-6 p-0"> |
|||
<div class="d-flex flex-column h-100" |
|||
style="border-bottom: 1px solid rgb(209, 209, 209); padding: 30px; "> |
|||
<img src="assets/icons/manufacturing-black.png" width="42px" height="auto" alt=""> |
|||
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
|||
font-size: 1.2rem; margin-bottom: 2px;">Manufacturing</p> |
|||
<p>Plan, track and schedule your operations</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-3 col-sm-6 p-0"> |
|||
<div class="d-flex flex-column h-100" |
|||
style="border-right: 1px solid rgb(209, 209, 209); padding: 30px;"> |
|||
<img src="assets/icons/ecom-black.png" width="42px" height="auto" alt=""> |
|||
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
|||
font-size: 1.2rem; margin-bottom: 2px;">E-commerce & Website</p> |
|||
<p>Mobile friendly, awe-inspiring product pages</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-3 col-sm-6 p-0"> |
|||
<div class="d-flex flex-column h-100" |
|||
style="border-right: 1px solid rgb(209, 209, 209); padding: 30px;box-shadow: 0 -5px 10px rgba(228, 227, 227, 0.373);"> |
|||
<img src="assets/icons/service-black.png" width="42px" height="auto" alt=""> |
|||
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
|||
font-size: 1.2rem; margin-bottom: 2px;">Service Management</p> |
|||
<p>Keep track of services and invoice</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-3 col-sm-6 p-0"> |
|||
<div class="d-flex flex-column h-100" |
|||
style="border-right: 1px solid rgb(209, 209, 209); padding: 30px; "> |
|||
<img src="assets/icons/restaurant-black.png" width="42px" height="auto" alt=""> |
|||
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
|||
font-size: 1.2rem; margin-bottom: 2px;">Restaurant</p> |
|||
<p>Run your bar or restaurant methodically</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-3 col-sm-6 p-0"> |
|||
<div class="d-flex flex-column h-100" |
|||
style=" padding: 30px;box-shadow: -5px 0 10px rgba(228, 227, 227, 0.373);"> |
|||
<img src="assets/icons/hotel-black.png" width="42px" height="auto" alt=""> |
|||
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
|||
font-size: 1.2rem; margin-bottom: 2px;">Hotel Management</p> |
|||
<p>An all-inclusive hotel management application</p> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="container mt-5"> |
|||
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-5"> |
|||
<p class="m-0" style="font-weight: 600; font-size: 24px; color:#000 !important">Support</p> |
|||
</div> |
|||
</div> |
|||
<div class="container my-5"> |
|||
<div class="row" style="background-color: #FFFAFE;"> |
|||
<div class="col-md-6 pb-4 d-flex align-items-center justify-content-center" |
|||
style="border-right: 1px solid #D9D9D9;"> |
|||
<div style="padding: 30px;"> |
|||
<div class="d-flex align-items-center"> |
|||
<img src="assets/misc/support (1) 1.svg" alt="" width="60px" style="margin-right: 12px;"> |
|||
<div style="padding: 0px 8px;"> |
|||
<span |
|||
style="color: #714B67;font-size: 24px;font-weight: 600;padding-bottom: 1rem;">Need |
|||
Help?</span> |
|||
<p class="m-0" style="color:#718096;">Got questions or need help? Get in touch.</p> |
|||
<div style="font-weight: 400;"><span><img src="assets/misc/support-email.svg" alt="" |
|||
width="18px" |
|||
style="filter: invert(1);margin-right: 0.8rem;"></span>odoo@cybrosys.com |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-6 pb-4 d-flex align-items-center justify-content-center"> |
|||
<div style="padding: 30px;"> |
|||
<div class="d-flex align-items-center"> |
|||
<img src="assets/misc/whatsapp 1.svg" alt="" width="60px" style="margin-right: 12px;"> |
|||
<div> |
|||
<span style="color: #714B67;font-size: 24px;font-weight: 600;">WhatsApp</span> |
|||
<p class="m-0" style="color:#718096;">Say hi to us on WhatsApp!</p> |
|||
<div style="font-weight: 400; font-size: 16px;"><span><img src="assets/misc/phone.svg" |
|||
alt="" width="14px" |
|||
style="filter: invert(1); margin-right: 0.8rem;"></span>+91 |
|||
99456767686</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</section> |
|||
<!-- Optional JavaScript --> |
|||
<!-- jQuery first, then Popper.js, then Bootstrap JS --> |
|||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> |
|||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script> |
|||
</body> |
|||
</html> |
@ -0,0 +1,81 @@ |
|||
<?xml version="1.0" encoding="UTF-8" ?> |
|||
<!--Action for menu lesson--> |
|||
<odoo> |
|||
<record model="ir.actions.act_window" id="class_lesson_action"> |
|||
<field name="name">Lessons</field> |
|||
<field name="res_model">class.lesson</field> |
|||
<field name="view_mode">tree,form,kanban</field> |
|||
</record> |
|||
<!--Menu lesson record--> |
|||
<menuitem |
|||
id="class_lesson_menu" |
|||
name="Lessons" |
|||
action="class_lesson_action" |
|||
parent="music_school_institute_menu_root"/> |
|||
<!--Form view defined for the model class lesson--> |
|||
<record id="class_lesson_view_form" model="ir.ui.view"> |
|||
<field name="name">class.lesson.view.form</field> |
|||
<field name="model">class.lesson</field> |
|||
<field name="arch" type="xml"> |
|||
<form> |
|||
<sheet> |
|||
<group> |
|||
<div class="oe_title"> |
|||
<label for="name"/> |
|||
<h1> |
|||
<field name="name" class="oe_inline"/> |
|||
</h1> |
|||
</div> |
|||
</group> |
|||
<group> |
|||
<field name="hours"/> |
|||
<field name="teacher_id"/> |
|||
</group> |
|||
</sheet> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
<!--Tree view defined for the model class lesson--> |
|||
<record id="class_lesson_view_tree" model="ir.ui.view"> |
|||
<field name="name">class.lesson.view.tree</field> |
|||
<field name="model">class.lesson</field> |
|||
<field name="arch" type="xml"> |
|||
<tree> |
|||
<field name="name"/> |
|||
<field name="hours"/> |
|||
<field name="teacher_id"/> |
|||
</tree> |
|||
</field> |
|||
</record> |
|||
<!--Kanban view defined for the model class lesson--> |
|||
<record id="class_lesson_view_kanban" model="ir.ui.view"> |
|||
<field name="name">class.lesson.view.kanban</field> |
|||
<field name="model">class.lesson</field> |
|||
<field name="arch" type="xml"> |
|||
<kanban class="o_res_partner_kanban"> |
|||
<templates> |
|||
<t t-name="kanban-box"> |
|||
<div t-attf-class="oe_kanban_global_click"> |
|||
<div class="oe_kanban_details"> |
|||
<strong class="o_kanban_record_title"> |
|||
<span>Lesson:</span> |
|||
<field name="name"/> |
|||
</strong> |
|||
<div> |
|||
<div> |
|||
<span>Hours:</span> |
|||
<field name="hours"/> |
|||
</div> |
|||
<div> |
|||
<span>Teacher:</span> |
|||
<field name="teacher_id"/> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</t> |
|||
</templates> |
|||
</kanban> |
|||
</field> |
|||
</record> |
|||
</odoo> |
@ -0,0 +1,167 @@ |
|||
<?xml version="1.0" encoding="UTF-8" ?> |
|||
<odoo> |
|||
<!-- Tree,form,kanban,calendar view action for the model class type--> |
|||
<record id="class_type_action" model="ir.actions.act_window"> |
|||
<field name="name">Class</field> |
|||
<field name="res_model">class.type</field> |
|||
<field name="view_mode">tree,form,kanban,calendar</field> |
|||
</record> |
|||
<!-- Music school menu creation for the model class type--> |
|||
<menuitem id="music_school_institute_menu_root" name="Music School" |
|||
web_icon="music_school_institute,static/description/icon.png" |
|||
action="class_type_action"/> |
|||
<!-- Class menu creation for the model class type--> |
|||
<menuitem |
|||
id="class_type_menu_class_creation" |
|||
name="Class" |
|||
action="class_type_action" |
|||
parent="music_school_institute_menu_root"/> |
|||
<!--Form view defined for the model class type--> |
|||
<record id="class_type_view_form" model="ir.ui.view"> |
|||
<field name="name">class.type.view.form</field> |
|||
<field name="model">class.type</field> |
|||
<field name="arch" type="xml"> |
|||
<form> |
|||
<header> |
|||
<button name="action_button_class_start" string="Start" |
|||
type="object" invisible="state != 'draft'" |
|||
class="btn btn-primary" groups="base.group_user"/> |
|||
<button name="action_button_class_cancel" string="Cancel" |
|||
type="object" invisible="state not in ('draft','started','ongoing')" |
|||
class="btn btn-primary" groups="base.group_user"/> |
|||
<button name="action_button_set_to_draft" string="Set to Draft" |
|||
type="object" invisible="state != 'canceled'" |
|||
class="btn btn-primary" groups="base.group_user"/> |
|||
<button name="action_button_class_completed" string="Mark As Done" |
|||
type="object" invisible="state != 'started'" |
|||
class="btn btn-primary" groups="base.group_user"/> |
|||
<button name="action_button_create_order" string="Invoice" type="object" |
|||
invisible="state != 'completed'" class="btn btn-primary" |
|||
groups="base.group_user"/> |
|||
<field name="state" widget="statusbar"/> |
|||
</header> |
|||
<sheet> |
|||
<div name="button_box" position="inside"> |
|||
<button class="oe_stat_button" type="object" |
|||
name="related_order" icon="fa-list-alt"> |
|||
<field string="Invoice" name="order_count" |
|||
widget="statinfo"/> |
|||
</button> |
|||
</div> |
|||
<group> |
|||
<div class="oe_title"> |
|||
<label for="name"/> |
|||
<h1> |
|||
<field name="name" class="oe_inline"/> |
|||
</h1> |
|||
</div> |
|||
</group> |
|||
<group col="4"> |
|||
<group> |
|||
<field name="from_date"/> |
|||
<field name="to_date"/> |
|||
<field name="duration"/> |
|||
<field name="service_id"/> |
|||
<field name="instrument_id"/> |
|||
<field name="teacher_id"/> |
|||
<field name="location"/> |
|||
<field name="student_ids" widget="many2many_tags"/> |
|||
<field name="repeats"/> |
|||
</group> |
|||
<group invisible="repeats != 'weekly'"> |
|||
<field name="sunday"/> |
|||
<field name="monday"/> |
|||
<field name="tuesday"/> |
|||
<field name="wednesday"/> |
|||
<field name="thursday"/> |
|||
<field name="friday"/> |
|||
<field name="saturday"/> |
|||
</group> |
|||
</group> |
|||
<notebook> |
|||
<page string="Lessons" name="Lessons"> |
|||
<field name="lesson_ids" widget="one2many"> |
|||
<tree editable="bottom"> |
|||
<field name="name"/> |
|||
<field name="hours"/> |
|||
<field name="teacher_id"/> |
|||
</tree> |
|||
</field> |
|||
</page> |
|||
</notebook> |
|||
</sheet> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
<!--Tree view defined for the model class type--> |
|||
<record id="class_type_view_tree" model="ir.ui.view"> |
|||
<field name="name">class.type.view.tree</field> |
|||
<field name="model">class.type</field> |
|||
<field name="arch" type="xml"> |
|||
<tree> |
|||
<field name="from_date"/> |
|||
<field name="to_date"/> |
|||
<field name="service_id"/> |
|||
<field name="instrument_id"/> |
|||
</tree> |
|||
</field> |
|||
</record> |
|||
<!--Calendar view defined for the model class type--> |
|||
<record id="class_type_view_calender" model="ir.ui.view"> |
|||
<field name="name">class.type.view.calendar</field> |
|||
<field name="model">class.type</field> |
|||
<field name="arch" type="xml"> |
|||
<calendar string="Class Scheduled" date_start="from_date" |
|||
color="instrument_id" mode="month" |
|||
quick_create="0" |
|||
event_open_popup="true"> |
|||
<field name="name"/> |
|||
<field name="teacher_id"/> |
|||
</calendar> |
|||
</field> |
|||
</record> |
|||
<!--kanban view defined for the model class type--> |
|||
<record id="class_type_view_kanban" model="ir.ui.view"> |
|||
<field name="name">class.type.view.kanban</field> |
|||
<field name="model">class.type</field> |
|||
<field name="arch" type="xml"> |
|||
<kanban class="o_res_partner_kanban"> |
|||
<templates> |
|||
<t t-name="kanban-box"> |
|||
<div t-attf-class="oe_kanban_global_click"> |
|||
<div class="oe_kanban_details"> |
|||
<strong class="o_kanban_record_title"> |
|||
<span>Class:</span> |
|||
<field name="name"/> |
|||
</strong> |
|||
<div> |
|||
<span> |
|||
Service: |
|||
</span> |
|||
<field name="service_id"/> |
|||
<div> |
|||
<span>From date:</span> |
|||
<field name="from_date"/> |
|||
</div> |
|||
<div> |
|||
<span>To date:</span> |
|||
<field name="to_date"/> |
|||
</div> |
|||
<div> |
|||
<field name="instrument_id"/> |
|||
</div> |
|||
<div> |
|||
<span> |
|||
Teacher: |
|||
</span> |
|||
<field name="teacher_id"/> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</t> |
|||
</templates> |
|||
</kanban> |
|||
</field> |
|||
</record> |
|||
</odoo> |
@ -0,0 +1,31 @@ |
|||
<?xml version="1.0" encoding="UTF-8" ?> |
|||
<odoo> |
|||
<!-- Tree,form,kanban,calendar view action for the model hr employee--> |
|||
<record model="ir.actions.act_window" id="hr_employee_action_teacher_creation"> |
|||
<field name="name">Teachers</field> |
|||
<field name="domain">[('teacher','=', True)]</field> |
|||
<field name="context">{'default_teacher':True}</field> |
|||
<field name="res_model">hr.employee</field> |
|||
<field name="view_mode">kanban,tree,form</field> |
|||
</record> |
|||
<!-- Teachers menu creation for the model hr employee--> |
|||
<menuitem |
|||
id="class_type_menu_create_teacher" |
|||
name="Teachers" |
|||
action="hr_employee_action_teacher_creation" |
|||
sequence="2" |
|||
parent="music_school_institute_menu_root"/> |
|||
<!--Inherited form view defined for the model hr employee--> |
|||
<record id="view_employee_form" model="ir.ui.view"> |
|||
<field name="name"> |
|||
hr.employee.view.form.inherit.music.school.management |
|||
</field> |
|||
<field name="model">hr.employee</field> |
|||
<field name="inherit_id" ref="hr.view_employee_form"/> |
|||
<field name="arch" type="xml"> |
|||
<xpath expr="//field[@name='coach_id']" position="after"> |
|||
<field name="teacher"/> |
|||
</xpath> |
|||
</field> |
|||
</record> |
|||
</odoo> |
@ -0,0 +1,35 @@ |
|||
<?xml version="1.0" encoding="UTF-8" ?> |
|||
<odoo> |
|||
<!-- Product template view form inherited to add some extra fields--> |
|||
<record id="product_template_only_form_view" model="ir.ui.view"> |
|||
<field name="name"> |
|||
product.template.view.form.inherit.music.school.management |
|||
</field> |
|||
<field name="model">product.template</field> |
|||
<field name="inherit_id" |
|||
ref="product.product_template_only_form_view"/> |
|||
<field name="arch" type="xml"> |
|||
<xpath expr="//field[@name='sale_ok']" position="before"> |
|||
<field name="music_instrument"/> |
|||
<label for="music_instrument" string="is instrument"/> |
|||
</xpath> |
|||
<xpath expr="//field[@name='barcode']" position="after"> |
|||
<field name="event_ticket"/> |
|||
</xpath> |
|||
</field> |
|||
</record> |
|||
<!--Filtered menu for product template--> |
|||
<record model="ir.actions.act_window" id="product_template_action_music_instrument"> |
|||
<field name="name">Instruments</field> |
|||
<field name="domain">[('music_instrument','=', True)]</field> |
|||
<field name="context">{'default_music_instrument':True}</field> |
|||
<field name="res_model">product.template</field> |
|||
<field name="view_mode">kanban,tree,form</field> |
|||
</record> |
|||
<!-- Instrument menu creation for the model class type--> |
|||
<menuitem |
|||
id="product_template_menu_instrument" |
|||
name="Instruments" |
|||
action="product_template_action_music_instrument" |
|||
parent="music_school_institute_menu_root"/> |
|||
</odoo> |
@ -0,0 +1,88 @@ |
|||
<?xml version="1.0" encoding="UTF-8" ?> |
|||
<odoo> |
|||
<!--Students filtered menu for res.partner model--> |
|||
<record model="ir.actions.act_window" id="res_partner_action_student"> |
|||
<field name="name">Students</field> |
|||
<field name="domain">[('student','=', True)]</field> |
|||
<field name="context">{'default_student':True}</field> |
|||
<field name="res_model">res.partner</field> |
|||
<field name="view_mode">kanban,tree,form</field> |
|||
</record> |
|||
<!-- Part-time filtered menu action for res.partner model--> |
|||
<record id="res_partner_action_pt_student_creation" model="ir.actions.act_window"> |
|||
<field name="name">Part Time</field> |
|||
<field name="domain">[('student_type','=', 'part_time')]</field> |
|||
<field name="context">{'default_student':True ,'default_student_type':'part_time' }</field> |
|||
<field name="res_model">res.partner</field> |
|||
<field name="view_mode">kanban,tree,form</field> |
|||
</record> |
|||
<!-- Full time filtered menu action for res.partner model--> |
|||
<record id="res_partner_action_ft_student_creation" model="ir.actions.act_window"> |
|||
<field name="name">Full Time</field> |
|||
<field name="domain">[('student_type','=', 'full_time')]</field> |
|||
<field name="context">{'default_student':True, 'default_student_type':'full_time' }</field> |
|||
<field name="res_model">res.partner</field> |
|||
<field name="view_mode">kanban,tree,form</field> |
|||
</record> |
|||
|
|||
<!--Course type menu for the model res partner--> |
|||
<menuitem id="contact_course_type_menu" name="Students" |
|||
parent="music_school_institute_menu_root"/> |
|||
<!--Students menu record--> |
|||
<menuitem |
|||
id="course_type_menu_student" |
|||
name="Students" |
|||
action="res_partner_action_student" |
|||
parent="contact_course_type_menu"/> |
|||
|
|||
<!-- Part-time menu record--> |
|||
<menuitem id="res_partner_menu_pt_student_creation" name="Part Time" |
|||
action="res_partner_action_pt_student_creation" |
|||
sequence="2" |
|||
parent="contact_course_type_menu"/> |
|||
<!-- Part-time menu record--> |
|||
<menuitem id="res_partner_menu_ft_student_creation" name="Full Time" |
|||
action="res_partner_action_ft_student_creation" |
|||
sequence="3" |
|||
parent="contact_course_type_menu"/> |
|||
<!--Event menu record--> |
|||
<menuitem |
|||
id="event_event_menu_creation" |
|||
name="Events" |
|||
action="event.action_event_view" |
|||
parent="music_school_institute_menu_root"/> |
|||
<!--Res partner form view inherited for adding extra fields--> |
|||
<record id="view_partner_form" model="ir.ui.view"> |
|||
<field name="name"> |
|||
res.partner.view.form.inherit.music.school.management |
|||
</field> |
|||
<field name="model">res.partner</field> |
|||
<field name="inherit_id" ref="base.view_partner_form"/> |
|||
<field name="arch" type="xml"> |
|||
<data> |
|||
<xpath expr="//page[@name='contact_addresses']" |
|||
position="after"> |
|||
<page string="Class details" |
|||
invisible="student == False"> |
|||
<group> |
|||
<group> |
|||
<field name="class_id"/> |
|||
</group> |
|||
</group> |
|||
</page> |
|||
</xpath> |
|||
<xpath expr="//field[@name='category_id']" position="after"> |
|||
<field name="student"/> |
|||
<field name="student_type"/> |
|||
</xpath> |
|||
<div name="button_box" position="inside"> |
|||
<button class="oe_stat_button" type="object" |
|||
name="class_attendance_view" icon="fa-list-alt"> |
|||
<field string="Attendance" name="attendance_count" |
|||
widget="statinfo"/> |
|||
</button> |
|||
</div> |
|||
</data> |
|||
</field> |
|||
</record> |
|||
</odoo> |
@ -0,0 +1,44 @@ |
|||
<?xml version="1.0" encoding="UTF-8" ?> |
|||
<odoo> |
|||
<!-- Tree,form,kanban,calendar view action for the model students.attendance--> |
|||
<record model="ir.actions.act_window" |
|||
id="students_attendance_action"> |
|||
<field name="name">Attendance</field> |
|||
<field name="res_model">students.attendance</field> |
|||
<field name="view_mode">tree,form,kanban</field> |
|||
</record> |
|||
<!-- Attendance menu creation for the model class type--> |
|||
<menuitem |
|||
id="student_attendance_menu" |
|||
name="Attendance" |
|||
action="students_attendance_action" |
|||
parent="music_school_institute_menu_root"/> |
|||
<!-- Form view defined for the model students.attendance--> |
|||
<record id="students_attendance_view_form" model="ir.ui.view"> |
|||
<field name="name">students.attendance.view.form</field> |
|||
<field name="model">students.attendance</field> |
|||
<field name="arch" type="xml"> |
|||
<form> |
|||
<sheet> |
|||
<group> |
|||
<field name="student_id"/> |
|||
<field name="attendance"/> |
|||
<field name="date"/> |
|||
</group> |
|||
</sheet> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
<!--Tree view defined for the model students.attendance--> |
|||
<record id="students_attendance_view_tree" model="ir.ui.view"> |
|||
<field name="name">students.attendance.view.tree</field> |
|||
<field name="model">students.attendance</field> |
|||
<field name="arch" type="xml"> |
|||
<tree> |
|||
<field name="student_id"/> |
|||
<field name="attendance"/> |
|||
<field name="date"/> |
|||
</tree> |
|||
</field> |
|||
</record> |
|||
</odoo> |