diff --git a/adult_daycare_center/README.rst b/adult_daycare_center/README.rst new file mode 100755 index 000000000..78f0d8737 --- /dev/null +++ b/adult_daycare_center/README.rst @@ -0,0 +1,37 @@ +.. 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 `__ + +Credits +------- +Developer: Javid A @cybrosys, 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..f0c806d81 --- /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(). +# +# 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..5da820e1d --- /dev/null +++ b/adult_daycare_center/__manifest__.py @@ -0,0 +1,52 @@ +# -*- 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 Day Care Center", + 'version': '16.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", + 'website': "https://www.cybrosys.com", + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'images': ['static/description/banner.png'], + 'depends': ['crm', 'project', 'sale_management', 'website', 'account', 'hr'], + 'data': [ + 'security/ir.model.access.csv', + '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/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', + ], + '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..ae3ce9c0d --- /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: Javid A() +# +# 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 main diff --git a/adult_daycare_center/controllers/main.py b/adult_daycare_center/controllers/main.py new file mode 100644 index 000000000..37d5008da --- /dev/null +++ b/adult_daycare_center/controllers/main.py @@ -0,0 +1,99 @@ +# -*- 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 . +# +############################################################################# +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', auth="public", website=True, csrf=False) + def assessment_request_submit(self, **kw): + """ + Assessment Request Submitted and a lead created + """ + 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': 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_data.xml b/adult_daycare_center/data/website_data.xml new file mode 100644 index 000000000..4158858f8 --- /dev/null +++ b/adult_daycare_center/data/website_data.xml @@ -0,0 +1,9 @@ + + + + Self Assessment Request + /assessment_request + + 22 + + \ No newline at end of file diff --git a/adult_daycare_center/doc/RELEASE_NOTES.md b/adult_daycare_center/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..c6c13e891 --- /dev/null +++ b/adult_daycare_center/doc/RELEASE_NOTES.md @@ -0,0 +1,7 @@ +## Module + +#### 14.02.2023 +#### Version 16.0.1.0.0 +#### ADD + +- Initial commit for Adult Day Care Center For Senior Citizens diff --git a/adult_daycare_center/models/__init__.py b/adult_daycare_center/models/__init__.py new file mode 100644 index 000000000..4f8a3abfa --- /dev/null +++ b/adult_daycare_center/models/__init__.py @@ -0,0 +1,26 @@ +# -*- 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 . +# +############################################################################# +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..0afc99a01 --- /dev/null +++ b/adult_daycare_center/models/activity_type.py @@ -0,0 +1,28 @@ +# -*- 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 . +# +############################################################################# +from odoo import models, fields + + +class ActivityTypes(models.Model): + _name = 'activity.type' + _description = 'Activity Types' + + name = fields.Char(string='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..941322c22 --- /dev/null +++ b/adult_daycare_center/models/crm_lead.py @@ -0,0 +1,141 @@ +# -*- 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 . +# +############################################################################# +from odoo import models, fields + + +class DaycareRequests(models.Model): + _inherit = 'crm.lead' + + birth_date = fields.Date(string='Birthdate') + gender = fields.Selection([('male', 'Male'), ('female', 'Female')], string='Gender') + medicaid = fields.Integer(string='Medicaid') + medicare = fields.Integer(string='Medicare') + supplemental_income = fields.Float(string='Supplemental Security Income') + interest_program = fields.Char(string='Interest In Program') + previous_experience = fields.Selection([('yes', 'Yes'), ('no', 'No')], + string='Previous Experience') + where_when = fields.Char(string='Where and When') + marital_status = fields.Selection([('single', 'Single'), ('married', 'Married'), + ('separated', 'Separated'), ('widowed', 'Widowed'), + ('divorced', 'Divorced')]) + 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') + living_with_whom = fields.Char(string='Living With Whom') + living_with = fields.Char(string='Living With') + relationship_responsible_relative = fields.Char( + string='Relationship Responsible Relative') + nearest_relative = fields.Char(string='Nearest Relative') + nearest_relative_relation = fields.Char(string='Nearest Relative Relation') + business_phone = fields.Char(string='Business Phone') + emergency_name = fields.Char(string='Emergency Name') + applicant_relationship = fields.Char(string='Applicant Relationship') + emergency_address = fields.Text(string='Emergency Address') + emergency_phone = fields.Char(string='Emergency Phone') + emergency_name_1 = fields.Char(string='Emergency Name#1') + applicant_relationship_2 = fields.Char(string='Applicant Relationship#2') + emergency_address_1 = fields.Text(string='Emergency Address#1') + emergency_phone_1 = fields.Char(string='Emergency Phone#1') + physician_name = fields.Char(string='Physician Name') + physician_address = fields.Text(string='Physician Address') + physician_phone = fields.Char(string='Physician Phone') + physician_last_visit = fields.Date(string='Physician Last Visit') + dentist_name = fields.Char(string='Dentist Name') + dentist_address = fields.Text(string='Dentist Address') + dentist_phone = fields.Char(string='Dentist Phone') + dentist_last_visit = fields.Date(string='Dentist Last Visit') + transportation = fields.Selection([('relative_friend', 'Relative or Friend'), + ('public_transport', 'Public Transportation'), + ('blessed_assurance', 'Blessed Assurance')], + string='Transportation') + arrival_time = fields.Float(string='Arrival TIme') + departure_time = fields.Float(string='Departure Time') + special_diet = fields.Selection([('yes', 'Yes'), ('no', 'No')], string='Special Diet') + responsible = fields.Char(string='Responsible') + paid_by = fields.Selection([('myself', 'Myself'), ('relative', 'Relative'), + ('another_party', 'Another Party')], string='Paid By') + paid_by_name = fields.Char(string='Payer Name') + paid_by_phone = fields.Char(string='Payer Phone') + your_email = fields.Char(string='Your Email') + hospital_name = fields.Char(string='Hospital Name') + today_date = fields.Date(string='Today Date', default=fields.Date.today) + diet_detail = fields.Char(string='Diet Detail') + allergies = fields.Char(string='List of Allergies') + time_request = fields.Char(string='Time Request') + employed_at = fields.Char(string='Employed At') + request_assurance = fields.Char(string='Blessed 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..049bdfee4 --- /dev/null +++ b/adult_daycare_center/models/daycare_activities.py @@ -0,0 +1,36 @@ +# -*- 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 . +# +############################################################################# +from odoo import models, fields + + +class DaycareActivitiesView(models.Model): + _name = 'daycare.activities' + _description = 'Day Care Activities' + + name = fields.Many2one('activity.type', string='Name', required=True) + product_id = fields.Many2one('product.template', string='Product', required=True, + domain=[('is_adult_activity', '=', True)]) + notes = fields.Char(string='Notes') + time_in = fields.Float(string='Time In') + time_out = fields.Float(string='Time Out') + responsible = fields.Many2one('res.users', string='Responsible By') + res_partner_id = fields.Many2one('res.partner') + diff --git a/adult_daycare_center/models/product_template.py b/adult_daycare_center/models/product_template.py new file mode 100644 index 000000000..ac6da8edc --- /dev/null +++ b/adult_daycare_center/models/product_template.py @@ -0,0 +1,27 @@ +# -*- 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 . +# +############################################################################# +from odoo import models, fields + + +class DaycareActivityTypes(models.Model): + _inherit = 'product.template' + + is_adult_activity = fields.Boolean(string='Is Adult Activity?') diff --git a/adult_daycare_center/models/res_partner.py b/adult_daycare_center/models/res_partner.py new file mode 100644 index 000000000..b15cda5d5 --- /dev/null +++ b/adult_daycare_center/models/res_partner.py @@ -0,0 +1,117 @@ +# -*- 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 . +# +############################################################################# +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') + medicare_no = fields.Integer(string='Medicare Number') + medicaid_no = fields.Integer(string='Medicaid Number') + birth_date = fields.Date(string='Birth Date') + age = fields.Integer(string='Age') + referred_by_id = fields.Many2one('res.partner', string='Referred By') + marital_status = fields.Selection([('single', 'Single'), ('married', 'Married'), + ('separated', 'Separated'), ('widowed', 'Widowed'), + ('divorced', 'Divorced')]) + place_birth = fields.Char(string='Place Of Birth') + responsible_id = fields.Many2one('hr.employee', string='Responsible Party/Guardian') + responsible_address = fields.Text(string='Address') + responsible_telephone = fields.Char(string='Telephone',) + care_provider_id = fields.Many2one('hr.employee', string='Primary Care Provider') + care_provider_address = fields.Text(string='Address') + care_provider_telephone = fields.Text(string='Telephone',) + physician_id = fields.Char(string='Physician') + physician_address = fields.Text(string='Address') + physician_phone = fields.Char(string='Phone') + travel_by = fields.Selection([('car', 'Car'), ('bus', 'Bus')]) + travel_assistance = fields.Boolean(string='Is Need Travel Assistance') + present_medical = fields.Char(string='Present Diagnoses/Medical Problems') + other_disability = fields.Char(string='Other Disability') + weight = fields.Float(string='Weight') + height = fields.Float(string='Height') + dentist_id = fields.Char(string='Dentist Name') + dentist_address = fields.Text(string='Address') + dentist_phone = fields.Char(string='Phone') + dentist_last_visit = fields.Date(string='Dentist Last Visit') + daycare_activities_ids = fields.One2many('daycare.activities', 'res_partner_id') + + transportation = fields.Selection([('relative_friend', 'Relative or Friend'), + ('public_transport', 'Public Transportation'), + ('blessed_assurance', 'Blessed Assurance')], + string='Transportation') + arrival_time = fields.Float(string='Arrival TIme') + departure_time = fields.Float(string='Departure Time') + special_diet = fields.Selection([('yes', 'Yes'), ('no', 'No')], string='Special Diet') + diet_detail = fields.Char(string='Diet Detail') + allergies = fields.Char(string='List of Allergies') + time_request = fields.Char(string='Time Request') + emergency_name = fields.Char(string='Emergency Name') + applicant_relationship = fields.Char(string='Applicant Relationship') + emergency_address = fields.Text(string='Emergency Address') + emergency_phone = fields.Char(string='Emergency Phone') + emergency_name_1 = fields.Char(string='Emergency Name#1') + applicant_relationship_2 = fields.Char(string='Applicant Relationship#2') + emergency_address_1 = fields.Text(string='Emergency Address#1') + emergency_phone_1 = fields.Char(string='Emergency Phone#1') + + responsible = fields.Char(string='Responsible') + paid_by = fields.Selection([('myself', 'Myself'), ('relative', 'Relative'), + ('another_party', 'Another Party')], string='Paid By') + paid_by_name = fields.Char(string='Payer Name') + paid_by_phone = fields.Char(string='Payer Phone') + your_email = fields.Char(string='Your Email') + hospital_name = fields.Char(string='Hospital Name') + today_date = fields.Date(string='Today Date') + + interest_program = fields.Char(string='Interest In Program') + previous_experience = fields.Selection([('yes', 'Yes'), ('no', 'No')], + string='Previous Experience') + where_when = fields.Char(string='Where and When') + 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') + living_with_whom = fields.Char(string='Living With Whom') + living_with = fields.Char(string='Living With') + relationship_responsible_relative = fields.Char( + string='Relationship Responsible Relative') + nearest_relative = fields.Char(string='Nearest Relative') + nearest_relative_relation = fields.Char(string='Nearest Relative Relation') + business_phone = fields.Char(string='Business Phone') + employed_at = fields.Char(string='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 + """ + 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..48397bdb2 --- /dev/null +++ b/adult_daycare_center/models/sale_order.py @@ -0,0 +1,47 @@ +# -*- 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 . +# +############################################################################# +from odoo import models, fields, api + + +class DayCareSales(models.Model): + _inherit = 'sale.order' + + adult_person_id = fields.Many2one('res.partner', string='Adult Person', + domain="[('is_adult_member', '=', True)]") + + @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/ir.model.access.csv b/adult_daycare_center/security/ir.model.access.csv new file mode 100644 index 000000000..6a104eae5 --- /dev/null +++ b/adult_daycare_center/security/ir.model.access.csv @@ -0,0 +1,4 @@ +id,name,model_id/id,group_id/id,perm_read,perm_write,perm_create,perm_unlink + +access_activity_type,access.activity.type,model_activity_type,base.group_user,1,1,1,1 +access_daycare_activities,access.daycare.activities,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/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/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..e8645f036 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..4717e62cb 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..00c065f7c 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..b6301701c 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..8fa6d7531 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..0a4c4bb94 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..1d3e0c0d1 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..572e736d0 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..e4a424309 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..14b663419 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..16bf4742c 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..3f71440e0 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..adea76d41 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..2fd00480f 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..13fadccab 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..82bba9ff1 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..c6f720da1 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..a8ce7ec7a 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..3f263ae81 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..28edcb798 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..370a12e2c 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..370544e04 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..f01e62c28 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..7e0b76363 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..f3000498e 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..a652e6f01 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..d275a2ef9 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..229d73780 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/4.png b/adult_daycare_center/static/description/assets/screenshots/4.png new file mode 100644 index 000000000..1394e40c5 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..6cd37f46e 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..0c4563ce1 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..24a4c67e5 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..ee45cc898 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..c502525ed 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/v16-hero.gif b/adult_daycare_center/static/description/assets/screenshots/v16-hero.gif new file mode 100644 index 000000000..b1b758ef2 Binary files /dev/null and b/adult_daycare_center/static/description/assets/screenshots/v16-hero.gif differ diff --git a/adult_daycare_center/static/description/banner.png b/adult_daycare_center/static/description/banner.png new file mode 100644 index 000000000..daaa4cb65 Binary files /dev/null and b/adult_daycare_center/static/description/banner.png 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..710fcee89 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..43e023758 --- /dev/null +++ b/adult_daycare_center/static/description/index.html @@ -0,0 +1,695 @@ +
+ +
+ +
+
+ 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. + Its 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..229e04617 --- /dev/null +++ b/adult_daycare_center/views/activity_type_views.xml @@ -0,0 +1,25 @@ + + + + + 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_template.xml b/adult_daycare_center/views/assessment_request_template.xml new file mode 100644 index 000000000..0401a5760 --- /dev/null +++ b/adult_daycare_center/views/assessment_request_template.xml @@ -0,0 +1,578 @@ + + + + + + + + \ No newline at end of file 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..7529450d2 --- /dev/null +++ b/adult_daycare_center/views/crm_lead_views.xml @@ -0,0 +1,128 @@ + + + + + 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.form + + crm.lead + + +