@ -0,0 +1,42 @@ |
|||||
|
.. image:: https://img.shields.io/badge/license-LGPL--3-green.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: (V16) Vishnu kp, |
||||
|
(V15) Sabeel B |
||||
|
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: Cybrosys Techno Solutions(<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 <https://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
from . import models |
@ -0,0 +1,56 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Cybrosys Techno Solutions(<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 <https://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
{ |
||||
|
"name": "Music School Institute", |
||||
|
"version": "15.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/service_type_views.xml", |
||||
|
"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", |
||||
|
"views/music_school_institute_menus.xml", |
||||
|
"views/account_move_views.xml" |
||||
|
], |
||||
|
"images": ["static/description/banner.jpg"], |
||||
|
"license": "LGPL-3", |
||||
|
"installable": True, |
||||
|
"auto_install": False, |
||||
|
"application": False, |
||||
|
} |
@ -0,0 +1,7 @@ |
|||||
|
## Module <music_school_institute> |
||||
|
|
||||
|
#### 31.07.2024 |
||||
|
#### Version 15.0.1.0.0 |
||||
|
##### ADD |
||||
|
|
||||
|
- Initial Commit for Music School Institute |
@ -0,0 +1,29 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Cybrosys Techno Solutions(<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 <https://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 |
||||
|
from . import account_move |
@ -0,0 +1,31 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
################################################################################ |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Sabeel B (odoo@cybrosys.com) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU AFFERO |
||||
|
# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
||||
|
# (AGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
################################################################################ |
||||
|
from odoo import models, fields |
||||
|
|
||||
|
|
||||
|
class AccountMove(models.Model): |
||||
|
"""Inherited account_move to add new fields""" |
||||
|
_inherit = 'account.move' |
||||
|
|
||||
|
music_class_id = fields.Many2one('class.type', |
||||
|
string="Music Class", |
||||
|
help="Own invoice relation field") |
@ -0,0 +1,59 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Cybrosys Techno Solutions(<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 <https://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
from odoo import api, 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.') |
||||
|
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.') |
||||
|
|
||||
|
|
||||
|
class ClassLessonType(models.Model): |
||||
|
"""Class is used to represent the lessons.""" |
||||
|
_name = 'class.lesson.type' |
||||
|
_description = 'Class Lesson Type' |
||||
|
|
||||
|
lesson_id = fields.Many2one('class.lesson', |
||||
|
String='Lessons', help='Choose already ' |
||||
|
'created lessons') |
||||
|
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.') |
||||
|
|
||||
|
@api.onchange('lesson_id') |
||||
|
def _onchange_lesson_id(self): |
||||
|
"""Change values according to the lesson chosen""" |
||||
|
if self.lesson_id: |
||||
|
self.hours = self.lesson_id.hours |
||||
|
self.teacher_id = self.lesson_id.teacher_id.id |
@ -0,0 +1,166 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Cybrosys Techno Solutions(<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 <https://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
from odoo import api, fields, models, _ |
||||
|
from dateutil.relativedelta import relativedelta |
||||
|
from odoo.exceptions import ValidationError |
||||
|
|
||||
|
|
||||
|
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) |
||||
|
service_id = fields.Many2one('service.type', string='Services', |
||||
|
help='Type of service.') |
||||
|
instrument_id = fields.Many2one('product.product', |
||||
|
String='Instrument', |
||||
|
domain=[('music_instrument', '=', True)], |
||||
|
required=True, |
||||
|
help='Instrument used in the music class.') |
||||
|
teacher_id = fields.Many2one('hr.employee', string='Teacher', |
||||
|
domain=[('teacher', '=', True)], |
||||
|
required=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.type', |
||||
|
'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.constrains('to_date', 'from_date') |
||||
|
def date_constrains(self): |
||||
|
"""Validation for date fields""" |
||||
|
for rec in self: |
||||
|
if rec.to_date < rec.from_date: |
||||
|
raise ValidationError( |
||||
|
_('Sorry, To Date Must be greater Than From 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: |
||||
|
true_days = [] |
||||
|
daily_hours = sum(int(rec.hours) for rec in records.lesson_ids) |
||||
|
if records.repeats == 'weekly': |
||||
|
if records.sunday: |
||||
|
true_days.append('Sunday') |
||||
|
if records.monday: |
||||
|
true_days.append('Monday') |
||||
|
if records.tuesday: |
||||
|
true_days.append('Tuesday') |
||||
|
if records.wednesday: |
||||
|
true_days.append('Wednesday') |
||||
|
if records.thursday: |
||||
|
true_days.append('Thursday') |
||||
|
if records.friday: |
||||
|
true_days.append('Friday') |
||||
|
if records.saturday: |
||||
|
true_days.append('Saturday') |
||||
|
return len(true_days) * daily_hours |
||||
|
elif records.repeats == 'monthly': |
||||
|
delta = relativedelta(records.to_date, records.from_date) |
||||
|
months_difference = delta.years * 12 + delta.months |
||||
|
return int(months_difference) * daily_hours |
||||
|
else: |
||||
|
return daily_hours |
||||
|
|
||||
|
def action_button_class_start(self): |
||||
|
"""Change the corresponding class state to start.""" |
||||
|
self.write({'state': 'started'}) |
||||
|
|
||||
|
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, |
||||
|
'music_class_id': self.id, |
||||
|
'invoice_line_ids': [(0, 0, { |
||||
|
'product_id': self.instrument_id.id, |
||||
|
'price_unit': self.instrument_id.lst_price, |
||||
|
'quantity': int(self._compute_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': [('music_class_id', '=', self.id)], |
||||
|
'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( |
||||
|
[('music_class_id', '=', self.id)]) |
@ -0,0 +1,30 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Cybrosys Techno Solutions(<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 <https://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: Cybrosys Techno Solutions(<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 <https://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: Cybrosys Techno Solutions(<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 <https://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,40 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Cybrosys Techno Solutions(<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 <https://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_id = fields.Many2one('product.product', |
||||
|
String='Instrument', |
||||
|
domain=[('music_instrument', '=', True)], |
||||
|
required=True, |
||||
|
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,42 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Cybrosys Techno Solutions(<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 <https://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,16 @@ |
|||||
|
<?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,22 @@ |
|||||
|
<?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: 2.1 KiB |
After Width: | Height: | Size: 1.6 KiB |
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: 6.3 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 673 B |
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: 59 KiB |
After Width: | Height: | Size: 60 KiB |
After Width: | Height: | Size: 60 KiB |
After Width: | Height: | Size: 60 KiB |
After Width: | Height: | Size: 56 KiB |
After Width: | Height: | Size: 58 KiB |
After Width: | Height: | Size: 125 KiB |
After Width: | Height: | Size: 43 KiB |
After Width: | Height: | Size: 109 KiB |
After Width: | Height: | Size: 36 KiB |
After Width: | Height: | Size: 144 KiB |
After Width: | Height: | Size: 44 KiB |
After Width: | Height: | Size: 87 KiB |
After Width: | Height: | Size: 55 KiB |
After Width: | Height: | Size: 46 KiB |
After Width: | Height: | Size: 36 KiB |
After Width: | Height: | Size: 34 KiB |
After Width: | Height: | Size: 45 KiB |
After Width: | Height: | Size: 73 KiB |
After Width: | Height: | Size: 41 KiB |
After Width: | Height: | Size: 36 KiB |
After Width: | Height: | Size: 125 KiB |
After Width: | Height: | Size: 81 KiB |
After Width: | Height: | Size: 50 KiB |
After Width: | Height: | Size: 8.2 KiB |
@ -0,0 +1,692 @@ |
|||||
|
<div class="container" |
||||
|
style="padding: 1rem !important; margin-bottom: 1rem !important;"> |
||||
|
<div class="row"> |
||||
|
<div class="col-sm-12 col-md-12 col-lg-12 d-flex justify-content-between" |
||||
|
style="border-bottom: 1px solid #d5d5d5;"> |
||||
|
<div class="my-3"> |
||||
|
<img src="./assets/icons/logo.png" |
||||
|
style="width: auto !important; height: 40px !important;"> |
||||
|
</div> |
||||
|
<div class="my-3 d-flex align-items-center"> |
||||
|
<div |
||||
|
style="background-color: #7C7BAD !important; color: #fff !important; font-weight: 600 !important; padding: 5px 15px 8px !important; margin: 0 5px !important;"> |
||||
|
<i class="fa fa-check mr-1"></i>Community |
||||
|
</div> |
||||
|
<div |
||||
|
style="background-color: #875A7B !important; color: #fff !important; font-weight: 600 !important; padding: 5px 15px 8px !important; margin: 0 5px !important;"> |
||||
|
<i class="fa fa-check mr-1"></i>Enterprise |
||||
|
</div> |
||||
|
|
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="container" style="padding: 0rem 1.5rem 4rem !important"> |
||||
|
<div class="row" style="height: 950px !important;"> |
||||
|
<div class="col-sm-12 col-md-12 col-lg-12" |
||||
|
style="padding: 4.1rem 1rem !important; background-color: #FFFFFF !important; height: 600px !important;"> |
||||
|
<div class="d-flex justify-content-center mb-2"> |
||||
|
<h1 |
||||
|
style="font-family: 'Montserrat', sans-serif !important; font-weight: 800 !important; color: #282F33 !important; font-size: 4rem !important; text-align: center !important;"> |
||||
|
Music School Institute</h1> |
||||
|
</div> |
||||
|
<p |
||||
|
style="font-family: 'Montserrat', sans-serif !important; font-weight: 300 !important; color: #282F33 !important; font-size: 1.4rem !important; text-align: center !important;"> |
||||
|
A Module For Managing Music School |
||||
|
</p> |
||||
|
<img src="./assets/screenshots/hero.gif" class="img-responsive" |
||||
|
width="100%" height="700px"/> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="row"> |
||||
|
<div class="col-sm-12 col-md-12 col-lg-12 px-3 text-center"> |
||||
|
<h2 |
||||
|
style="font-family: 'Montserrat', sans-serif !important; font-size: 1.4rem; font-weight: 700 !important;"> |
||||
|
Explore this module</h2> |
||||
|
<div class="mt-3"> |
||||
|
<a href="#overview" class="mr-5" |
||||
|
style="font-family: 'Montserrat', sans-serif !important; font-size: 1rem; font-weight: 700; color: #714B67 !important;">Overview |
||||
|
<i class="fa fa-chevron-right ml-1" |
||||
|
style="color: #714B67 !important;"></i></a> |
||||
|
<a href="#features" class="mr-5" |
||||
|
style="font-family: 'Montserrat', sans-serif !important; font-size: 1rem; font-weight: 700; color: #714B67 !important;">Key |
||||
|
Features <i class="fa fa-chevron-right ml-1" |
||||
|
style="color: #714B67 !important;"></i></a> |
||||
|
<a href="#screenshots" class="mr-5" |
||||
|
style="font-family: 'Montserrat', sans-serif !important; font-size: 1rem; font-weight: 700; color: #714B67 !important;">Screenshots |
||||
|
<i class="fa fa-chevron-right ml-1" |
||||
|
style="color: #714B67 !important;"></i></a> |
||||
|
</div> |
||||
|
<hr class="my-5" style="border-color: d5d5d5 !important;"/> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="row " id="overview"> |
||||
|
<div class="col-sm-12 col-md-12 col-lg-12 px-4"> |
||||
|
<h2 |
||||
|
style="font-family: 'Montserrat', sans-serif !important; font-size: 2rem; font-weight: 700 !important; color: #21272B !important;"> |
||||
|
Overview</h2> |
||||
|
<hr |
||||
|
style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 30px !important; margin-left: 0 !important; margin-bottom: 2rem !important;"/> |
||||
|
<p class="mt-4" |
||||
|
style="font-size: 1.1rem !important; color: #282F33 !important; font-weight: 400 !important; line-height: 1.85 !important"> |
||||
|
Music School institute is a core module which can manage any type of music school. |
||||
|
The user can download the module and manage the music school with lots of different class. |
||||
|
It can be used to manage music school event, product, students, and teacher. |
||||
|
</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="row" id="features" style="margin-top: 3rem;"> |
||||
|
<div class="col-sm-12 col-md-12 col-lg-12 px-4"> |
||||
|
<h2 |
||||
|
style="font-family: 'Montserrat', sans-serif !important; font-size: 2rem; font-weight: 700 !important; color: #21272B !important;"> |
||||
|
Features</h2> |
||||
|
<hr |
||||
|
style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 30px !important; margin-left: 0 !important; margin-bottom: 2rem !important;"/> |
||||
|
<div class="row"> |
||||
|
<div class="col-sm-12 col-md-6"> |
||||
|
<div class="d-flex my-5" |
||||
|
style="padding-bottom: 1.3rem !important; border-bottom: 2px solid #f0f0f0;"> |
||||
|
<img src="assets/icons/check.png" width="24px" |
||||
|
height="24px" class="mr-2"> |
||||
|
<h3 style="font-size: 1.2rem !important;">Class Management</h3> |
||||
|
<span style="display: block; font-family: 'Montserrat', sans-serif; font-size: 12px;"> Can Manage Different Class.</span> |
||||
|
</div> |
||||
|
|
||||
|
<div class="d-flex my-5" |
||||
|
style="padding-bottom: 1.3rem !important; border-bottom: 2px solid #f0f0f0;"> |
||||
|
<img src="assets/icons/check.png" width="24px" |
||||
|
height="24px" class="mr-2"> |
||||
|
<h3 style="font-size: 1.2rem !important;">Students Management</h3> |
||||
|
<span style="display: block; font-family: 'Montserrat', sans-serif; font-size: 14px;">Easily add Student to the class and can view part-time and full time students.</span> |
||||
|
</div> |
||||
|
|
||||
|
<div class="d-flex my-5" |
||||
|
style="padding-bottom: 1.3rem !important; border-bottom: 2px solid #f0f0f0;"> |
||||
|
<img src="assets/icons/check.png" width="24px" |
||||
|
height="24px" class="mr-2"> |
||||
|
<h3 style="font-size: 1.2rem !important;">Teachers Management</h3> |
||||
|
<span style="display: block; font-family: 'Montserrat', sans-serif; font-size: 14px;">Easily manage your Teachers records.</span> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-sm-12 col-md-6"> |
||||
|
<div class="d-flex my-5" |
||||
|
style="padding-bottom: 1.3rem !important; border-bottom: 2px solid #f0f0f0;"> |
||||
|
<img src="assets/icons/check.png" width="24px" |
||||
|
height="24px" class="mr-2"> |
||||
|
<h3 style="font-size: 1.2rem !important;">Informative Form Page |
||||
|
</h3> |
||||
|
<span style="display: block; font-family: 'Montserrat', sans-serif; font-size: 14px;">Class related order count is visible and can see the invoice.</span> |
||||
|
</div> |
||||
|
|
||||
|
<div class="d-flex my-5" |
||||
|
style="padding-bottom: 1.3rem !important; border-bottom: 2px solid #f0f0f0;"> |
||||
|
<img src="assets/icons/check.png" width="24px" |
||||
|
height="24px" class="mr-2"> |
||||
|
<h3 style="font-size: 1.2rem !important;">Attendance |
||||
|
</h3> |
||||
|
<span style="display: block; font-family: 'Montserrat', sans-serif; font-size: 14px;">Easy way to add attendance of the students and can issue invoice based on the attendance.</span> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
|
||||
|
<div class="row " id="screenshots"> |
||||
|
<div class="col-sm-12 col-md-12 col-lg-12 px-4"> |
||||
|
<h2 |
||||
|
style="font-family: 'Montserrat', sans-serif !important; font-size: 2rem; font-weight: 700 !important; color: #21272B !important;"> |
||||
|
Screenshots</h2> |
||||
|
<hr |
||||
|
style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 30px !important; margin-left: 0 !important; margin-bottom: 2rem !important;"/> |
||||
|
<div class="mt-5"> |
||||
|
<div class="d-flex mb-2" |
||||
|
style="padding-bottom: 0.5rem !important;"> |
||||
|
<img src="assets/icons/chevron.png" width="20px" |
||||
|
height="20px" class="mr-2" |
||||
|
style="margin-top: 4px !important;"> |
||||
|
<h3>Can Manage The Teachers</h3> |
||||
|
</div> |
||||
|
<img src="assets/screenshots/tch_1.png" |
||||
|
class="img-responsive img-thumbnail border"> |
||||
|
<img src="assets/screenshots/tch_3.png" |
||||
|
class="img-responsive img-thumbnail border"> |
||||
|
<img src="assets/screenshots/tch_2.png" |
||||
|
class="img-responsive img-thumbnail border"> |
||||
|
</div> |
||||
|
<div class="mt-5"> |
||||
|
<div class="d-flex mb-2" |
||||
|
style="padding-bottom: 0.5rem !important;"> |
||||
|
<img src="assets/icons/chevron.png" width="20px" |
||||
|
height="20px" class="mr-2" |
||||
|
style="margin-top: 4px !important;"> |
||||
|
<h3>Can Manage Students</h3> |
||||
|
<p>Users can manage students according to their course type</p> |
||||
|
</div> |
||||
|
<img src="assets/screenshots/std_1.png" |
||||
|
class="img-responsive img-thumbnail border"> |
||||
|
<img src="assets/screenshots/std_2.png" |
||||
|
class="img-responsive img-thumbnail border"> |
||||
|
</div> |
||||
|
<div class="mt-5"> |
||||
|
<div class="d-flex mb-2" |
||||
|
style="padding-bottom: 0.5rem !important;"> |
||||
|
<img src="assets/icons/chevron.png" width="20px" |
||||
|
height="20px" class="mr-2" |
||||
|
style="margin-top: 4px !important;"> |
||||
|
<h3>Instruments Management.</h3> |
||||
|
</div> |
||||
|
<img src="assets/screenshots/ins_1.png" |
||||
|
class="img-responsive img-thumbnail border"> |
||||
|
<img src="assets/screenshots/ins_2.png" |
||||
|
class="img-responsive img-thumbnail border"> |
||||
|
<img src="assets/screenshots/scrn_005.png" |
||||
|
class="img-responsive img-thumbnail border"> |
||||
|
</div> |
||||
|
<div class="mt-5"> |
||||
|
<div class="d-flex mb-2" |
||||
|
style="padding-bottom: 0.5rem !important;"> |
||||
|
<img src="assets/icons/chevron.png" width="20px" |
||||
|
height="20px" class="mr-2" |
||||
|
style="margin-top: 4px !important;"> |
||||
|
<h3>Lessons</h3> |
||||
|
</div> |
||||
|
<img src="assets/screenshots/lssns.png" |
||||
|
class="img-responsive img-thumbnail border"> |
||||
|
</div> |
||||
|
<div class="mt-5"> |
||||
|
<div class="d-flex mb-2" |
||||
|
style="padding-bottom: 0.5rem !important;"> |
||||
|
<img src="assets/icons/chevron.png" width="20px" |
||||
|
height="20px" class="mr-2" |
||||
|
style="margin-top: 4px !important;"> |
||||
|
<h3>Services</h3> |
||||
|
</div> |
||||
|
<img src="assets/screenshots/services.png" |
||||
|
class="img-responsive img-thumbnail border"> |
||||
|
<img src="assets/screenshots/services_2.png" |
||||
|
class="img-responsive img-thumbnail border"> |
||||
|
</div> |
||||
|
|
||||
|
<div class="mt-5"> |
||||
|
<div class="d-flex mb-2" |
||||
|
style="padding-bottom: 0.5rem !important;"> |
||||
|
<img src="assets/icons/chevron.png" width="20px" |
||||
|
height="20px" class="mr-2" |
||||
|
style="margin-top: 4px !important;"> |
||||
|
<h3>Attendance</h3> |
||||
|
</div> |
||||
|
<p> |
||||
|
Can add students attendance to the program. |
||||
|
</p> |
||||
|
<img src="assets/screenshots/scrn_002.png" |
||||
|
class="img-responsive img-thumbnail border"> |
||||
|
</div> |
||||
|
|
||||
|
<div class="mt-5"> |
||||
|
<div class="d-flex mb-2" |
||||
|
style="padding-bottom: 0.5rem !important;"> |
||||
|
<img src="assets/icons/chevron.png" width="20px" |
||||
|
height="20px" class="mr-2" |
||||
|
style="margin-top: 4px !important;"> |
||||
|
<h3>Class</h3> |
||||
|
</div> |
||||
|
<p> |
||||
|
We can add the details including Students, start and end date, state etc. |
||||
|
</p> |
||||
|
<img src="assets/screenshots/scrn_003.png" |
||||
|
class="img-responsive img-thumbnail border"> |
||||
|
</div> |
||||
|
|
||||
|
<div class="mt-5"> |
||||
|
<div class="d-flex mb-2" |
||||
|
style="padding-bottom: 0.5rem !important;"> |
||||
|
<img src="assets/icons/chevron.png" width="20px" |
||||
|
height="20px" class="mr-2" |
||||
|
style="margin-top: 4px !important;"> |
||||
|
<h3>Class Dashboard View.</h3> |
||||
|
</div> |
||||
|
<img src="assets/screenshots/scrn_004.png" |
||||
|
class="img-responsive img-thumbnail border"> |
||||
|
</div> |
||||
|
<div class="mt-5"> |
||||
|
<div class="d-flex mb-2" |
||||
|
style="padding-bottom: 0.5rem !important;"> |
||||
|
<img src="assets/icons/chevron.png" width="20px" |
||||
|
height="20px" class="mr-2" |
||||
|
style="margin-top: 4px !important;"> |
||||
|
<h3>Events Management</h3> |
||||
|
</div> |
||||
|
<img src="assets/screenshots/scrn_001.png" |
||||
|
class="img-responsive img-thumbnail border"> |
||||
|
</div> |
||||
|
|
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
|
||||
|
<!-- SUGGESTED PRODUCTS --> |
||||
|
<div class="row mt-3"> |
||||
|
<div class="col-lg-12 d-flex flex-column justify-content-center" |
||||
|
style="padding: 2.5rem 1rem !important;"> |
||||
|
<h2 |
||||
|
style="font-family: 'Montserrat', sans-serif !important; font-size: 2rem; font-weight: 700 !important; color: #21272B !important;"> |
||||
|
Suggested Products</h2> |
||||
|
<hr |
||||
|
style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 30px !important; margin-left: 0 !important; margin-bottom: 2rem !important;"/> |
||||
|
|
||||
|
<div id="demo1" class="row carousel slide mt-4 data-ride="> |
||||
|
<!-- The slideshow --> |
||||
|
<div class="carousel-inner"> |
||||
|
<div class="carousel-item active" style="min-height:0px"> |
||||
|
<div class="carousel-item active" style="min-height:0px"> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/15.0/export_stockinfo_xls/" target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" |
||||
|
style="border-top-left-radius:10px; border-top-right-radius:10px" |
||||
|
src="./assets/modules/export_image.png"> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/15.0/custom_gantt_view/" target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" |
||||
|
style="border-top-left-radius:10px; border-top-right-radius:10px" |
||||
|
src="./assets/modules/gantt_image.png"> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/15.0/sales_credit_limit/" target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" |
||||
|
style="border-top-left-radius:10px; border-top-right-radius:10px" |
||||
|
src="./assets/modules/credit_image.png"> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="carousel-item" style="min-height:0px"> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/15.0/base_account_budget/" target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" |
||||
|
style="border-top-left-radius:10px; border-top-right-radius:10px" |
||||
|
src="./assets/modules/budget_image.png"> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/15.0/product_to_quotation/" target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" |
||||
|
style="border-top-left-radius:10px; border-top-right-radius:10px" |
||||
|
src="./assets/modules/quotation_image.png"> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/15.0/employee_documents_expiry/" |
||||
|
target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" |
||||
|
style="border-top-left-radius:10px; border-top-right-radius:10px" |
||||
|
src="./assets/modules/employee_image.png"> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- Left and right controls --> |
||||
|
<a class="carousel-control-prev" href="#demo1" data-slide="prev" |
||||
|
style="left:-25px;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="#demo1" data-slide="next" |
||||
|
style="right:-25px;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> |
||||
|
</div> |
||||
|
<!-- END OF SUGGESTED PRODUCTS --> |
||||
|
|
||||
|
<!-- OUR SERVICES --> |
||||
|
<section class="container" style="margin-top: 6rem !important;"> |
||||
|
<div class="row"> |
||||
|
<div class="col-lg-12"> |
||||
|
<h2 |
||||
|
style="font-family: 'Montserrat', sans-serif !important; font-size: 2rem; font-weight: 700 !important; color: #21272B !important;"> |
||||
|
Our Services</h2> |
||||
|
<hr |
||||
|
style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 30px !important; margin-left: 0 !important; margin-bottom: 2rem !important;"/> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #1dd1a1 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/cogs.png" class="img-responsive" |
||||
|
height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" |
||||
|
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Customization</h6> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #ff6b6b !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/wrench.png" class="img-responsive" |
||||
|
height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" |
||||
|
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Implementation</h6> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #6462CD !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/lifebuoy.png" class="img-responsive" |
||||
|
height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" |
||||
|
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Support</h6> |
||||
|
</div> |
||||
|
|
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #ffa801 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/user.png" class="img-responsive" |
||||
|
height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" |
||||
|
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Hire |
||||
|
Odoo |
||||
|
Developer</h6> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #54a0ff !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/puzzle.png" class="img-responsive" |
||||
|
height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" |
||||
|
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Integration</h6> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #6d7680 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/update.png" class="img-responsive" |
||||
|
height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" |
||||
|
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Migration</h6> |
||||
|
</div> |
||||
|
|
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #786fa6 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/consultation.png" class="img-responsive" |
||||
|
height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" |
||||
|
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Consultancy</h6> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #f8a5c2 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/training.png" class="img-responsive" |
||||
|
height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" |
||||
|
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Implementation</h6> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #e6be26 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/license.png" class="img-responsive" |
||||
|
height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" |
||||
|
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Licensing Consultancy</h6> |
||||
|
</div> |
||||
|
</div> |
||||
|
</section> |
||||
|
<!-- END OF END OF OUR SERVICES --> |
||||
|
|
||||
|
<!-- OUR INDUSTRIES --> |
||||
|
<section class="container" style="margin-top: 6rem !important;"> |
||||
|
<div class="row"> |
||||
|
<div class="col-lg-12"> |
||||
|
<h2 |
||||
|
style="font-family: 'Montserrat', sans-serif !important; font-size: 2rem; font-weight: 700 !important; color: #21272B !important;"> |
||||
|
Our Industries</h2> |
||||
|
<hr |
||||
|
style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 30px !important; margin-left: 0 !important; margin-bottom: 2rem !important;"/> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="./assets/icons/trading-black.png" |
||||
|
class="img-responsive mb-3" height="48px" width="48px"> |
||||
|
<h5 |
||||
|
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
Trading |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
Easily procure |
||||
|
and |
||||
|
sell your products</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="./assets/icons/pos-black.png" |
||||
|
class="img-responsive mb-3" height="48px" width="48px"> |
||||
|
<h5 |
||||
|
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
POS |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
Easy |
||||
|
configuration |
||||
|
and convivial experience</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="./assets/icons/education-black.png" |
||||
|
class="img-responsive mb-3" height="48px" |
||||
|
width="48px"> |
||||
|
<h5 |
||||
|
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
Education |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
A platform for |
||||
|
educational management</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="./assets/icons/manufacturing-black.png" |
||||
|
class="img-responsive mb-3" height="48px" |
||||
|
width="48px"> |
||||
|
<h5 |
||||
|
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
Manufacturing |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
Plan, track and |
||||
|
schedule your operations</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="./assets/icons/ecom-black.png" |
||||
|
class="img-responsive mb-3" height="48px" width="48px"> |
||||
|
<h5 |
||||
|
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
E-commerce & Website |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
Mobile |
||||
|
friendly, |
||||
|
awe-inspiring product pages</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="./assets/icons/service-black.png" |
||||
|
class="img-responsive mb-3" height="48px" width="48px"> |
||||
|
<h5 |
||||
|
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
Service Management |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
Keep track of |
||||
|
services and invoice</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="./assets/icons/restaurant-black.png" |
||||
|
class="img-responsive mb-3" height="48px" |
||||
|
width="48px"> |
||||
|
<h5 |
||||
|
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
Restaurant |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
Run your bar or |
||||
|
restaurant methodically</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="./assets/icons/hotel-black.png" |
||||
|
class="img-responsive mb-3" height="48px" width="48px"> |
||||
|
<h5 |
||||
|
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
Hotel Management |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
An |
||||
|
all-inclusive |
||||
|
hotel management application</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
</div> |
||||
|
</section> |
||||
|
|
||||
|
<!-- END OF END OF OUR INDUSTRIES --> |
||||
|
|
||||
|
<!-- FOOTER --> |
||||
|
<!-- Footer Section --> |
||||
|
<section class="container" style="margin: 5rem auto 2rem;"> |
||||
|
<div class="row" style="max-width:1540px;"> |
||||
|
<div class="col-lg-12"> |
||||
|
<h2 |
||||
|
style="font-family: 'Montserrat', sans-serif !important; font-size: 2rem; font-weight: 700 !important; color: #21272B !important;"> |
||||
|
Need Help?</h2> |
||||
|
<hr |
||||
|
style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 30px !important; margin-left: 0 !important; margin-bottom: 2rem !important;"/> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<!-- Contact Cards --> |
||||
|
<div class="row d-flex justify-content-center align-items-center" |
||||
|
style="max-width:1540px; margin: 0 auto 2rem auto;"> |
||||
|
|
||||
|
<div class="col-lg-12" |
||||
|
style="padding: 0rem 3rem 2rem; border-radius: 10px; margin-right: 3rem; "> |
||||
|
|
||||
|
<div class="row mt-4"> |
||||
|
<div class="col-lg-6"> |
||||
|
<a href="mailto:odoo@cybrosys.com" target="_blank" |
||||
|
class="btn btn-block mb-2 deep_hover" |
||||
|
style="text-decoration: none; background-color: #4d4d4d; color: #FFF; border-radius: 4px;"><i |
||||
|
class="fa fa-envelope mr-2"></i>odoo@cybrosys.com</a> |
||||
|
</div> |
||||
|
<div class="col-lg-6"> |
||||
|
<a href="https://api.whatsapp.com/send?phone=918606827707" |
||||
|
target="_blank" |
||||
|
class="btn btn-block mb-2 deep_hover" |
||||
|
style="text-decoration: none; background-color: #25D366; color: #FFF; border-radius: 4px;"><i |
||||
|
class="fa fa-whatsapp mr-2"></i>+91 86068 27707</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
</div> |
||||
|
<!-- End of Contact Cards --> |
||||
|
</section> |
||||
|
<!-- Footer --> |
||||
|
<section class="oe_container" style="padding: 2rem 3rem 1rem;"> |
||||
|
<div class="row" |
||||
|
style="max-width:1540px; margin: 0 auto; margin-right: 3rem; "> |
||||
|
<!-- Logo --> |
||||
|
<div class="col-lg-12 d-flex justify-content-center align-items-center" |
||||
|
style="margin-top: 3rem;"> |
||||
|
<img src="https://www.cybrosys.com/images/logo.png" width="200px" |
||||
|
height="auto"/> |
||||
|
</div> |
||||
|
<!-- End of Logo --> |
||||
|
<div class="col-lg-12"> |
||||
|
<hr |
||||
|
style="margin-top: 3rem;background: linear-gradient(90deg, rgba(2,0,36,0) 0%, rgba(229,229,229,1) 33%, rgba(229,229,229,1) 58%, rgba(0,212,255,0) 100%); height: 2px; border-style: none;"> |
||||
|
<!-- End of Footer Section --> |
||||
|
</div> |
||||
|
</div> |
||||
|
</section> |
||||
|
<!-- END OF FOOTER --> |
||||
|
|
||||
|
</div> |
@ -0,0 +1,15 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8" ?> |
||||
|
<odoo> |
||||
|
<!-- Update account invoice !--> |
||||
|
<record model="ir.ui.view" id="view_move_form"> |
||||
|
<field name="name">account.move.form.inherit.music.institute</field> |
||||
|
<field name="name">Account Invoice</field> |
||||
|
<field name="model">account.move</field> |
||||
|
<field name="inherit_id" ref="account.view_move_form"/> |
||||
|
<field name="arch" type="xml"> |
||||
|
<field name="payment_reference" position="after"> |
||||
|
<field name="music_class_id" invisible="1"/> |
||||
|
</field> |
||||
|
</field> |
||||
|
</record> |
||||
|
</odoo> |
@ -0,0 +1,75 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8" ?> |
||||
|
<odoo> |
||||
|
<!--Action for menu lesson--> |
||||
|
<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> |
||||
|
<!--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,164 @@ |
|||||
|
<?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> |
||||
|
<!--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" states="draft" |
||||
|
class="btn btn-primary" groups="base.group_user"/> |
||||
|
<button name="action_button_class_cancel" string="Cancel" |
||||
|
type="object" |
||||
|
states="draft,started,ongoing" |
||||
|
class="btn btn-primary" groups="base.group_user"/> |
||||
|
<button name="action_button_set_to_draft" |
||||
|
string="Set to Draft" |
||||
|
type="object" |
||||
|
states="canceled" |
||||
|
class="btn btn-primary" groups="base.group_user"/> |
||||
|
<button name="action_button_class_completed" |
||||
|
string="Mark As Done" |
||||
|
type="object" |
||||
|
states="started" |
||||
|
class="btn btn-primary" groups="base.group_user"/> |
||||
|
<button name="action_button_create_order" string="Invoice" |
||||
|
type="object" |
||||
|
states="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="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 |
||||
|
attrs="{'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="lesson_id" options="{'no_quick_create': True, 'no_create_edit':False}"/> |
||||
|
<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_add="False" |
||||
|
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,24 @@ |
|||||
|
<?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> |
||||
|
<!--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,81 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8" ?> |
||||
|
<odoo> |
||||
|
<!-- 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"/> |
||||
|
<!--Conf menu record--> |
||||
|
<menuitem id="music_school_institute_conf" name="Configuration" |
||||
|
sequence="20" |
||||
|
parent="music_school_institute_menu_root"/> |
||||
|
|
||||
|
<!--Course type menu for the model res partner--> |
||||
|
<menuitem id="contact_course_type_menu" name="Students" |
||||
|
sequence="3" |
||||
|
parent="music_school_institute_conf"/> |
||||
|
<!--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"/> |
||||
|
<!-- Full-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"/> |
||||
|
<!-- 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"/> |
||||
|
<!--Menu service type record--> |
||||
|
<menuitem |
||||
|
id="service_type_menu" |
||||
|
name="Services" |
||||
|
action="service_type_action" |
||||
|
parent="music_school_institute_conf"/> |
||||
|
<!--Menu lesson record--> |
||||
|
<menuitem |
||||
|
id="class_lesson_menu" |
||||
|
name="Lessons" |
||||
|
action="class_lesson_action" |
||||
|
sequence="5" |
||||
|
parent="music_school_institute_conf"/> |
||||
|
|
||||
|
<!-- Class menu creation for the model class type--> |
||||
|
<menuitem |
||||
|
id="class_type_menu_class_creation" |
||||
|
name="Class" |
||||
|
action="class_type_action" |
||||
|
sequence="4" |
||||
|
parent="music_school_institute_menu_root"/> |
||||
|
<!-- 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_conf"/> |
||||
|
<!-- Instrument menu creation for the model class type--> |
||||
|
<menuitem |
||||
|
id="product_template_menu_instrument" |
||||
|
name="Instruments" |
||||
|
action="product_template_action_music_instrument" |
||||
|
sequence="4" |
||||
|
parent="music_school_institute_conf"/> |
||||
|
</odoo> |
@ -0,0 +1,29 @@ |
|||||
|
<?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> |
||||
|
</odoo> |
@ -0,0 +1,61 @@ |
|||||
|
<?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> |
||||
|
<!--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" |
||||
|
attrs="{'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" ?> |
||||
|
<!--Action for menu lesson--> |
||||
|
<odoo> |
||||
|
<record model="ir.actions.act_window" id="service_type_action"> |
||||
|
<field name="name">Services</field> |
||||
|
<field name="res_model">service.type</field> |
||||
|
<field name="view_mode">tree,form</field> |
||||
|
</record> |
||||
|
<!--Form view defined for the model class lesson--> |
||||
|
<record id="service_type_view_form" model="ir.ui.view"> |
||||
|
<field name="name">service.type.view.form</field> |
||||
|
<field name="model">service.type</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="instrument_id"/> |
||||
|
<field name="teacher_id"/> |
||||
|
</group> |
||||
|
</sheet> |
||||
|
</form> |
||||
|
</field> |
||||
|
</record> |
||||
|
<!--Tree view defined for the model class lesson--> |
||||
|
<record id="service_type_view_tree" model="ir.ui.view"> |
||||
|
<field name="name">service.type.view.tree</field> |
||||
|
<field name="model">service.type</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<tree> |
||||
|
<field name="name"/> |
||||
|
<field name="instrument_id"/> |
||||
|
<field name="teacher_id"/> |
||||
|
</tree> |
||||
|
</field> |
||||
|
</record> |
||||
|
</odoo> |
@ -0,0 +1,38 @@ |
|||||
|
<?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> |
||||
|
<!-- 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> |