diff --git a/adult_daycare_center/README.rst b/adult_daycare_center/README.rst new file mode 100755 index 000000000..fd3066f79 --- /dev/null +++ b/adult_daycare_center/README.rst @@ -0,0 +1,44 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :target: http://www.gnu.org/licenses/agpl.html + :alt: License: AGPL-3 + +Adult Day Care Center +====================== +This module allow to manage Adult day care center. + +Company +------- +* `Cybrosys Techno Solutions `__ + +License +------- +Affero General Public License, Version 3 (AGPL v3). +(http://www.gnu.org/licenses/agpl.html) + +Credits +------- +Developer:(V16) Javid A , + (V17) Gayathri V +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..59615ed14 --- /dev/null +++ b/adult_daycare_center/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Gayathri V (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 models +from . import controllers diff --git a/adult_daycare_center/__manifest__.py b/adult_daycare_center/__manifest__.py new file mode 100644 index 000000000..2c16097f3 --- /dev/null +++ b/adult_daycare_center/__manifest__.py @@ -0,0 +1,56 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Gayathri V (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 . +# +########################################################################## +{ + 'name': "Adult Day Care Center", + 'version': '17.0.1.0.0', + 'category': 'Tools', + 'summary': """ Adult Day Care Center For Senior Citizens """, + 'description': """ Adult Day Care Center For Senior Citizens""", + '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', + 'security/adult_daycare_center_groups.xml', + 'data/website_data.xml', + 'views/res_partners_views.xml', + 'views/crm_lead_views.xml', + 'views/product_template_views.xml', + 'views/assessment_request_template.xml', + 'views/assessment_request_submit_template.xml', + 'views/activity_type_views.xml', + 'views/daycare_activities_views.xml', + 'views/sale_order_views.xml', + 'views/menu_views.xml', + 'reports/res_partner_report.xml', + 'reports/crm_lead_report.xml', + 'reports/sale_template_inherit.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..7fb4d514a --- /dev/null +++ b/adult_daycare_center/controllers/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Gayathri V() +# +# 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..a4ed34644 --- /dev/null +++ b/adult_daycare_center/controllers/adult_daycare_center.py @@ -0,0 +1,110 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Gayathri V (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): + @http.route(['/assessment_request'], type='http', auth="public", + website=True) + def assessment_request(self, **kw): + """ + Redirects to Assessment Request Form + """ + partners = request.env['res.partner'].sudo().search([]) + rooms = request.env['crm.lead'].sudo().search([]) + values = { + 'guests': partners, + 'rooms': rooms + } + return request.render("adult_daycare_center.assessment_request_form", + values) + + @http.route('/assessment_request/submit', type='http', csrf=False, + auth="public", website=True) + def assessment_request_submit(self, **kw): + """ + Assessment Request Submitted and a lead created + """ + hours, minutes = map(int, kw.get('arrive_time').split(':')) + + # Convert to total hours as float + arrive_time_hours = hours + minutes / 60 + + # Convert to total hours as float + departure_time_hours = hours + minutes / 60 + 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'), + 'emergency_name_1': kw.get('emergency_contact_2'), + 'applicant_relationship_2': kw.get('applicant_relation_2'), + 'emergency_address_1': kw.get('emergency_address_2'), + 'emergency_phone_1': 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': round(arrive_time_hours,2), + 'departure_time': round(departure_time_hours,2), + '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_data.xml b/adult_daycare_center/data/website_data.xml new file mode 100644 index 000000000..79819b596 --- /dev/null +++ b/adult_daycare_center/data/website_data.xml @@ -0,0 +1,9 @@ + + + + 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..a3cad3055 --- /dev/null +++ b/adult_daycare_center/doc/RELEASE_NOTES.md @@ -0,0 +1,7 @@ +## Module + +#### 26.09.2024 +#### Version 17.0.1.0.0 +#### ADD + +- Initial commit for Adult Day Care Center diff --git a/adult_daycare_center/models/__init__.py b/adult_daycare_center/models/__init__.py new file mode 100644 index 000000000..ae6fb86c1 --- /dev/null +++ b/adult_daycare_center/models/__init__.py @@ -0,0 +1,27 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Gayathri V (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 res_partner +from . import crm_lead +from . import product_template +from . import activity_type +from . import daycare_activities +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..35e243eae --- /dev/null +++ b/adult_daycare_center/models/activity_type.py @@ -0,0 +1,29 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Gayathri V (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 models, fields + + +class ActivityTypes(models.Model): + _name = 'activity.type' + _description = 'Activity Types' + + name = fields.Char(string='Name', help='Name of the activity type') diff --git a/adult_daycare_center/models/crm_lead.py b/adult_daycare_center/models/crm_lead.py new file mode 100644 index 000000000..fb099df09 --- /dev/null +++ b/adult_daycare_center/models/crm_lead.py @@ -0,0 +1,178 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Gayathri V (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 models, fields + + +class DaycareRequests(models.Model): + _inherit = 'crm.lead' + + birth_date = fields.Date(string='Birthdate', help='Birth date') + gender = fields.Selection([('male', 'Male'), ('female', 'Female')], + string='Gender', help="Gender (male or female)") + medicaid = fields.Integer(string='Medicaid', help='Medication identifier') + medicare = fields.Integer(string='Medicare', + help='Medication care identifier') + supplemental_income = fields.Float(string='Supplemental Security Income', + help="Income for supplemental") + interest_program = fields.Char(string='Interest In Program', + help="Interested program of the person") + previous_experience = fields.Selection([('yes', 'Yes'), ('no', 'No')], + string='Previous Experience', + help="Experience in previous") + where_when = fields.Char(string='Where and When', + help="The experienced place") + marital_status = fields.Selection( + [('single', 'Single'), ('married', 'Married'), + ('separated', 'Separated'), ('widowed', 'Widowed'), + ('divorced', 'Divorced')], string='Status', help="Marital status") + present_living = fields.Selection([('with_relative', 'With Relative'), + ('non_relative', 'With Non-Relative'), + ('home_alone', 'Alone(Home/Apartment)'), + ('alone_single', 'Alone(Single Room)')], + string='Present Living Arrangement', + help="Current Living") + living_with_whom = fields.Char(string='Living With Whom', + help="Living With Whom") + living_with = fields.Char(string='Living With', help="Living With") + relationship_responsible_relative = fields.Char( + string='Relationship Responsible Relative', + help="Responsible Relative of Relationship") + nearest_relative = fields.Char(string='Nearest Relative', + help="Nearest Relative of Relationship") + nearest_relative_relation = fields.Char(string='Nearest Relative Relation', + help="Relation for nearest Relative") + business_phone = fields.Char(string='Business Phone', + help="Phone for Business") + emergency_name = fields.Char(string='Emergency Name', + help="Name for emergency") + applicant_relationship = fields.Char(string='Applicant Relationship', + help="Relationship for applicant") + emergency_address = fields.Text(string='Emergency Address', + help="Address for Emergency") + emergency_phone = fields.Char(string='Emergency Phone', + help="Phone for Emergency") + emergency_name_1 = fields.Char(string='Emergency Name#1', + help="Name for emergency") + applicant_relationship_2 = fields.Char(string='Applicant Relationship#2', + help="Relationship for application") + emergency_address_1 = fields.Text(string='Emergency Address#1', + help="Address") + emergency_phone_1 = fields.Char(string='Emergency Phone#1', help="Phone") + physician_name = fields.Char(string='Physician Name', + help="Name of the Physician") + physician_address = fields.Text(string='Physician Address', + help="Address of the Physician") + physician_phone = fields.Char(string='Physician Phone', + help="Phone of the Physician") + physician_last_visit = fields.Date(string='Physician Last Visit', + help="Last Date that visit the physician") + dentist_name = fields.Char(string='Dentist Name', + help="Name of the dentist") + dentist_address = fields.Text(string='Dentist Address', + help="Address of the dentist") + dentist_phone = fields.Char(string='Dentist Phone', + help="Phone number of the dentist") + dentist_last_visit = fields.Date(string='Dentist Last Visit', + help="Last Date that visit the dentist") + transportation = fields.Selection( + [('relative_friend', 'Relative or Friend'), + ('public_transport', 'Public Transportation'), + ('blessed_assurance', 'Blessed Assurance')], + string='Transportation', help="Transportation") + arrival_time = fields.Float(string='Arrival TIme', help="Time of Arrival") + departure_time = fields.Float(string='Departure Time', + help="Time of Departure") + special_diet = fields.Selection([('yes', 'Yes'), ('no', 'No')], + string='Special Diet', help="Special diets") + responsible = fields.Char(string='Responsible', help="Responsible Person") + paid_by = fields.Selection([('myself', 'Myself'), ('relative', 'Relative'), + ('another_party', 'Another Party')], + string='Paid By', help="Payment by") + paid_by_name = fields.Char(string='Payer Name', help="Name of the payer") + paid_by_phone = fields.Char(string='Payer Phone', + help="Phone number of the payer") + your_email = fields.Char(string='Your Email', help="Email id") + hospital_name = fields.Char(string='Hospital Name', + help="Name of the hospital") + today_date = fields.Date(string='Today Date', default=fields.Date.today, + help="Date of today") + diet_detail = fields.Char(string='Diet Detail', help="Detail of the Diet") + allergies = fields.Char(string='List of Allergies', help="All Allergies") + time_request = fields.Char(string='Time Request', help="Requested Time") + employed_at = fields.Char(string='Employed At', help="Employed") + request_assurance = fields.Char(string='Blessed Assurance', + help="Assurance") + + 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_id': self.physician_name, + 'physician_address': self.physician_address, + 'physician_phone': self.physician_phone, + 'dentist_id': 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, + 'emergency_name_1': self.emergency_name_1, + 'applicant_relationship_2': self.applicant_relationship_2, + 'emergency_address_1': self.emergency_address_1, + 'emergency_phone_1': self.emergency_phone_1, + '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..71ae8f4f5 --- /dev/null +++ b/adult_daycare_center/models/daycare_activities.py @@ -0,0 +1,41 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Gayathri V (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 models, fields + + +class DaycareActivitiesView(models.Model): + _name = 'daycare.activities' + _description = 'Day Care Activities' + + activity_id = fields.Many2one('activity.type', string='Name', + help="Activity Name", required=True) + product_id = fields.Many2one('product.template', string='Product', + required=True, help="Adult activity", + domain=[('is_adult_activity', '=', True)]) + notes = fields.Char(string='Notes', help="Extra information") + time_in = fields.Float(string='Time In', help="Time in for the activity") + time_out = fields.Float(string='Time Out', help="Time out for the activity") + responsible = fields.Many2one('res.users', string='Responsible By', + help="Responsible by the activity") + res_partner_id = fields.Many2one('res.partner', string='Partner', + help="Responsible partner for the " + "activity") diff --git a/adult_daycare_center/models/product_template.py b/adult_daycare_center/models/product_template.py new file mode 100644 index 000000000..daf402e37 --- /dev/null +++ b/adult_daycare_center/models/product_template.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Gayathri V (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 models, fields + + +class DaycareActivityTypes(models.Model): + _inherit = 'product.template' + + is_adult_activity = fields.Boolean(string='Is Adult Activity?', + help="Is this aduction activity active " + "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..245b28207 --- /dev/null +++ b/adult_daycare_center/models/res_partner.py @@ -0,0 +1,168 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Gayathri V (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 models, fields, api + + +class AdultMembers(models.Model): + _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="User's Social Security Number") + medicare_no = fields.Integer(string='Medicare Number', + help="User's Medicare Number") + medicaid_no = fields.Integer(string='Medicaid Number', + help="User's Medicalaid Number") + birth_date = fields.Date(string='Birth Date', help="Birth Date of User") + age = fields.Integer(string='Age', help="Age of user") + referred_by_id = fields.Many2one('res.partner', string='Referred By', + help="Referral of the user") + marital_status = fields.Selection( + [('single', 'Single'), ('married', 'Married'), + ('separated', 'Separated'), ('widowed', 'Widowed'), + ('divorced', 'Divorced')], string="Marital Status", + help="Marriage status of the user") + place_birth = fields.Char(string='Place Of Birth', + help="Place of Birth of the user") + responsible_id = fields.Many2one('hr.employee', + string='Responsible Party/Guardian', + help="Guardian of the user") + responsible_address = fields.Text(string='Address', + help="Address of the guardian") + responsible_telephone = fields.Char(string='Telephone', + help="Telephone of the guardian") + care_provider_id = fields.Many2one('hr.employee', + string='Primary Care Provider', + help="Care provider for the user") + care_provider_address = fields.Text(string='Address', + help="Address of the care provider") + care_provider_telephone = fields.Text(string='Telephone', + help="Phone number of the care provider") + physician_id = fields.Char(string='Physician', help="Physician of the user") + physician_address = fields.Text(string='Address', + help="Address of the physician") + physician_phone = fields.Char(string='Phone', + help="Phone number of the physician") + travel_by = fields.Selection([('car', 'Car'), ('bus', 'Bus')], + string='Travel By', + help="Travel by of the care provider") + travel_assistance = fields.Boolean(string='Is Need Travel Assistance', + help="Is there any need to travel") + present_medical = fields.Char(string='Present Diagnoses/Medical Problems', + help='Present medical problems') + other_disability = fields.Char(string='Other Disability', + help="Any other condition") + weight = fields.Float(string='Weight', help="Weight of the User") + height = fields.Float(string='Height', help="Height of the user") + dentist_id = fields.Char(string='Dentist Name', help="Dentist of the user") + dentist_address = fields.Text(string='Address', + help="Address of the dentist") + dentist_phone = fields.Char(string='Phone', + help="Phone number of the dentist") + dentist_last_visit = fields.Date(string='Dentist Last Visit', + help="Lase visit to the dentist") + daycare_activities_ids = fields.One2many('daycare.activities', + 'res_partner_id', string="Daycare", + help="Day care Activities") + transportation = fields.Selection( + [('relative_friend', 'Relative or Friend'), + ('public_transport', 'Public Transportation'), + ('blessed_assurance', 'Blessed Assurance')], + string='Transportation', help="Transportation Methods") + arrival_time = fields.Float(string='Arrival TIme', help="Time of arrival") + departure_time = fields.Float(string='Departure Time', + help="Time of departure") + special_diet = fields.Selection([('yes', 'Yes'), ('no', 'No')], + string='Special Diet', + help="Any special diet") + diet_detail = fields.Char(string='Diet Detail', + help="If any diet provide in detail") + allergies = fields.Char(string='List of Allergies', help="Allergies") + time_request = fields.Char(string='Time Request', help="Requested Time") + emergency_name = fields.Char(string='Emergency Name', + help="Emergency Contacy") + applicant_relationship = fields.Char(string='Applicant Relationship', + help="Relation to the user") + emergency_address = fields.Text(string='Emergency Address', + help="Address of the emergency contact") + emergency_phone = fields.Char(string='Emergency Phone', + help="Phone number of the emergency contact") + emergency_name_1 = fields.Char(string='Emergency Name#1', + help="Another emergency contact") + applicant_relationship_2 = fields.Char(string='Applicant Relationship#2', + help="Relationship to the user") + emergency_address_1 = fields.Text(string='Emergency Address#1', + help="Address of the emergency contact") + emergency_phone_1 = fields.Char(string='Emergency Phone#1', + help="Phone number pf the emergency contact2") + responsible = fields.Char(string='Responsible', help="Responsible person") + paid_by = fields.Selection([('myself', 'Myself'), ('relative', 'Relative'), + ('another_party', 'Another Party')], + string='Paid By', help="Payment by") + paid_by_name = fields.Char(string='Payer Name', help="Name of the Payer") + paid_by_phone = fields.Char(string='Payer Phone', + help="Phone number of the payer") + your_email = fields.Char(string='Your Email', help="Email of the user") + hospital_name = fields.Char(string='Hospital Name', + help="Name of the hospital") + today_date = fields.Date(string='Today Date', help="Date of today.") + interest_program = fields.Char(string='Interest In Program', help="Program " + "intrested in") + previous_experience = fields.Selection([('yes', 'Yes'), ('no', 'No')], + string='Previous Experience', + help="Any previous experience") + where_when = fields.Char(string='Where and When', + help="Where and when to select the experience") + present_living = fields.Selection([('with_relative', 'With Relative'), + ('non_relative', 'With Non-Relative'), + ('home_alone', 'Alone(Home/Apartment)'), + ('alone_single', 'Alone(Single Room)')], + string='Present Living Arrangement', + help="Current Living") + living_with_whom = fields.Char(string='Living With Whom', + help="Livinig with anyone?") + living_with = fields.Char(string='Living With', help="Living with Whom") + relationship_responsible_relative = fields.Char( + string='Relationship Responsible Relative', + help="RelationShip with the responsible person") + nearest_relative = fields.Char(string='Nearest Relative', + help="Nearest Relative") + nearest_relative_relation = fields.Char(string='Nearest Relative Relation', + help="Relation to the Nearest " + "Relative") + business_phone = fields.Char(string='Business Phone', + help="Phone number for business") + employed_at = fields.Char(string='Employed At', help="Employed") + + @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 + """ + if self.is_adult_member: + self.is_customer = True + else: + self.is_customer = False diff --git a/adult_daycare_center/models/sale_order.py b/adult_daycare_center/models/sale_order.py new file mode 100644 index 000000000..a0a1ab895 --- /dev/null +++ b/adult_daycare_center/models/sale_order.py @@ -0,0 +1,49 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Gayathri V (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' + + adult_person_id = fields.Many2one('res.partner', string='Adult Person', + domain="[('is_adult_member', '=', True)]", + help="Adult person name") + + @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.id) + self.write({'order_line': [(5, 0)]}) + self.update({ + 'order_line': [(0, 0, { + 'product_id': rec, + 'product_uom_qty': 1, + }) for rec in product], + }) diff --git a/adult_daycare_center/reports/crm_lead_report.xml b/adult_daycare_center/reports/crm_lead_report.xml new file mode 100644 index 000000000..f9d098c26 --- /dev/null +++ b/adult_daycare_center/reports/crm_lead_report.xml @@ -0,0 +1,181 @@ + + + + + Adult Care Details + crm.lead + qweb-pdf + adult_daycare_center.adult_care_crm_lead_report + adult_daycare_center.adult_care_crm_lead_report + + report + + + + + \ No newline at end of file diff --git a/adult_daycare_center/reports/res_partner_report.xml b/adult_daycare_center/reports/res_partner_report.xml new file mode 100644 index 000000000..d54edc4a3 --- /dev/null +++ b/adult_daycare_center/reports/res_partner_report.xml @@ -0,0 +1,265 @@ + + + + + Adult Care Details + res.partner + qweb-pdf + adult_daycare_center.adult_care_details_report + adult_daycare_center.adult_care_details_report + + report + + + + + \ No newline at end of file diff --git a/adult_daycare_center/reports/sale_template_inherit.xml b/adult_daycare_center/reports/sale_template_inherit.xml new file mode 100644 index 000000000..e94e9e249 --- /dev/null +++ b/adult_daycare_center/reports/sale_template_inherit.xml @@ -0,0 +1,13 @@ + + + + + + \ No newline at end of file diff --git a/adult_daycare_center/security/adult_daycare_center_groups.xml b/adult_daycare_center/security/adult_daycare_center_groups.xml new file mode 100644 index 000000000..ff735214e --- /dev/null +++ b/adult_daycare_center/security/adult_daycare_center_groups.xml @@ -0,0 +1,7 @@ + + + + + Adult Day Care + + \ No newline at end of file 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/capture (1).png b/adult_daycare_center/static/description/assets/icons/capture (1).png new file mode 100644 index 000000000..8824deafc Binary files /dev/null and b/adult_daycare_center/static/description/assets/icons/capture (1).png differ 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..c8e85f51d 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/img.png b/adult_daycare_center/static/description/assets/icons/img.png new file mode 100644 index 000000000..70197f477 Binary files /dev/null and b/adult_daycare_center/static/description/assets/icons/img.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/photo-capture.png b/adult_daycare_center/static/description/assets/icons/photo-capture.png new file mode 100644 index 000000000..06c111758 Binary files /dev/null and b/adult_daycare_center/static/description/assets/icons/photo-capture.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/Cybrosys R.png b/adult_daycare_center/static/description/assets/misc/Cybrosys R.png new file mode 100644 index 000000000..da4058087 Binary files /dev/null and b/adult_daycare_center/static/description/assets/misc/Cybrosys R.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-box.png b/adult_daycare_center/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/adult_daycare_center/static/description/assets/misc/check-box.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/email.svg b/adult_daycare_center/static/description/assets/misc/email.svg new file mode 100644 index 000000000..15291cdc3 --- /dev/null +++ b/adult_daycare_center/static/description/assets/misc/email.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/adult_daycare_center/static/description/assets/misc/features.png b/adult_daycare_center/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/adult_daycare_center/static/description/assets/misc/features.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/phone.svg b/adult_daycare_center/static/description/assets/misc/phone.svg new file mode 100644 index 000000000..b7bd7f251 --- /dev/null +++ b/adult_daycare_center/static/description/assets/misc/phone.svg @@ -0,0 +1,3 @@ + + + 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 (1) 2.svg b/adult_daycare_center/static/description/assets/misc/star (1) 2.svg new file mode 100644 index 000000000..5ae9f507a --- /dev/null +++ b/adult_daycare_center/static/description/assets/misc/star (1) 2.svg @@ -0,0 +1,9 @@ + + + + + + + + + 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 (1) 1.svg b/adult_daycare_center/static/description/assets/misc/support (1) 1.svg new file mode 100644 index 000000000..7d37a8f30 --- /dev/null +++ b/adult_daycare_center/static/description/assets/misc/support (1) 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/adult_daycare_center/static/description/assets/misc/support-email.svg b/adult_daycare_center/static/description/assets/misc/support-email.svg new file mode 100644 index 000000000..eb70370d6 --- /dev/null +++ b/adult_daycare_center/static/description/assets/misc/support-email.svg @@ -0,0 +1,6 @@ + + + + + + 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/tick-mark.svg b/adult_daycare_center/static/description/assets/misc/tick-mark.svg new file mode 100644 index 000000000..2dbb40187 --- /dev/null +++ b/adult_daycare_center/static/description/assets/misc/tick-mark.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/adult_daycare_center/static/description/assets/misc/whatsapp 1.svg b/adult_daycare_center/static/description/assets/misc/whatsapp 1.svg new file mode 100644 index 000000000..0bfaf8fc6 --- /dev/null +++ b/adult_daycare_center/static/description/assets/misc/whatsapp 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + 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/misc/whatsapp.svg b/adult_daycare_center/static/description/assets/misc/whatsapp.svg new file mode 100644 index 000000000..b618aea1d --- /dev/null +++ b/adult_daycare_center/static/description/assets/misc/whatsapp.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/adult_daycare_center/static/description/assets/modules/1.gif b/adult_daycare_center/static/description/assets/modules/1.gif new file mode 100644 index 000000000..8ac32db03 Binary files /dev/null and b/adult_daycare_center/static/description/assets/modules/1.gif differ diff --git a/adult_daycare_center/static/description/assets/modules/1.png b/adult_daycare_center/static/description/assets/modules/1.png new file mode 100644 index 000000000..3bedf7981 Binary files /dev/null and b/adult_daycare_center/static/description/assets/modules/1.png differ diff --git a/adult_daycare_center/static/description/assets/modules/2.jpg b/adult_daycare_center/static/description/assets/modules/2.jpg new file mode 100644 index 000000000..a1dc39c89 Binary files /dev/null and b/adult_daycare_center/static/description/assets/modules/2.jpg differ diff --git a/adult_daycare_center/static/description/assets/modules/2.png b/adult_daycare_center/static/description/assets/modules/2.png new file mode 100644 index 000000000..2c8fbb83f Binary files /dev/null and b/adult_daycare_center/static/description/assets/modules/2.png differ diff --git a/adult_daycare_center/static/description/assets/modules/3.png b/adult_daycare_center/static/description/assets/modules/3.png new file mode 100644 index 000000000..25ed3e0b6 Binary files /dev/null and b/adult_daycare_center/static/description/assets/modules/3.png differ diff --git a/adult_daycare_center/static/description/assets/modules/4.png b/adult_daycare_center/static/description/assets/modules/4.png new file mode 100644 index 000000000..bc5648b1a Binary files /dev/null and b/adult_daycare_center/static/description/assets/modules/4.png differ diff --git a/adult_daycare_center/static/description/assets/modules/5.png b/adult_daycare_center/static/description/assets/modules/5.png new file mode 100644 index 000000000..7cc3625c7 Binary files /dev/null and b/adult_daycare_center/static/description/assets/modules/5.png differ diff --git a/adult_daycare_center/static/description/assets/modules/6.png b/adult_daycare_center/static/description/assets/modules/6.png new file mode 100644 index 000000000..745d6db78 Binary files /dev/null and b/adult_daycare_center/static/description/assets/modules/6.png differ diff --git a/adult_daycare_center/static/description/assets/modules/approval_image.png b/adult_daycare_center/static/description/assets/modules/approval_image.png new file mode 100644 index 000000000..84fe94e80 Binary files /dev/null and b/adult_daycare_center/static/description/assets/modules/approval_image.png differ diff --git a/adult_daycare_center/static/description/assets/modules/banner.jpg b/adult_daycare_center/static/description/assets/modules/banner.jpg new file mode 100644 index 000000000..67c7f7062 Binary files /dev/null and b/adult_daycare_center/static/description/assets/modules/banner.jpg differ diff --git a/adult_daycare_center/static/description/assets/modules/budget_image.png b/adult_daycare_center/static/description/assets/modules/budget_image.png new file mode 100644 index 000000000..fe6aa6fe4 Binary files /dev/null and b/adult_daycare_center/static/description/assets/modules/budget_image.png differ diff --git a/adult_daycare_center/static/description/assets/modules/gantt_image.png b/adult_daycare_center/static/description/assets/modules/gantt_image.png new file mode 100644 index 000000000..4810fc34d Binary files /dev/null and b/adult_daycare_center/static/description/assets/modules/gantt_image.png differ diff --git a/adult_daycare_center/static/description/assets/modules/library_image.png b/adult_daycare_center/static/description/assets/modules/library_image.png new file mode 100644 index 000000000..77be44d63 Binary files /dev/null and b/adult_daycare_center/static/description/assets/modules/library_image.png differ diff --git a/adult_daycare_center/static/description/assets/modules/pos_order_image.png b/adult_daycare_center/static/description/assets/modules/pos_order_image.png new file mode 100644 index 000000000..1217263a6 Binary files /dev/null and b/adult_daycare_center/static/description/assets/modules/pos_order_image.png differ diff --git a/adult_daycare_center/static/description/assets/modules/whatsapp_image.gif b/adult_daycare_center/static/description/assets/modules/whatsapp_image.gif new file mode 100644 index 000000000..4c0c52982 Binary files /dev/null and b/adult_daycare_center/static/description/assets/modules/whatsapp_image.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..3e50440ca 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..a446aa1c4 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..7d1d412b5 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..07213a8f6 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..6d7dd6367 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..7fca33d70 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..213b893ef 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..c0f7519cb 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..78ae9f0ee 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..3bc4fbdf3 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..d0d27ac5a 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..89bd8a699 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..e8456250f 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..33b074f18 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..5aadaeffc 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..f4aac56b9 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/3.png b/adult_daycare_center/static/description/assets/screenshots/3.png new file mode 100644 index 000000000..cee58ec31 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/4.png b/adult_daycare_center/static/description/assets/screenshots/4.png new file mode 100644 index 000000000..ebbc896cd 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..24e510a85 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..b8636f34d 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..312185436 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..1911c43a8 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..7ed149405 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/hero.gif b/adult_daycare_center/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..8a9f9903b Binary files /dev/null and b/adult_daycare_center/static/description/assets/screenshots/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..30b9f6dcd 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..c6d1f84c7 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..04fd87ecd --- /dev/null +++ b/adult_daycare_center/static/description/index.html @@ -0,0 +1,1080 @@ + + + + + + + Odoo App 3 Index + + + + + + + + +
+
+
+
+
+ +
+
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+
+
+
+

+ Adult Daycare Center

+

+ Manage Adult Day Care Center and Activities. +

+
+ +
+
+
+
+
+

+ Key Highlights +

+
+
+
+
+
+ +
+
+

+ Management of Adult dare care request.

+
+
+
+
+
+
+ +
+
+

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

+
+
+
+
+
+
+ +
+
+

+ Communication in open chatter for more details + gathering.

+
+
+
+
+
+
+ +
+
+

+ Printing Adult Dare Care registration pdf + report.

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

+ Go to the users and add access rights to the user.

+
+
+
+
+
+
+ +
+
+

+ User have access to the adult day care can see it.

+
+
+
+
+
+
+ +
+
+

+ 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.

+
+
+
+
+
+
+
    +
  • + + 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 +
  • +
+
+
+
+
+
+
Version + 17.0.1.0.0|Released on:02th SEP 2024 +
+

+ + Initial Commit for Adult Day Care Center.

+
+
+
+
+
+
+
+

+ Related Products

+
+
+ +
+
+

+ Our Services

+ +
+
+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Customization

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Implementation

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Support

+
+
+
+
+
+
+ service-icon +
+
+

Hire + Odoo Developer

+
+
+
+
+ +
+
+ service-icon +
+
+

Odoo + Integration

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Migration

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Consultancy

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Implementation

+
+
+
+
+
+
+ service-icon +
+
+

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 + 99456767686 +
+
+
+
+
+
+
+
+
+ + + + + + 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..ce809ab3d --- /dev/null +++ b/adult_daycare_center/views/activity_type_views.xml @@ -0,0 +1,23 @@ + + + + Activity Types + activity.type + tree,form + +

+ Create a new Activity! +

+
+
+ + activity.type.tree + activity.type + + + + + + + +
\ No newline at end of file diff --git a/adult_daycare_center/views/assessment_request_submit_template.xml b/adult_daycare_center/views/assessment_request_submit_template.xml new file mode 100644 index 000000000..1d2ffa468 --- /dev/null +++ b/adult_daycare_center/views/assessment_request_submit_template.xml @@ -0,0 +1,43 @@ + + + + diff --git a/adult_daycare_center/views/assessment_request_template.xml b/adult_daycare_center/views/assessment_request_template.xml new file mode 100644 index 000000000..3f6febe68 --- /dev/null +++ b/adult_daycare_center/views/assessment_request_template.xml @@ -0,0 +1,1176 @@ + + + + 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..6cafe7ca7 --- /dev/null +++ b/adult_daycare_center/views/crm_lead_views.xml @@ -0,0 +1,127 @@ + + + + + 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 + + +