diff --git a/adult_daycare_center/README.rst b/adult_daycare_center/README.rst new file mode 100755 index 000000000..de19b2763 --- /dev/null +++ b/adult_daycare_center/README.rst @@ -0,0 +1,42 @@ +.. image:: https://img.shields.io/badge/license-AGPL--3-blue.svg + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +Adult Daycare Center +==================== +Adult Day Care Center For Senior Citizens helps to manage Adult Daycare Center and Daycare activities. + +License +------- +GNU AFFERO GENERAL PUBLIC LICENSE Version 3 (AGPL v3) +( http://www.gnu.org/licenses/agpl-3.0-standalone.html) + +Company +------- +* `Cybrosys Techno Solutions `__ + +Credits +------- +Developer: V(15) Vishnu P, Contact: odoo@cybrosys.com + +Contacts +-------- +* Mail Contact : odoo@cybrosys.com +* Website : https://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 `Our Website `__ + +Further information +=================== +HTML Description: ``__ diff --git a/adult_daycare_center/__init__.py b/adult_daycare_center/__init__.py new file mode 100644 index 000000000..335030738 --- /dev/null +++ b/adult_daycare_center/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Cybrosys Techno Solutions (Contact : 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 . +# +############################################################################# +from . import controllers +from . import models diff --git a/adult_daycare_center/__manifest__.py b/adult_daycare_center/__manifest__.py new file mode 100644 index 000000000..d4f4c0759 --- /dev/null +++ b/adult_daycare_center/__manifest__.py @@ -0,0 +1,54 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# +# 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 . +# +############################################################################# +{ + 'name': "Adult Daycare Center", + 'version': '15.0.1.0.0', + 'category': 'Extra Tools', + 'summary': """ Adult Day Care Center For Senior Citizens """, + 'description': """ Adult Day Care Center For Senior Citizens to manage + Adult Daycare Center and Daycare activities""", + 'author': "Cybrosys Techno Solutions", + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': "https://www.cybrosys.com", + 'depends': ['crm', 'project', 'sale_management', 'website', 'account', + 'hr'], + 'data': [ + 'security/ir.model.access.csv', + 'data/website_menu_data.xml', + 'views/res_partner_views.xml', + 'views/crm_lead_views.xml', + 'views/product_template_views.xml', + 'views/assessment_request_templates.xml', + 'views/activity_type_views.xml', + 'views/daycare_activities_views.xml', + 'views/sale_order_views.xml', + 'views/adult_daycare_center_menus.xml', + 'report/res_partner_reports.xml', + 'report/crm_lead_reports.xml', + 'report/sale_order_templates.xml', + ], + 'images': ['static/description/banner.jpg'], + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/adult_daycare_center/controllers/__init__.py b/adult_daycare_center/controllers/__init__.py new file mode 100644 index 000000000..be6d5f6d1 --- /dev/null +++ b/adult_daycare_center/controllers/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Cybrosys Techno Solutions (Contact : 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 . +# +############################################################################# +from . import adult_daycare_center diff --git a/adult_daycare_center/controllers/adult_daycare_center.py b/adult_daycare_center/controllers/adult_daycare_center.py new file mode 100644 index 000000000..c03f1dd7d --- /dev/null +++ b/adult_daycare_center/controllers/adult_daycare_center.py @@ -0,0 +1,99 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Cybrosys Techno Solutions (Contact : 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 . +# +############################################################################# +from odoo import http +from odoo.http import request + + +class RoomBooking(http.Controller): + """ Controller for assessment_request website page """ + @http.route(['/assessment_request'], type='http', auth="public", + website=True) + def assessment_request(self, **kw): + """Function for render assessment request form""" + values = { + 'guests': request.env['res.partner'].sudo().search([]), + 'rooms': request.env['crm.lead'].sudo().search([]) + } + return request.render("adult_daycare_center.assessment_request_form", + values) + + @http.route(['/assessment_request/submit'], type='http', auth="public", + website=True, csrf=False) + def assessment_request_submit(self, **kw): + """Function for assessment request submission""" + lead = request.env['crm.lead'].sudo().create({ + 'type': 'lead', + 'name': kw.get('subject'), + 'contact_name': kw.get('applicant_name'), + 'birth_date': kw.get('birth_date'), + 'gender': kw.get('gender'), + 'street': kw.get('street'), + 'city': kw.get('city'), + 'marital_status': kw.get('marital_status'), + 'present_living': kw.get('living_arrangement'), + 'medicaid': kw.get('medicaid'), + 'medicare': kw.get('medicare'), + 'supplemental_income': kw.get('sup_sec_income'), + 'interest_program': kw.get('why_interest'), + 'previous_experience': kw.get('experience'), + 'where_when': kw.get('where_when'), + 'living_with_whom': kw.get('living_with_whom'), + 'relationship_responsible_relative': kw.get('relation_with_living'), + 'nearest_relative': kw.get('nearest_relative'), + 'nearest_relative_relation': kw.get('nearest_relative_relation'), + 'employed_at': kw.get('employed_where'), + 'business_phone': kw.get('business_phone'), + 'emergency_name': kw.get('emergency_contact_1'), + 'applicant_relationship': kw.get('applicant_relation_1'), + 'emergency_address': kw.get('emergency_address_1'), + 'emergency_phone': kw.get('emergency_phone_1'), + 'first_emergency_name': kw.get('emergency_contact_2'), + 'second_applicant_relationship': kw.get('applicant_relation_2'), + 'first_emergency_address': kw.get('emergency_address_2'), + 'first_emergency_phone': kw.get('emergency_phone_2'), + 'physician_name': kw.get('physician_name'), + 'physician_address': kw.get('physician_address'), + 'physician_phone': kw.get('physician_phone'), + 'physician_last_visit': kw.get('physician_last_visit'), + 'dentist_name': kw.get('dentist_name'), + 'dentist_address': kw.get('dentist_address'), + 'dentist_phone': kw.get('dentist_phone'), + 'dentist_last_visit': kw.get('dentist_last_visit'), + 'transportation': kw.get('transport_provider'), + 'arrival_time': kw.get('arrive_time'), + 'departure_time': kw.get('departure_time'), + 'special_diet': kw.get('diet'), + 'diet_detail': kw.get('diet_detail'), + 'allergies': kw.get('allergies'), + 'request_assurance': kw.get('request_assurance'), + 'paid_by': kw.get('paid_by'), + 'paid_by_name': kw.get('paid_by_name'), + 'paid_by_phone': kw.get('paid_by_phone'), + 'your_email': kw.get('email'), + 'email_from': kw.get('email'), + 'hospital_name': kw.get('hospital_choice'), + }) + vals = { + 'lead': lead, + } + return request.render( + "adult_daycare_center.assessment_request_submit_template", vals) diff --git a/adult_daycare_center/data/website_menu_data.xml b/adult_daycare_center/data/website_menu_data.xml new file mode 100644 index 000000000..430985269 --- /dev/null +++ b/adult_daycare_center/data/website_menu_data.xml @@ -0,0 +1,10 @@ + + + + + Self Assessment Request + /assessment_request + + 22 + + diff --git a/adult_daycare_center/doc/RELEASE_NOTES.md b/adult_daycare_center/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..9c214261d --- /dev/null +++ b/adult_daycare_center/doc/RELEASE_NOTES.md @@ -0,0 +1,7 @@ +## Module + +#### 16.10.2023 +#### Version 15.0.1.0.0 +#### ADD + +- Initial commit for Adult Daycare Center diff --git a/adult_daycare_center/models/__init__.py b/adult_daycare_center/models/__init__.py new file mode 100644 index 000000000..32246f6ac --- /dev/null +++ b/adult_daycare_center/models/__init__.py @@ -0,0 +1,27 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Cybrosys Techno Solutions (Contact : 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 . +# +############################################################################# +from . import activity_type +from . import crm_lead +from . import daycare_activities +from . import product_template +from . import res_partner +from . import sale_order diff --git a/adult_daycare_center/models/activity_type.py b/adult_daycare_center/models/activity_type.py new file mode 100644 index 000000000..4bf415d6a --- /dev/null +++ b/adult_daycare_center/models/activity_type.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Cybrosys Techno Solutions (Contact : 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 . +# +############################################################################# +from odoo import fields, models + + +class ActivityType(models.Model): + """ Adding fields for activity type """ + _name = 'activity.type' + _description = 'Activity Types' + + name = fields.Char(string='Name', help='Activity type name') diff --git a/adult_daycare_center/models/crm_lead.py b/adult_daycare_center/models/crm_lead.py new file mode 100644 index 000000000..7fb5a2ee7 --- /dev/null +++ b/adult_daycare_center/models/crm_lead.py @@ -0,0 +1,200 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Cybrosys Techno Solutions (Contact : 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 . +# +############################################################################# +from odoo import fields, models + + +class CrmLead(models.Model): + """ Adding fields in crm lead for day care """ + _inherit = 'crm.lead' + + birth_date = fields.Date(string='Birthdate', help='Date of birth') + gender = fields.Selection([('Male', 'Male'), ('Female', 'Female')], + string='Gender', help='Gender of the person') + medicaid = fields.Integer(string='Medicaid', + help='Medicaid details of the person') + medicare = fields.Integer(string='Medicare', + help='Medicare details of the person') + supplemental_income = fields.Float(string='Supplemental Security Income', + help='To add supplemental security ' + 'income of the person') + interest_program = fields.Char(string='Interest In Program', + help='To add reason of interest in program') + previous_experience = fields.Selection([('Yes', 'Yes'), + ('No', 'No')], + string='Previous Experience', + help='Do you have previous program ' + 'experience') + where_when = fields.Char(string='Where and When', + help='Where and when you have previous' + ' program experience') + marital_status = fields.Selection( + [('Single', 'Single'), ('Married', 'Married'), + ('Separated', 'Separated'), ('Widowed', 'Widowed'), + ('Divorced', 'Divorced')], string='Marital Status', + help='To add marital status of person') + present_living = fields.Selection([ + ('With Relative', 'With Relative'), + ('With Non-Relative', 'With Non-Relative'), + ('Alone(Home/Apartment)', 'Alone(Home/Apartment)'), + ('Alone(Single Room)', 'Alone(Single Room)')], + string='Present Living Arrangement', + help='To add the person present Living Agreement') + living_with_whom = fields.Char(string='Living With Whom', + help='To add person living with whom') + living_with = fields.Char(string='Living With', + help='To add person living with details') + relationship_responsible_relative = fields.Char( + string='Relationship Responsible Relative', + help='To add details of relationship responsible relative') + nearest_relative = fields.Char(string='Nearest Relative', + help='To add nearest relative of the person') + nearest_relative_relation = fields.Char(string='Nearest Relative Relation', + help='Nearest relative ' + 'relation with the person') + business_phone = fields.Char(string='Business Phone', + help='To add business Phone Number') + emergency_name = fields.Char(string='Emergency Name', help='To add ' + 'emergency Name') + applicant_relationship = fields.Char(string='Applicant Relationship', + help='To add relationship with' + 'applicant') + emergency_address = fields.Text(string='Emergency Address', + help='To add emergency contact address') + emergency_phone = fields.Char(string='Emergency Phone', + help='To add emergency Phone Number') + first_emergency_name = fields.Char(string='Emergency Name#1', + help='To add emergency contact name#1') + second_applicant_relationship = fields.Char( + string='Applicant Relationship#2', + help='To add relationship with applicant#2') + first_emergency_address = fields.Text(string='Emergency Address#1', + help='To add emergency address of #1') + first_emergency_phone = fields.Char(string='Emergency Phone#1', + help='To add emergency' + 'phone number of #1') + physician_name = fields.Char(string='Physician Name', + help='To add name of physician') + physician_address = fields.Text(string='Physician Address', + help='To add address of physician') + physician_phone = fields.Char(string='Physician Phone', + help='To add phone number of physician') + physician_last_visit = fields.Date(string='Physician Last Visit', + help='To add last visit date with ' + 'physician') + dentist_name = fields.Char(string='Dentist Name', help='To add name of' + ' dentist') + dentist_address = fields.Text(string='Dentist Address', + help='To add address of dentist') + dentist_phone = fields.Char(string='Dentist Phone', + help='To add phone number of dentist') + dentist_last_visit = fields.Date(string='Dentist Last Visit', + help='To add last visit with dentist') + transportation = fields.Selection( + [('Relative or Friend', 'Relative or Friend'), + ('Public Transportation', 'Public Transportation'), + ('Blessed Assurance', 'Blessed Assurance')], + string='Transportation', help='To add transportation with') + arrival_time = fields.Float(string='Arrival Time', help='To add time of ' + 'arrival') + departure_time = fields.Float(string='Departure Time', + help='To add time of departure') + special_diet = fields.Selection([('Yes', 'Yes'), ('No', 'No')], + string='Special Diet', + help='To add person have any special Diet?') + responsible = fields.Char(string='Responsible', help='To add ' + 'responsible person') + paid_by = fields.Selection([('Myself', 'Myself'), + ('Relative', 'Relative'), + ('Another Party', 'Another Party')], + string='Paid By', help='To add paid by details') + paid_by_name = fields.Char(string='Payer Name', help='To add name of payer') + paid_by_phone = fields.Char(string='Payer Phone', + help='To add phone number of payer') + your_email = fields.Char(string='Your Email', help='To add your email ' + 'address', ) + hospital_name = fields.Char(string='Hospital Name', help='Name of Hospital') + today_date = fields.Date(string='Today Date', default=fields.Date.today, + help="Today's Date") + diet_detail = fields.Char(string='Diet Detail', help='Details of your Diet') + allergies = fields.Char(string='List of Allergies', + help='To add person allergy details') + time_request = fields.Char(string='Time Request', + help='To add time request of the person') + employed_at = fields.Char(string='Employed At', help='To add employed at' + ' details') + request_assurance = fields.Char(string='Blessed Assurance', + help='To add blessed assurance details') + + def action_updt_adult_info(self): + """ + This function Updates the daycare data inside res.partner with the + corresponding data in the crm.lead model + """ + adult_person = self.env['res.partner'].browse(self.partner_id.id) + adult_person.update({ + 'is_customer': True, + 'is_adult_member': True, + 'medicare_no': self.medicare, + 'medicaid_no': self.medicaid, + 'birth_date': self.birth_date, + 'marital_status': self.marital_status, + 'physician': self.physician_name, + 'physician_address': self.physician_address, + 'physician_phone': self.physician_phone, + 'dentist': self.dentist_name, + 'dentist_address': self.dentist_address, + 'dentist_phone': self.dentist_phone, + 'dentist_last_visit': self.dentist_last_visit, + 'transportation': self.transportation, + 'arrival_time': self.arrival_time, + 'departure_time': self.departure_time, + 'special_diet': self.special_diet, + 'diet_detail': self.diet_detail, + 'allergies': self.allergies, + 'time_request': self.time_request, + 'emergency_name': self.emergency_name, + 'applicant_relationship': self.applicant_relationship, + 'emergency_address': self.emergency_address, + 'emergency_phone': self.emergency_phone, + 'first_emergency_name': self.first_emergency_name, + 'second_applicant_relationship': self.second_applicant_relationship, + 'first_emergency_address': self.first_emergency_address, + 'first_emergency_phone': self.first_emergency_phone, + 'responsible': self.responsible, + 'paid_by': self.paid_by, + 'paid_by_name': self.paid_by_name, + 'paid_by_phone': self.paid_by_phone, + 'your_email': self.your_email, + 'hospital_name': self.hospital_name, + 'today_date': self.today_date, + 'interest_program': self.interest_program, + 'previous_experience': self.previous_experience, + 'where_when': self.where_when, + 'present_living': self.present_living, + 'living_with_whom': self.living_with_whom, + 'living_with': self.living_with, + 'relationship_responsible_relative': self.relationship_responsible_relative, + 'nearest_relative': self.nearest_relative, + 'nearest_relative_relation': self.nearest_relative_relation, + 'business_phone': self.business_phone, + 'employed_at': self.employed_at, + }) diff --git a/adult_daycare_center/models/daycare_activities.py b/adult_daycare_center/models/daycare_activities.py new file mode 100644 index 000000000..6a714624a --- /dev/null +++ b/adult_daycare_center/models/daycare_activities.py @@ -0,0 +1,46 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Cybrosys Techno Solutions (Contact : 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 . +# +############################################################################# +from odoo import fields, models + + +class DaycareActivities(models.Model): + """ Adding fields and functionalities in daycare activities""" + _name = 'daycare.activities' + _description = 'Day Care Activities' + _rec_name = 'activity_type_id' + + activity_type_id = fields.Many2one('activity.type', string='Name', + required=True, help='To add name of' + ' activity') + product_id = fields.Many2one('product.template', + string='Product', + domain=[('is_adult_activity', '=', True)], + help='To add product details', required=True) + notes = fields.Char(string='Notes', help='To add notes') + time_in = fields.Float(string='Time In', help='To add time in details') + time_out = fields.Float(string='Time Out', help='To add time out details') + responsible_id = fields.Many2one('res.users', + string='Responsible By', + help='To add responsible person details') + res_partner_id = fields.Many2one('res.partner', + string='Partner', + help='Partner Details') diff --git a/adult_daycare_center/models/product_template.py b/adult_daycare_center/models/product_template.py new file mode 100644 index 000000000..ef2e1abbc --- /dev/null +++ b/adult_daycare_center/models/product_template.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Cybrosys Techno Solutions (Contact : 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 . +# +############################################################################# +from odoo import fields, models + + +class ProductTemplate(models.Model): + """ Adding boolean field for adult activity in product""" + _inherit = 'product.template' + + is_adult_activity = fields.Boolean(string='Is Adult Activity?', + help='To mark is adult activity or not') diff --git a/adult_daycare_center/models/res_partner.py b/adult_daycare_center/models/res_partner.py new file mode 100644 index 000000000..26b5362b9 --- /dev/null +++ b/adult_daycare_center/models/res_partner.py @@ -0,0 +1,191 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Cybrosys Techno Solutions (Contact : 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 . +# +############################################################################# +from odoo import api, fields, models + + +class ResPartners(models.Model): + """ Inherit res partner add fields """ + _inherit = 'res.partner' + + is_customer = fields.Boolean(string='Is A Customer', + help='If user is a customer, enable this ' + 'option') + is_adult_member = fields.Boolean(string='Is Adult Member?', + help='If user is a adult member, enable ' + 'this option') + social_security_no = fields.Integer(string='Social Security Number', + help='To add social security number') + medicare_no = fields.Integer(string='Medicare Number', + help='To add Medicare number') + medicaid_no = fields.Integer(string='Medicaid Number', + help='To add Medicaid number') + birth_date = fields.Date(string='Birth Date', help='To add date of birth') + age = fields.Integer(string='Age', help='To add age of person') + referred_by_id = fields.Many2one('res.partner', + string='Referred By', + help='To add referred details') + marital_status = fields.Selection( + [('Single', 'Single'), ('Married', 'Married'), + ('Separated', 'Separated'), ('Widowed', 'Widowed'), + ('Divorced', 'Divorced')], string='Marital Status', + help='To add marital details of the person') + place_birth = fields.Char(string='Birth Place', + help='To add place of birth') + responsible_id = fields.Many2one('hr.employee', + string='Responsible Party/Guardian', + help='To add responsible party/guardian') + responsible_address = fields.Text(string='Address', + help='To add responsible address') + responsible_telephone = fields.Char(string='Telephone', + help='To add responsible ' + 'telephone number') + care_provider_id = fields.Many2one('hr.employee', + string='Primary Care Provider', + help='To add primary care ' + 'provider details') + care_provider_address = fields.Text(string='Address', + help='To add address of care provider') + care_provider_telephone = fields.Text(string='Telephone', + help='To add care provider ' + 'telephone number') + physician = fields.Char(string='Physician', help='To add physician details') + physician_address = fields.Text(string='Address', + help='To add address of physician') + physician_phone = fields.Char(string='Phone', + help='To add phone number of physician') + travel_by = fields.Selection([('Car', 'Car'), ('Bus', 'Bus')], + string='Travel By', help='To add ' + 'travel by details') + travel_assistance = fields.Boolean(string='Is Need Travel Assistance', + help='To add travel assistance details') + present_medical = fields.Char(string='Present Diagnoses/Medical Problems', + help='To add Present ' + 'diagnoses/medical problems' + ) + other_disability = fields.Char(string='Other Disability', + help='To add other disabilities') + weight = fields.Float(string='Weight', help='To add weight') + height = fields.Float(string='Height', help='To add height') + dentist = fields.Char(string='Dentist Name', help='To add name of dentist') + dentist_address = fields.Text(string='Address', help='To add ' + 'address of dentist') + dentist_phone = fields.Char(string='Phone', help='To add ' + 'phone number of dentist') + dentist_last_visit = fields.Date(string='Dentist Last Visit', + help="To add dentist's last visit date") + daycare_activities_ids = fields.One2many('daycare.activities', + 'res_partner_id', + string='Daycare Activities', + help='To add daycare ' + 'activity details') + transportation = fields.Selection( + [('Relative or Friend', 'Relative or Friend'), + ('Public Transportation', 'Public Transportation'), + ('Blessed Assurance', 'Blessed Assurance')], + string='Transportation', help='To add transportation details') + arrival_time = fields.Float(string='Arrival TIme', help='To add ' + 'time of arrival') + departure_time = fields.Float(string='Departure Time', + help='To add time of departure') + special_diet = fields.Selection([('Yes', 'Yes'), ('No', 'No')], + string='Special Diet', + help='To add special diet details') + diet_detail = fields.Char(string='Diet Detail', help='To add details of ' + 'diet of the person') + allergies = fields.Char(string='List of Allergies', + help='To add allergies of the person') + time_request = fields.Char(string='Time Request', + help='To add time request details') + emergency_name = fields.Char(string='Emergency Name', + help='To add emergency contact name') + applicant_relationship = fields.Char(string='Applicant Relationship', + help='To add relationship with' + ' Applicant') + emergency_address = fields.Text(string='Emergency address', + help='To add address of emergency contact') + emergency_phone = fields.Char(string='Emergency phone', + help='To add phone number of ' + 'emergency Contact') + first_emergency_name = fields.Char(string='Emergency Name#1', + help='To add name of emergency #1') + second_applicant_relationship = fields.Char( + string='Applicant Relationship#2', + help='To add applicant relationship with #2') + first_emergency_address = fields.Text(string='Emergency Address#1', + help='To add emergency address of #1') + first_emergency_phone = fields.Char(string='Emergency Phone#1', + help='To add emergency ' + 'phone number of #1') + responsible = fields.Char(string='Responsible', help='To add ' + 'responsible Details') + paid_by = fields.Selection([('Myself', 'Myself'), + ('Relative', 'Relative'), + ('Another Party', 'Another Party')], + string='Paid By', help='To add paid by details') + paid_by_name = fields.Char(string='Payer Name', help='To add name of payer') + paid_by_phone = fields.Char(string='Payer Phone', + help='To add phone number of payer') + your_email = fields.Char(string='Email', help='To add email') + hospital_name = fields.Char(string='Hospital Name', help='To add ' + 'name of hospital') + today_date = fields.Date(string='Today Date', help='To add today date') + interest_program = fields.Char(string='Interest In Program', + help='To add reason of interest in program') + previous_experience = fields.Selection([('Yes', 'Yes'), + ('No', 'No')], + string='Previous Experience', + help='To add have previous' + ' experience with program ') + where_when = fields.Char(string='Where and When', + help='To add where and when you have ' + 'previous experience') + present_living = fields.Selection([ + ('With Relative', 'With Relative'), + ('With Non-Relative', 'With Non-Relative'), + ('Alone(Home/Apartment)', 'Alone(Home/Apartment)'), + ('Alone(Single Room)', 'Alone(Single Room)')], + string='Present Living Arrangement', + help='To add present Living arrangement') + living_with_whom = fields.Char(string='Living With Whom', + help='To add person living with whom') + living_with = fields.Char(string='Living With', help='To add ' + 'person living with') + relationship_responsible_relative = fields.Char( + string='Relationship Responsible Relative', + help='To add relationship responsible relative details') + nearest_relative = fields.Char(string='Nearest Relative', + help='To add nearest relative of the person') + nearest_relative_relation = fields.Char(string='Nearest Relative Relation', + help='To add nearest ' + 'relative relation details') + business_phone = fields.Char(string='Business Phone', + help='To add business phone number') + employed_at = fields.Char(string='Employed At', + help='To add where you employed at') + + @api.onchange('is_adult_member') + def _onchange_is_adult_member(self): + """ + When is_adult_member is True, is_customer becomes True and if + is_adult_member is False then, is_customer becomes False + """ + self.is_customer = self.is_adult_member diff --git a/adult_daycare_center/models/sale_order.py b/adult_daycare_center/models/sale_order.py new file mode 100644 index 000000000..b3e71afc6 --- /dev/null +++ b/adult_daycare_center/models/sale_order.py @@ -0,0 +1,52 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Cybrosys Techno Solutions (Contact : 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 . +# +############################################################################# +from odoo import api, fields, models + + +class SaleOrder(models.Model): + """ Inherit sale order and add adult person id""" + _inherit = 'sale.order' + + adult_person_id = fields.Many2one('res.partner', + string='Adult Person', + domain="[('is_adult_member', '=', True)]", + help='To add is adult person or not') + + @api.onchange('adult_person_id') + def _onchange_adult_person_id(self): + """When adult_person_id is chosen corresponding activities loads + to the order lines""" + product = [] + for rec in self.adult_person_id.daycare_activities_ids: + product_id = self.env['product.product'].search([ + ('product_tmpl_id', '=', rec.product_id.id)]) + product.append(product_id) + self.write({'order_line': [(5, 0)]}) + self.update({ + 'order_line': [(0, 0, { + 'product_id': rec.id, + 'product_uom': rec.uom_id.id, + 'product_uom_qty': 1, + 'name': rec.name, + 'price_unit': rec.list_price, + }) for rec in product], + }) diff --git a/adult_daycare_center/report/crm_lead_reports.xml b/adult_daycare_center/report/crm_lead_reports.xml new file mode 100644 index 000000000..789ce60df --- /dev/null +++ b/adult_daycare_center/report/crm_lead_reports.xml @@ -0,0 +1,177 @@ + + + + + Adult Care Details + crm.lead + qweb-pdf + adult_daycare_center.adult_care_crm_lead_report + adult_daycare_center.adult_care_crm_lead_report + + report + + + diff --git a/adult_daycare_center/report/res_partner_reports.xml b/adult_daycare_center/report/res_partner_reports.xml new file mode 100644 index 000000000..f60d59ec9 --- /dev/null +++ b/adult_daycare_center/report/res_partner_reports.xml @@ -0,0 +1,258 @@ + + + + + Adult Care Details + res.partner + qweb-pdf + adult_daycare_center.adult_care_details_report + adult_daycare_center.adult_care_details_report + + report + + + diff --git a/adult_daycare_center/report/sale_order_templates.xml b/adult_daycare_center/report/sale_order_templates.xml new file mode 100644 index 000000000..dfb834c1b --- /dev/null +++ b/adult_daycare_center/report/sale_order_templates.xml @@ -0,0 +1,12 @@ + + + + diff --git a/adult_daycare_center/security/ir.model.access.csv b/adult_daycare_center/security/ir.model.access.csv new file mode 100644 index 000000000..7c15b5a37 --- /dev/null +++ b/adult_daycare_center/security/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id/id,group_id/id,perm_read,perm_write,perm_create,perm_unlink +access_activity_type_user,access.activity.type.user,model_activity_type,base.group_user,1,1,1,1 +access_daycare_activities_user,access.daycare.activities.user,model_daycare_activities,base.group_user,1,1,1,1 diff --git a/adult_daycare_center/static/description/assets/icons/check.png b/adult_daycare_center/static/description/assets/icons/check.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/adult_daycare_center/static/description/assets/icons/check.png differ diff --git a/adult_daycare_center/static/description/assets/icons/chevron.png b/adult_daycare_center/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/adult_daycare_center/static/description/assets/icons/chevron.png differ diff --git a/adult_daycare_center/static/description/assets/icons/cogs.png b/adult_daycare_center/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/adult_daycare_center/static/description/assets/icons/cogs.png differ diff --git a/adult_daycare_center/static/description/assets/icons/consultation.png b/adult_daycare_center/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/adult_daycare_center/static/description/assets/icons/consultation.png differ diff --git a/adult_daycare_center/static/description/assets/icons/ecom-black.png b/adult_daycare_center/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/adult_daycare_center/static/description/assets/icons/ecom-black.png differ diff --git a/adult_daycare_center/static/description/assets/icons/education-black.png b/adult_daycare_center/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/adult_daycare_center/static/description/assets/icons/education-black.png differ diff --git a/adult_daycare_center/static/description/assets/icons/hotel-black.png b/adult_daycare_center/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/adult_daycare_center/static/description/assets/icons/hotel-black.png differ diff --git a/adult_daycare_center/static/description/assets/icons/license.png b/adult_daycare_center/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/adult_daycare_center/static/description/assets/icons/license.png differ diff --git a/adult_daycare_center/static/description/assets/icons/lifebuoy.png b/adult_daycare_center/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/adult_daycare_center/static/description/assets/icons/lifebuoy.png differ diff --git a/adult_daycare_center/static/description/assets/icons/manufacturing-black.png b/adult_daycare_center/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/adult_daycare_center/static/description/assets/icons/manufacturing-black.png differ diff --git a/adult_daycare_center/static/description/assets/icons/pos-black.png b/adult_daycare_center/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/adult_daycare_center/static/description/assets/icons/pos-black.png differ diff --git a/adult_daycare_center/static/description/assets/icons/puzzle.png b/adult_daycare_center/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/adult_daycare_center/static/description/assets/icons/puzzle.png differ diff --git a/adult_daycare_center/static/description/assets/icons/restaurant-black.png b/adult_daycare_center/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/adult_daycare_center/static/description/assets/icons/restaurant-black.png differ diff --git a/adult_daycare_center/static/description/assets/icons/service-black.png b/adult_daycare_center/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/adult_daycare_center/static/description/assets/icons/service-black.png differ diff --git a/adult_daycare_center/static/description/assets/icons/trading-black.png b/adult_daycare_center/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/adult_daycare_center/static/description/assets/icons/trading-black.png differ diff --git a/adult_daycare_center/static/description/assets/icons/training.png b/adult_daycare_center/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/adult_daycare_center/static/description/assets/icons/training.png differ diff --git a/adult_daycare_center/static/description/assets/icons/update.png b/adult_daycare_center/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/adult_daycare_center/static/description/assets/icons/update.png differ diff --git a/adult_daycare_center/static/description/assets/icons/user.png b/adult_daycare_center/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/adult_daycare_center/static/description/assets/icons/user.png differ diff --git a/adult_daycare_center/static/description/assets/icons/wrench.png b/adult_daycare_center/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/adult_daycare_center/static/description/assets/icons/wrench.png differ diff --git a/adult_daycare_center/static/description/assets/misc/categories.png b/adult_daycare_center/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/adult_daycare_center/static/description/assets/misc/categories.png differ diff --git a/adult_daycare_center/static/description/assets/misc/check.png b/adult_daycare_center/static/description/assets/misc/check.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/adult_daycare_center/static/description/assets/misc/check.png differ diff --git a/adult_daycare_center/static/description/assets/misc/compass.png b/adult_daycare_center/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/adult_daycare_center/static/description/assets/misc/compass.png differ diff --git a/adult_daycare_center/static/description/assets/misc/corporate.png b/adult_daycare_center/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/adult_daycare_center/static/description/assets/misc/corporate.png differ diff --git a/adult_daycare_center/static/description/assets/misc/customer-support.png b/adult_daycare_center/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/adult_daycare_center/static/description/assets/misc/customer-support.png differ diff --git a/adult_daycare_center/static/description/assets/misc/cybrosys-logo.png b/adult_daycare_center/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/adult_daycare_center/static/description/assets/misc/cybrosys-logo.png differ diff --git a/adult_daycare_center/static/description/assets/misc/logo.png b/adult_daycare_center/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/adult_daycare_center/static/description/assets/misc/logo.png differ diff --git a/adult_daycare_center/static/description/assets/misc/pictures.png b/adult_daycare_center/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/adult_daycare_center/static/description/assets/misc/pictures.png differ diff --git a/adult_daycare_center/static/description/assets/misc/pie-chart.png b/adult_daycare_center/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/adult_daycare_center/static/description/assets/misc/pie-chart.png differ diff --git a/adult_daycare_center/static/description/assets/misc/right-arrow.png b/adult_daycare_center/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/adult_daycare_center/static/description/assets/misc/right-arrow.png differ diff --git a/adult_daycare_center/static/description/assets/misc/star.png b/adult_daycare_center/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/adult_daycare_center/static/description/assets/misc/star.png differ diff --git a/adult_daycare_center/static/description/assets/misc/support.png b/adult_daycare_center/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/adult_daycare_center/static/description/assets/misc/support.png differ diff --git a/adult_daycare_center/static/description/assets/misc/whatsapp.png b/adult_daycare_center/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/adult_daycare_center/static/description/assets/misc/whatsapp.png differ diff --git a/adult_daycare_center/static/description/assets/modules/access_restriction_by_ip.png b/adult_daycare_center/static/description/assets/modules/access_restriction_by_ip.png new file mode 100644 index 000000000..707e2b7ed Binary files /dev/null and b/adult_daycare_center/static/description/assets/modules/access_restriction_by_ip.png differ diff --git a/adult_daycare_center/static/description/assets/modules/all_in_one_custom_fields.png b/adult_daycare_center/static/description/assets/modules/all_in_one_custom_fields.png new file mode 100644 index 000000000..53de17dbf Binary files /dev/null and b/adult_daycare_center/static/description/assets/modules/all_in_one_custom_fields.png differ diff --git a/adult_daycare_center/static/description/assets/modules/auto_backup.gif b/adult_daycare_center/static/description/assets/modules/auto_backup.gif new file mode 100644 index 000000000..591c8b18d Binary files /dev/null and b/adult_daycare_center/static/description/assets/modules/auto_backup.gif differ diff --git a/adult_daycare_center/static/description/assets/modules/hide_menu_user.png b/adult_daycare_center/static/description/assets/modules/hide_menu_user.png new file mode 100644 index 000000000..6bc155887 Binary files /dev/null and b/adult_daycare_center/static/description/assets/modules/hide_menu_user.png differ diff --git a/adult_daycare_center/static/description/assets/modules/multi_branch.png b/adult_daycare_center/static/description/assets/modules/multi_branch.png new file mode 100644 index 000000000..6f654cfdb Binary files /dev/null and b/adult_daycare_center/static/description/assets/modules/multi_branch.png differ diff --git a/adult_daycare_center/static/description/assets/modules/user_login.png b/adult_daycare_center/static/description/assets/modules/user_login.png new file mode 100644 index 000000000..4fbe85ac1 Binary files /dev/null and b/adult_daycare_center/static/description/assets/modules/user_login.png differ diff --git a/adult_daycare_center/static/description/assets/modules/whatsapp_odoo.gif b/adult_daycare_center/static/description/assets/modules/whatsapp_odoo.gif new file mode 100644 index 000000000..c51b9eb07 Binary files /dev/null and b/adult_daycare_center/static/description/assets/modules/whatsapp_odoo.gif differ diff --git a/adult_daycare_center/static/description/assets/screenshots/1.png b/adult_daycare_center/static/description/assets/screenshots/1.png new file mode 100644 index 000000000..a955cf91e Binary files /dev/null and b/adult_daycare_center/static/description/assets/screenshots/1.png differ diff --git a/adult_daycare_center/static/description/assets/screenshots/10.png b/adult_daycare_center/static/description/assets/screenshots/10.png new file mode 100644 index 000000000..352e4f538 Binary files /dev/null and b/adult_daycare_center/static/description/assets/screenshots/10.png differ diff --git a/adult_daycare_center/static/description/assets/screenshots/11.png b/adult_daycare_center/static/description/assets/screenshots/11.png new file mode 100644 index 000000000..994d2dbcb Binary files /dev/null and b/adult_daycare_center/static/description/assets/screenshots/11.png differ diff --git a/adult_daycare_center/static/description/assets/screenshots/12.png b/adult_daycare_center/static/description/assets/screenshots/12.png new file mode 100644 index 000000000..4bcd0f4f5 Binary files /dev/null and b/adult_daycare_center/static/description/assets/screenshots/12.png differ diff --git a/adult_daycare_center/static/description/assets/screenshots/13.png b/adult_daycare_center/static/description/assets/screenshots/13.png new file mode 100644 index 000000000..3341d9f16 Binary files /dev/null and b/adult_daycare_center/static/description/assets/screenshots/13.png differ diff --git a/adult_daycare_center/static/description/assets/screenshots/14.png b/adult_daycare_center/static/description/assets/screenshots/14.png new file mode 100644 index 000000000..75564acfe Binary files /dev/null and b/adult_daycare_center/static/description/assets/screenshots/14.png differ diff --git a/adult_daycare_center/static/description/assets/screenshots/15.png b/adult_daycare_center/static/description/assets/screenshots/15.png new file mode 100644 index 000000000..86cd7427a Binary files /dev/null and b/adult_daycare_center/static/description/assets/screenshots/15.png differ diff --git a/adult_daycare_center/static/description/assets/screenshots/16.png b/adult_daycare_center/static/description/assets/screenshots/16.png new file mode 100644 index 000000000..01bfb250b Binary files /dev/null and b/adult_daycare_center/static/description/assets/screenshots/16.png differ diff --git a/adult_daycare_center/static/description/assets/screenshots/17.png b/adult_daycare_center/static/description/assets/screenshots/17.png new file mode 100644 index 000000000..f0a62820f Binary files /dev/null and b/adult_daycare_center/static/description/assets/screenshots/17.png differ diff --git a/adult_daycare_center/static/description/assets/screenshots/18.png b/adult_daycare_center/static/description/assets/screenshots/18.png new file mode 100644 index 000000000..2afd87b77 Binary files /dev/null and b/adult_daycare_center/static/description/assets/screenshots/18.png differ diff --git a/adult_daycare_center/static/description/assets/screenshots/19.png b/adult_daycare_center/static/description/assets/screenshots/19.png new file mode 100644 index 000000000..034aff316 Binary files /dev/null and b/adult_daycare_center/static/description/assets/screenshots/19.png differ diff --git a/adult_daycare_center/static/description/assets/screenshots/2.png b/adult_daycare_center/static/description/assets/screenshots/2.png new file mode 100644 index 000000000..24bc143e6 Binary files /dev/null and b/adult_daycare_center/static/description/assets/screenshots/2.png differ diff --git a/adult_daycare_center/static/description/assets/screenshots/20.png b/adult_daycare_center/static/description/assets/screenshots/20.png new file mode 100644 index 000000000..ea211cca5 Binary files /dev/null and b/adult_daycare_center/static/description/assets/screenshots/20.png differ diff --git a/adult_daycare_center/static/description/assets/screenshots/21.png b/adult_daycare_center/static/description/assets/screenshots/21.png new file mode 100644 index 000000000..8a1126e75 Binary files /dev/null and b/adult_daycare_center/static/description/assets/screenshots/21.png differ diff --git a/adult_daycare_center/static/description/assets/screenshots/22.png b/adult_daycare_center/static/description/assets/screenshots/22.png new file mode 100644 index 000000000..830eec52e Binary files /dev/null and b/adult_daycare_center/static/description/assets/screenshots/22.png differ diff --git a/adult_daycare_center/static/description/assets/screenshots/23.png b/adult_daycare_center/static/description/assets/screenshots/23.png new file mode 100644 index 000000000..5b563efff Binary files /dev/null and b/adult_daycare_center/static/description/assets/screenshots/23.png differ diff --git a/adult_daycare_center/static/description/assets/screenshots/24.png b/adult_daycare_center/static/description/assets/screenshots/24.png new file mode 100644 index 000000000..841f505a5 Binary files /dev/null and b/adult_daycare_center/static/description/assets/screenshots/24.png differ diff --git a/adult_daycare_center/static/description/assets/screenshots/25.png b/adult_daycare_center/static/description/assets/screenshots/25.png new file mode 100644 index 000000000..26d884dd0 Binary files /dev/null and b/adult_daycare_center/static/description/assets/screenshots/25.png differ diff --git a/adult_daycare_center/static/description/assets/screenshots/26.png b/adult_daycare_center/static/description/assets/screenshots/26.png new file mode 100644 index 000000000..649f71ac9 Binary files /dev/null and b/adult_daycare_center/static/description/assets/screenshots/26.png differ diff --git a/adult_daycare_center/static/description/assets/screenshots/27.png b/adult_daycare_center/static/description/assets/screenshots/27.png new file mode 100644 index 000000000..f41592dbd Binary files /dev/null and b/adult_daycare_center/static/description/assets/screenshots/27.png differ diff --git a/adult_daycare_center/static/description/assets/screenshots/28.png b/adult_daycare_center/static/description/assets/screenshots/28.png new file mode 100644 index 000000000..39e7984b6 Binary files /dev/null and b/adult_daycare_center/static/description/assets/screenshots/28.png differ diff --git a/adult_daycare_center/static/description/assets/screenshots/29.png b/adult_daycare_center/static/description/assets/screenshots/29.png new file mode 100644 index 000000000..c224d0749 Binary files /dev/null and b/adult_daycare_center/static/description/assets/screenshots/29.png differ diff --git a/adult_daycare_center/static/description/assets/screenshots/3.png b/adult_daycare_center/static/description/assets/screenshots/3.png new file mode 100644 index 000000000..586c3bf0c Binary files /dev/null and b/adult_daycare_center/static/description/assets/screenshots/3.png differ diff --git a/adult_daycare_center/static/description/assets/screenshots/30.png b/adult_daycare_center/static/description/assets/screenshots/30.png new file mode 100644 index 000000000..3f7935c6f Binary files /dev/null and b/adult_daycare_center/static/description/assets/screenshots/30.png differ diff --git a/adult_daycare_center/static/description/assets/screenshots/31.png b/adult_daycare_center/static/description/assets/screenshots/31.png new file mode 100644 index 000000000..05df23318 Binary files /dev/null and b/adult_daycare_center/static/description/assets/screenshots/31.png differ diff --git a/adult_daycare_center/static/description/assets/screenshots/32.png b/adult_daycare_center/static/description/assets/screenshots/32.png new file mode 100644 index 000000000..155358383 Binary files /dev/null and b/adult_daycare_center/static/description/assets/screenshots/32.png differ diff --git a/adult_daycare_center/static/description/assets/screenshots/33.png b/adult_daycare_center/static/description/assets/screenshots/33.png new file mode 100644 index 000000000..b4d280745 Binary files /dev/null and b/adult_daycare_center/static/description/assets/screenshots/33.png differ diff --git a/adult_daycare_center/static/description/assets/screenshots/34.png b/adult_daycare_center/static/description/assets/screenshots/34.png new file mode 100644 index 000000000..252657e90 Binary files /dev/null and b/adult_daycare_center/static/description/assets/screenshots/34.png differ diff --git a/adult_daycare_center/static/description/assets/screenshots/35.png b/adult_daycare_center/static/description/assets/screenshots/35.png new file mode 100644 index 000000000..d1cae1814 Binary files /dev/null and b/adult_daycare_center/static/description/assets/screenshots/35.png differ diff --git a/adult_daycare_center/static/description/assets/screenshots/36.png b/adult_daycare_center/static/description/assets/screenshots/36.png new file mode 100644 index 000000000..81dc6c6b8 Binary files /dev/null and b/adult_daycare_center/static/description/assets/screenshots/36.png differ diff --git a/adult_daycare_center/static/description/assets/screenshots/4.png b/adult_daycare_center/static/description/assets/screenshots/4.png new file mode 100644 index 000000000..bdc1c0a79 Binary files /dev/null and b/adult_daycare_center/static/description/assets/screenshots/4.png differ diff --git a/adult_daycare_center/static/description/assets/screenshots/5.png b/adult_daycare_center/static/description/assets/screenshots/5.png new file mode 100644 index 000000000..20fa2e287 Binary files /dev/null and b/adult_daycare_center/static/description/assets/screenshots/5.png differ diff --git a/adult_daycare_center/static/description/assets/screenshots/6.png b/adult_daycare_center/static/description/assets/screenshots/6.png new file mode 100644 index 000000000..b36b779b9 Binary files /dev/null and b/adult_daycare_center/static/description/assets/screenshots/6.png differ diff --git a/adult_daycare_center/static/description/assets/screenshots/7.png b/adult_daycare_center/static/description/assets/screenshots/7.png new file mode 100644 index 000000000..e836986f4 Binary files /dev/null and b/adult_daycare_center/static/description/assets/screenshots/7.png differ diff --git a/adult_daycare_center/static/description/assets/screenshots/8.png b/adult_daycare_center/static/description/assets/screenshots/8.png new file mode 100644 index 000000000..29fe0ff8a Binary files /dev/null and b/adult_daycare_center/static/description/assets/screenshots/8.png differ diff --git a/adult_daycare_center/static/description/assets/screenshots/9.png b/adult_daycare_center/static/description/assets/screenshots/9.png new file mode 100644 index 000000000..e53a59750 Binary files /dev/null and b/adult_daycare_center/static/description/assets/screenshots/9.png differ diff --git a/adult_daycare_center/static/description/assets/screenshots/v15-hero.gif b/adult_daycare_center/static/description/assets/screenshots/v15-hero.gif new file mode 100644 index 000000000..99c110b08 Binary files /dev/null and b/adult_daycare_center/static/description/assets/screenshots/v15-hero.gif differ diff --git a/adult_daycare_center/static/description/banner.jpg b/adult_daycare_center/static/description/banner.jpg new file mode 100644 index 000000000..8ac33a910 Binary files /dev/null and b/adult_daycare_center/static/description/banner.jpg differ diff --git a/adult_daycare_center/static/description/icon.png b/adult_daycare_center/static/description/icon.png new file mode 100644 index 000000000..495021d72 Binary files /dev/null and b/adult_daycare_center/static/description/icon.png differ diff --git a/adult_daycare_center/static/description/index.html b/adult_daycare_center/static/description/index.html new file mode 100644 index 000000000..1baae9759 --- /dev/null +++ b/adult_daycare_center/static/description/index.html @@ -0,0 +1,829 @@ +
+ +
+ +
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+ + + +
+
+
+ +

+ Adult Daycare Center

+

+ Manage Adult Day Care Center and Activities.

+ + +
+
+
+ + +
+ + +
+
+ +
+

+ Explore This + Module

+
+ + + + +
+
+ +
+

+ Overview +

+
+
+
+ This fully integrated app allows for the management of adult day care + services and activities alongside Odoo's standard applications. + It's easy to use and very user-friendly. +
+
+ + + +
+
+

+ Features +

+
+ +
+
+ +
+
+

+ Management of Adult dare care request

+
+
+ +
+
+ +
+
+

+ Printing Adult Dare Care registration pdf report

+
+
+ + +
+
+ +
+
+

+ Quote/Sales order can be created from Day Care + Registration

+
+
+ +
+
+ +
+
+

+ Task generation from Sales order

+
+
+ +
+
+ +
+
+

+ Communication in open chatter for more details gathering.

+
+
+ +
+ + + +
+
+ +
+

+ Screenshots +

+
+
+
+ +
+

+ Create an Assessment Request

+

+ From the website, you can fill out the form and submit an + assessment request.

+ + + + +
+ +
+

+ After submitting the form, you will get a view like this.

+ +
+ +
+

+ You can see all the request submitted by going to Day Care --> + Requests --> Day Care Requests.

+ + +
+ +
+

+ A Lead will be generated. All datas can be seen under the Day + Care Information tab.

+ + + +
+ +
+

+ You can convert lead to opportunity by clicking on the button + 'CONVERT TO OPPORTUNITY'. So the request will be confirmed.

+ + +
+ +
+

+ And the lead will be converted to opportunity. And also all the + daycare information will be there.

+ + +
+ +
+

+ You can Update all the information in the form to corresponding + adult by clicking 'UPDATE ADULT INFORMATION' button.

+ +
+ +
+

+ You can see all the Adult Members data by going through Day + Care --> Members --> Adult Members.

+ +
+ +
+

+ You can see 'Is A Customer' and 'Is Adult Member'

+ +
+ +
+

+ Under the Applicant Information tab , the personal information + of the applicant can be seen.

+ +
+ +
+

+ Under the Medical Details tab , the medical detail of the + applicant can be seen.

+ +
+ +
+

+ Under the Lead Detail tab , all the lead datas can be seen.

+ +
+ +
+

+ You can create activity type by going to Day Care --> + Configuration --> Activity type.

+ +
+ +
+

+ You can create activities by going to Day Care --> Activities + --> Adult Activities.

+ +
+ +
+

+ You can add Day Care Activities for the adult member under the + Day Care Activities tab.

+ +
+ +
+

+ You can create an order for the adult member by going to the + Day Care --> Orders --> Quotations.

+ +
+ +
+

+ When you choose the Adult Person, the corresponding activity + products will be loaded to the order line.

+ +
+ +
+

+ When you confirm the sale order, there will be project and task + created and can be accessed using the smart button marked.

+ +
+ +
+

+ This is the Project created.

+ +
+ +
+

+ And these are the tasks created under the project.

+ +
+ +
+

+ Under the Reports --> Activity Type, you can see all the + activity set to the adult members.

+ +
+ +
+

+ You can print the Adult Care Details of an Adult Member from + the members form view itself.

+ + + + +
+ +
+

+ Likewise, you can print the approved day care request detail + from its form view.

+ + + +
+ + +
+

+ When you are printing Quotation/Sale order, the Adult Person + will be visible.

+ +
+ +
+
+ + + + +
+
+ +
+

+ Related + Products +

+
+
+
+ +
+
+ + + + +
+
+ +
+

+ Our Services +

+
+ +
+
+
+
+ +
+
+ Odoo + Customization
+
+ +
+
+ +
+
+ Odoo + Implementation
+
+ +
+
+ +
+
+ Odoo + Support
+
+ + +
+
+ +
+
+ Hire + Odoo + Developer
+
+ +
+
+ +
+
+ Odoo + Integration
+
+ +
+
+ +
+
+ Odoo + Migration
+
+ + +
+
+ +
+
+ Odoo + Consultancy
+
+ +
+
+ +
+
+ Odoo + Implementation
+
+ +
+
+ +
+
+ Odoo + Licensing Consultancy
+
+
+ +
+ + + + + +
+
+ +
+

+ Our Industries +

+
+ +
+
+
+
+ +
+ Trading +
+

+ Easily procure + and + sell your products

+
+
+ +
+
+ +
+ POS +
+

+ Easy + configuration + and convivial experience

+
+
+ +
+
+ +
+ Education +
+

+ A platform for + educational management

+
+
+ +
+
+ +
+ Manufacturing +
+

+ Plan, track and + schedule your operations

+
+
+ +
+
+ +
+ E-commerce & Website +
+

+ Mobile + friendly, + awe-inspiring product pages

+
+
+ +
+
+ +
+ Service Management +
+

+ Keep track of + services and invoice

+
+
+ +
+
+ +
+ Restaurant +
+

+ Run your bar or + restaurant methodically

+
+
+ +
+
+ +
+ Hotel Management +
+

+ An + all-inclusive + hotel management application

+
+
+
+
+ + + + +
+
+ +
+

+ Support +

+
+
+
+
+
+
+ +
+
+

Need Help?

+

Got questions or need help? + Get in touch.

+ +

+ odoo@cybrosys.com

+
+
+
+
+
+
+
+ +
+
+

WhatsApp

+

Say hi to us on WhatsApp!

+ +

+ +91 86068 27707 +

+
+
+
+
+
+
+
+ +
+
+
+ \ No newline at end of file diff --git a/adult_daycare_center/views/activity_type_views.xml b/adult_daycare_center/views/activity_type_views.xml new file mode 100644 index 000000000..69faf1e92 --- /dev/null +++ b/adult_daycare_center/views/activity_type_views.xml @@ -0,0 +1,24 @@ + + + + + Activity Types + activity.type + tree,form + +

+ Create a new Activity! +

+
+
+ + + activity.type.view.tree + activity.type + + + + + + +
diff --git a/adult_daycare_center/views/adult_daycare_center_menus.xml b/adult_daycare_center/views/adult_daycare_center_menus.xml new file mode 100644 index 000000000..a6f9d20f3 --- /dev/null +++ b/adult_daycare_center/views/adult_daycare_center_menus.xml @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/adult_daycare_center/views/assessment_request_templates.xml b/adult_daycare_center/views/assessment_request_templates.xml new file mode 100644 index 000000000..1945fbef9 --- /dev/null +++ b/adult_daycare_center/views/assessment_request_templates.xml @@ -0,0 +1,1205 @@ + + + + + diff --git a/adult_daycare_center/views/crm_lead_views.xml b/adult_daycare_center/views/crm_lead_views.xml new file mode 100644 index 000000000..f6d4893c3 --- /dev/null +++ b/adult_daycare_center/views/crm_lead_views.xml @@ -0,0 +1,139 @@ + + + + + Day Care Requests + crm.lead + tree,kanban,graph,pivot,calendar,form,activity + ['|', ('type','=','lead'), ('type','=',False)] + + { + 'default_type':'lead', + 'search_default_type': 'lead', + 'search_default_to_process':1, + } + + +

+ Create a Lead +

+ Leads are the qualification step before the creation of an opportunity. +

+
+
+ + + Day Care Approved Request + crm.lead + tree,kanban,graph,pivot,form,calendar,activity + [('type','=','opportunity')] + { + 'default_type': 'opportunity', + 'search_default_assigned_to_me': 1 + } + + + + + crm.lead.view.form.inherit.adult.daycare.center + + crm.lead + + +