@ -0,0 +1,49 @@ | 
				
			|||||
 | 
					.. image:: https://img.shields.io/badge/license-AGPL--3-blue.svg | 
				
			||||
 | 
					    :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html | 
				
			||||
 | 
					    :alt: License: AGPL-3 | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					Beauty Spa Management | 
				
			||||
 | 
					===================== | 
				
			||||
 | 
					This module to helps your customers to do the online booking for using the | 
				
			||||
 | 
					service. This module integrates with other Odoo modules like accounting and | 
				
			||||
 | 
					website. | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					Configuration | 
				
			||||
 | 
					============ | 
				
			||||
 | 
					- www.odoo.com/documentation/18.0/setup/install.html | 
				
			||||
 | 
					- Install our custom addon | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					Company | 
				
			||||
 | 
					------- | 
				
			||||
 | 
					* `Cybrosys Techno Solutions <https://cybrosys.com/>`__ | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					License | 
				
			||||
 | 
					------- | 
				
			||||
 | 
					General Public License, Version 3 (AGPL V3). | 
				
			||||
 | 
					(http://www.gnu.org/licenses/agpl-3.0-standalone.html) | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					Credits | 
				
			||||
 | 
					------- | 
				
			||||
 | 
					Developer: (V18) Abbas P, (V17) Mohammed Dilshad Tk, 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 <https://cybrosys.com/>`__ | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					Further information | 
				
			||||
 | 
					=================== | 
				
			||||
 | 
					HTML Description: `<static/description/index.html>`__ | 
				
			||||
@ -0,0 +1,23 @@ | 
				
			|||||
 | 
					# -*- coding: utf-8 -*- | 
				
			||||
 | 
					################################################################################ | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    Cybrosys Technologies Pvt. Ltd. | 
				
			||||
 | 
					#    Copyright (C) 2025-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). | 
				
			||||
 | 
					#    Author: Abbas P (odoo@cybrosys.com) | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    This program is free software: you can modify | 
				
			||||
 | 
					#    it under the terms of the GNU Affero General Public License (AGPL) as | 
				
			||||
 | 
					#    published by the Free Software Foundation, either version 3 of the | 
				
			||||
 | 
					#    License, or (at your option) any later version. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    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 for more details. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    You should have received a copy of the GNU Affero General Public License | 
				
			||||
 | 
					#    along with this program.  If not, see <https://www.gnu.org/licenses/>. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					################################################################################ | 
				
			||||
 | 
					from . import controllers | 
				
			||||
 | 
					from . import models | 
				
			||||
@ -0,0 +1,77 @@ | 
				
			|||||
 | 
					# -*- coding: utf-8 -*- | 
				
			||||
 | 
					################################################################################ | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    Cybrosys Technologies Pvt. Ltd. | 
				
			||||
 | 
					#    Copyright (C) 2025-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). | 
				
			||||
 | 
					#    Author: Abbas P (odoo@cybrosys.com) | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    This program is free software: you can modify | 
				
			||||
 | 
					#    it under the terms of the GNU Affero General Public License (AGPL) as | 
				
			||||
 | 
					#    published by the Free Software Foundation, either version 3 of the | 
				
			||||
 | 
					#    License, or (at your option) any later version. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    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 for more details. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    You should have received a copy of the GNU Affero General Public License | 
				
			||||
 | 
					#    along with this program.  If not, see <https://www.gnu.org/licenses/>. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					################################################################################ | 
				
			||||
 | 
					{ | 
				
			||||
 | 
					    'name': 'Beauty Spa Management', | 
				
			||||
 | 
					    'version': '18.0.1.0.0', | 
				
			||||
 | 
					    "category": "Services", | 
				
			||||
 | 
					    'summary': 'Beauty Parlour Management with Online Booking System', | 
				
			||||
 | 
					    'description': 'This module to helps your customers to do the online ' | 
				
			||||
 | 
					                   'booking for using the service. This module integrates with ' | 
				
			||||
 | 
					                   'other Odoo modules like accounting and website.', | 
				
			||||
 | 
					    'author': 'Cybrosys Techno Solutions', | 
				
			||||
 | 
					    'company': 'Cybrosys Techno Solutions', | 
				
			||||
 | 
					    'maintainer': 'Cybrosys Techno Solutions', | 
				
			||||
 | 
					    'website': "https://www.cybrosys.com", | 
				
			||||
 | 
					    'depends': ['account', 'base_setup', 'mail', 'website', 'contacts'], | 
				
			||||
 | 
					    'data': [ | 
				
			||||
 | 
					        'security/salon_management_groups.xml', | 
				
			||||
 | 
					        'security/ir.model.access.csv', | 
				
			||||
 | 
					        'data/salon_website_menu.xml', | 
				
			||||
 | 
					        'data/salon_chair_cron_action.xml', | 
				
			||||
 | 
					        'data/salon_management_mail_template.xml', | 
				
			||||
 | 
					        'data/salon_chair_sequence.xml', | 
				
			||||
 | 
					        'data/salon_order_sequence.xml', | 
				
			||||
 | 
					        'data/salon_management_dashboard_tag.xml', | 
				
			||||
 | 
					        'views/res_config_settings_views.xml', | 
				
			||||
 | 
					        'views/res_partner_views.xml', | 
				
			||||
 | 
					        'views/salon_booking_templates.xml', | 
				
			||||
 | 
					        'views/salon_chair_views.xml', | 
				
			||||
 | 
					        'views/salon_working_hours.xml', | 
				
			||||
 | 
					        'views/salon_service_views.xml', | 
				
			||||
 | 
					        'views/salon_booking_views.xml', | 
				
			||||
 | 
					        'views/salon_order_views.xml', | 
				
			||||
 | 
					        'views/salon_management_menus.xml', | 
				
			||||
 | 
					    ], | 
				
			||||
 | 
					    'demo': [ | 
				
			||||
 | 
					        'data/product_template_data.xml', | 
				
			||||
 | 
					        'data/res_partner_data.xml', | 
				
			||||
 | 
					        'data/salon_holiday_data.xml', | 
				
			||||
 | 
					        'data/salon_stages_data.xml', | 
				
			||||
 | 
					        'data/salon_working_hours_data.xml', | 
				
			||||
 | 
					    ], | 
				
			||||
 | 
					    'assets': { | 
				
			||||
 | 
					        'web.assets_backend': [ | 
				
			||||
 | 
					            'salon_management/static/src/css/salon_dashboard.css', | 
				
			||||
 | 
					            'salon_management/static/src/xml/salon_dashboard.xml', | 
				
			||||
 | 
					            'salon_management/static/src/js/salon_dashboard.js', | 
				
			||||
 | 
					        ], | 
				
			||||
 | 
					        'web.assets_frontend': [ | 
				
			||||
 | 
					            'salon_management/static/src/css/salon_website.css', | 
				
			||||
 | 
					            'salon_management/static/src/js/website_salon_booking.js', | 
				
			||||
 | 
					        ], | 
				
			||||
 | 
					    }, | 
				
			||||
 | 
					    'images': ['static/description/banner.jpg'], | 
				
			||||
 | 
					    'license': 'AGPL-3', | 
				
			||||
 | 
					    'installable': True, | 
				
			||||
 | 
					    'auto_install': False, | 
				
			||||
 | 
					    'application': True, | 
				
			||||
 | 
					} | 
				
			||||
@ -0,0 +1,22 @@ | 
				
			|||||
 | 
					# -*- coding: utf-8 -*- | 
				
			||||
 | 
					################################################################################ | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    Cybrosys Technologies Pvt. Ltd. | 
				
			||||
 | 
					#    Copyright (C) 2025-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). | 
				
			||||
 | 
					#    Author: Abbas P (odoo@cybrosys.com) | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    This program is free software: you can modify | 
				
			||||
 | 
					#    it under the terms of the GNU Affero General Public License (AGPL) as | 
				
			||||
 | 
					#    published by the Free Software Foundation, either version 3 of the | 
				
			||||
 | 
					#    License, or (at your option) any later version. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    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 for more details. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    You should have received a copy of the GNU Affero General Public License | 
				
			||||
 | 
					#    along with this program.  If not, see <https://www.gnu.org/licenses/>. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					################################################################################ | 
				
			||||
 | 
					from . import salon_management | 
				
			||||
@ -0,0 +1,140 @@ | 
				
			|||||
 | 
					# -*- coding: utf-8 -*- | 
				
			||||
 | 
					################################################################################ | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    Cybrosys Technologies Pvt. Ltd. | 
				
			||||
 | 
					#    Copyright (C) 2025-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). | 
				
			||||
 | 
					#    Author: Abbas P (odoo@cybrosys.com) | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    This program is free software: you can modify | 
				
			||||
 | 
					#    it under the terms of the GNU Affero General Public License (AGPL) as | 
				
			||||
 | 
					#    published by the Free Software Foundation, either version 3 of the | 
				
			||||
 | 
					#    License, or (at your option) any later version. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    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 for more details. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    You should have received a copy of the GNU Affero General Public License | 
				
			||||
 | 
					#    along with this program.  If not, see <https://www.gnu.org/licenses/>. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					################################################################################ | 
				
			||||
 | 
					import json | 
				
			||||
 | 
					import pytz | 
				
			||||
 | 
					from datetime import datetime, time | 
				
			||||
 | 
					from odoo import fields, http | 
				
			||||
 | 
					from odoo.http import request | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					class SalonBookingWeb(http.Controller): | 
				
			||||
 | 
					    """Route to do salon website operations.""" | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    @http.route(route='/page/salon_details', type='json', auth='public', | 
				
			||||
 | 
					                website=True, csrf=False) | 
				
			||||
 | 
					    def salon_details(self, name, date, salon_time, phone, email, chair, | 
				
			||||
 | 
					                      service_list): | 
				
			||||
 | 
					        dates_time = date + " " + salon_time + ":00" | 
				
			||||
 | 
					        date_and_time = (pytz.timezone(request.env.user.tz).localize( | 
				
			||||
 | 
					            datetime.strptime(str(dates_time), '%Y-%m-%d %H:%M:%S')). | 
				
			||||
 | 
					                         astimezone(pytz.UTC).replace(tzinfo=None)) | 
				
			||||
 | 
					        a = request.env['salon.booking'].create({ | 
				
			||||
 | 
					            'name': name, | 
				
			||||
 | 
					            'phone': phone, | 
				
			||||
 | 
					            'time': date_and_time, | 
				
			||||
 | 
					            'email': email, | 
				
			||||
 | 
					            'chair_id': chair, | 
				
			||||
 | 
					            'service_ids': [(6, 0, [salon.id for salon in request.env | 
				
			||||
 | 
					                                    ['salon.service'].search([('id', 'in', | 
				
			||||
 | 
					                                                             service_list)])])], | 
				
			||||
 | 
					        }) | 
				
			||||
 | 
					        return json.dumps({'result': True}) | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    @http.route('/page/salon_check_date', type='json', auth="public", | 
				
			||||
 | 
					                website=True) | 
				
			||||
 | 
					    def salon_check(self, **kwargs): | 
				
			||||
 | 
					        year, month, day = map(int, kwargs['check_date'].split('-')) | 
				
			||||
 | 
					        date_start = pytz.timezone(request.env.user.tz).localize( | 
				
			||||
 | 
					            datetime(year, month, day, hour=0, minute=0, second=0)).astimezone( | 
				
			||||
 | 
					            pytz.UTC).replace(tzinfo=None) | 
				
			||||
 | 
					        date_end = (pytz.timezone(request.env.user.tz). | 
				
			||||
 | 
					                    localize(datetime(year, month, day, hour=23, minute=59, | 
				
			||||
 | 
					                                      second=59)).astimezone(pytz.UTC). | 
				
			||||
 | 
					                    replace(tzinfo=None)) | 
				
			||||
 | 
					        order_obj = request.env['salon.order'].search( | 
				
			||||
 | 
					            [('chair_id.active_booking_chairs', '=', True), | 
				
			||||
 | 
					             ('stage_id', 'in', [1, 2, 3]), ('start_time', '>=', date_start), | 
				
			||||
 | 
					             ('start_time', '<=', date_end)]) | 
				
			||||
 | 
					        order_details = {} | 
				
			||||
 | 
					        for order in order_obj: | 
				
			||||
 | 
					            data = { | 
				
			||||
 | 
					                'number': order.id, | 
				
			||||
 | 
					                'start_time_only': fields.Datetime.to_string(pytz.UTC.localize( | 
				
			||||
 | 
					                    order.start_time).astimezone(pytz.timezone( | 
				
			||||
 | 
					                                    request.env.user.tz)).replace(tzinfo=None))[11:16], | 
				
			||||
 | 
					                'end_time_only': fields.Datetime.to_string(pytz.UTC.localize( | 
				
			||||
 | 
					                    order.end_time).astimezone(pytz.timezone( | 
				
			||||
 | 
					                                    request.env.user.tz)).replace(tzinfo=None))[11:16], | 
				
			||||
 | 
					            } | 
				
			||||
 | 
					            if order.chair_id.id not in order_details: | 
				
			||||
 | 
					                order_details[order.chair_id.id] = { | 
				
			||||
 | 
					                    'name': order.chair_id.name, | 
				
			||||
 | 
					                    'orders': [data], | 
				
			||||
 | 
					                } | 
				
			||||
 | 
					            else: | 
				
			||||
 | 
					                order_details[order.chair_id.id]['orders'].append(data) | 
				
			||||
 | 
					        return order_details | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    @http.route('/page/salon_management/salon_booking_thank_you', | 
				
			||||
 | 
					                type='http', auth="public", website=True, csrf=False) | 
				
			||||
 | 
					    def return_thank_you(self, **post): | 
				
			||||
 | 
					        return request.render('salon_management.salon_booking_thank_you', {}) | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    @http.route('/salon_booking_form', type='http', | 
				
			||||
 | 
					                auth="public", website=True) | 
				
			||||
 | 
					    def chair_info(self, **post): | 
				
			||||
 | 
					        """Route function that render while clicking Booking menu from website. | 
				
			||||
 | 
					           Returns data to booking website""" | 
				
			||||
 | 
					        salon_service_obj = request.env['salon.service'].sudo().search([]) | 
				
			||||
 | 
					        salon_working_hours_obj = request.env['salon.working.hours'].sudo().search([]) | 
				
			||||
 | 
					        salon_holiday_obj = request.env['salon.holiday'].sudo().search( | 
				
			||||
 | 
					            [('holiday', '=', True)]) | 
				
			||||
 | 
					        date_check = datetime.today().date() | 
				
			||||
 | 
					        date_start = (pytz.timezone(request.env.user.tz).localize( | 
				
			||||
 | 
					            datetime.combine(date_check, time(hour=0, minute=0, second=0))). | 
				
			||||
 | 
					                      astimezone(pytz.UTC).replace(tzinfo=None)) | 
				
			||||
 | 
					        date_end = (pytz.timezone(request.env.user.tz).localize( | 
				
			||||
 | 
					            datetime.combine(date_check, time(hour=23, minute=59, second=59))). | 
				
			||||
 | 
					                    astimezone(pytz.UTC).replace(tzinfo=None)) | 
				
			||||
 | 
					        # chair_obj = | 
				
			||||
 | 
					        order_obj = request.env['salon.order'].sudo().search( | 
				
			||||
 | 
					            [('chair_id.active_booking_chairs', '=', True), | 
				
			||||
 | 
					             ('stage_id', 'in', [1, 2, 3]), ('start_time', '>=', date_start), | 
				
			||||
 | 
					             ('start_time', '<=', date_end)]) | 
				
			||||
 | 
					        return request.render( | 
				
			||||
 | 
					            'salon_management.salon_booking_form', { | 
				
			||||
 | 
					                'chair_details': request.env['salon.chair'].sudo().search([]), | 
				
			||||
 | 
					                'order_details': order_obj, | 
				
			||||
 | 
					                'salon_services': salon_service_obj, | 
				
			||||
 | 
					                'date_search': date_check, | 
				
			||||
 | 
					                'holiday': salon_holiday_obj, | 
				
			||||
 | 
					                'working_time': salon_working_hours_obj} | 
				
			||||
 | 
					        ) | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					class SalonOrders(http.Controller): | 
				
			||||
 | 
					    """Returns the chairs for dashboard""" | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    @http.route(route='/salon/chairs', type="json", auth="public") | 
				
			||||
 | 
					    def get_salon_chair(self, products_per_slide=3): | 
				
			||||
 | 
					        """Function to returns the chairs for dashboard""" | 
				
			||||
 | 
					        chairs = [] | 
				
			||||
 | 
					        number_of_orders = {} | 
				
			||||
 | 
					        for chair in request.env['salon.chair'].sudo().search([]): | 
				
			||||
 | 
					            number_of_orders.update({ | 
				
			||||
 | 
					                chair.id: len(request.env['salon.order'].search( | 
				
			||||
 | 
					                    [("chair_id", "=", chair.id), | 
				
			||||
 | 
					                     ("stage_id", "in", [2, 3])]))}) | 
				
			||||
 | 
					            chairs.append({'name': chair.name, | 
				
			||||
 | 
					                           'id': chair.id, | 
				
			||||
 | 
					                           'orders': number_of_orders[chair.id]}) | 
				
			||||
 | 
					        return chairs | 
				
			||||
@ -0,0 +1,10 @@ | 
				
			|||||
 | 
					<?xml version="1.0" encoding="utf-8"?> | 
				
			||||
 | 
					<odoo> | 
				
			||||
 | 
					    <data> | 
				
			||||
 | 
					        <!-- Product template demo data--> | 
				
			||||
 | 
					        <record id="salon_service_product_01" model="product.template"> | 
				
			||||
 | 
					            <field name="name">Salon Service</field> | 
				
			||||
 | 
					            <field name="type">service</field> | 
				
			||||
 | 
					        </record> | 
				
			||||
 | 
					    </data> | 
				
			||||
 | 
					</odoo> | 
				
			||||
@ -0,0 +1,8 @@ | 
				
			|||||
 | 
					<?xml version="1.0" encoding="utf-8" ?> | 
				
			||||
 | 
					<odoo> | 
				
			||||
 | 
					    <!-- Res partner demo data--> | 
				
			||||
 | 
					    <record id="res_partner_01" model="res.partner"> | 
				
			||||
 | 
					        <field name="name">Salon Default Customer</field> | 
				
			||||
 | 
					        <field name="partner_salon">5</field> | 
				
			||||
 | 
					    </record> | 
				
			||||
 | 
					</odoo> | 
				
			||||
@ -0,0 +1,16 @@ | 
				
			|||||
 | 
					<?xml version="1.0" encoding="utf-8"?> | 
				
			||||
 | 
					<odoo> | 
				
			||||
 | 
					    <data noupdate="1"> | 
				
			||||
 | 
					        <!-- Salon chair cron action --> | 
				
			||||
 | 
					        <record id="ir_cron_collections_today" forcecreate="True" model="ir.cron"> | 
				
			||||
 | 
					            <field name="name">Collection Today</field> | 
				
			||||
 | 
					            <field eval="True" name="active"/> | 
				
			||||
 | 
					            <field name="model_id" ref="salon_management.model_salon_chair"/> | 
				
			||||
 | 
					            <field name="state">code</field> | 
				
			||||
 | 
					            <field name="code">model.collection_today_updater()</field> | 
				
			||||
 | 
					            <field name="user_id" ref="base.user_root"/> | 
				
			||||
 | 
					            <field name="interval_number">1</field> | 
				
			||||
 | 
					            <field name="interval_type">days</field> | 
				
			||||
 | 
					        </record> | 
				
			||||
 | 
					    </data> | 
				
			||||
 | 
					</odoo> | 
				
			||||
@ -0,0 +1,12 @@ | 
				
			|||||
 | 
					<?xml version="1.0" encoding="utf-8"?> | 
				
			||||
 | 
					<odoo> | 
				
			||||
 | 
					    <data noupdate="1"> | 
				
			||||
 | 
					        <!-- Salon chair sequence--> | 
				
			||||
 | 
					        <record id="salon_chair_sequence" model="ir.sequence"> | 
				
			||||
 | 
					            <field name="name">Chair Sequence</field> | 
				
			||||
 | 
					            <field name="code">salon_chair_sequence</field> | 
				
			||||
 | 
					            <field name="prefix">CHAIR-</field> | 
				
			||||
 | 
					            <field name="number_increment">1</field> | 
				
			||||
 | 
					        </record> | 
				
			||||
 | 
					    </data> | 
				
			||||
 | 
					</odoo> | 
				
			||||
@ -0,0 +1,28 @@ | 
				
			|||||
 | 
					<?xml version="1.0" encoding="utf-8" ?> | 
				
			||||
 | 
					<odoo> | 
				
			||||
 | 
					    <data noupdate="1"> | 
				
			||||
 | 
					        <!-- Salon holiday demo datas--> | 
				
			||||
 | 
					        <record id="salon_holiday_01" model="salon.holiday"> | 
				
			||||
 | 
					            <field name="name">Sunday</field> | 
				
			||||
 | 
					            <field name="holiday">True</field> | 
				
			||||
 | 
					        </record> | 
				
			||||
 | 
					        <record id="salon_holiday_02" model="salon.holiday"> | 
				
			||||
 | 
					            <field name="name">Monday</field> | 
				
			||||
 | 
					        </record> | 
				
			||||
 | 
					        <record id="salon_holiday_03" model="salon.holiday"> | 
				
			||||
 | 
					            <field name="name">Tuesday</field> | 
				
			||||
 | 
					        </record> | 
				
			||||
 | 
					        <record id="salon_holiday_04" model="salon.holiday"> | 
				
			||||
 | 
					            <field name="name">Wednesday</field> | 
				
			||||
 | 
					        </record> | 
				
			||||
 | 
					        <record id="salon_holiday_05" model="salon.holiday"> | 
				
			||||
 | 
					            <field name="name">Thursday</field> | 
				
			||||
 | 
					        </record> | 
				
			||||
 | 
					        <record id="salon_holiday_06" model="salon.holiday"> | 
				
			||||
 | 
					            <field name="name">Friday</field> | 
				
			||||
 | 
					        </record> | 
				
			||||
 | 
					        <record id="salon_holiday_07" model="salon.holiday"> | 
				
			||||
 | 
					            <field name="name">Saturday</field> | 
				
			||||
 | 
					        </record> | 
				
			||||
 | 
					    </data> | 
				
			||||
 | 
					</odoo> | 
				
			||||
@ -0,0 +1,8 @@ | 
				
			|||||
 | 
					<?xml version="1.0" encoding="utf-8"?> | 
				
			||||
 | 
					<odoo> | 
				
			||||
 | 
					    <!--    Salon management dashboard client action--> | 
				
			||||
 | 
					    <record id="salon_management_client_action" model="ir.actions.client"> | 
				
			||||
 | 
					        <field name="name">Salon Management</field> | 
				
			||||
 | 
					        <field name="tag">salon_dashboard</field> | 
				
			||||
 | 
					    </record> | 
				
			||||
 | 
					</odoo> | 
				
			||||
@ -0,0 +1,41 @@ | 
				
			|||||
 | 
					<?xml version="1.0" encoding="utf-8"?> | 
				
			||||
 | 
					<odoo> | 
				
			||||
 | 
					    <data> | 
				
			||||
 | 
					<!--        Salon approved mail template--> | 
				
			||||
 | 
					        <record id="mail_template_salon_approved" model="mail.template"> | 
				
			||||
 | 
					            <field name="name">Salon Approved E-mail</field> | 
				
			||||
 | 
					            <field name="email_from">{{ object.company_id and object.company_id.email or '' }}</field> | 
				
			||||
 | 
					            <field name="subject">Congrats {{ object.name }}</field> | 
				
			||||
 | 
					            <field name="email_to">{{ object.email }}</field> | 
				
			||||
 | 
					            <field name="model_id" ref="salon_management.model_salon_booking" /> | 
				
			||||
 | 
					            <field name="auto_delete" eval="True" /> | 
				
			||||
 | 
					            <field name="body_html" type="html"> | 
				
			||||
 | 
					                <div> | 
				
			||||
 | 
					                    <p>Dear <t t-out="object.name" />,<br /> | 
				
			||||
 | 
					                    Thank you for choosing <t t-out="object.company_id.name" />, your booking was registered!<br /><br /></p> | 
				
			||||
 | 
					                    Regards,<br /> | 
				
			||||
 | 
					                    <t t-out="object.company_id.name" /> | 
				
			||||
 | 
					                </div> | 
				
			||||
 | 
					            </field> | 
				
			||||
 | 
					        </record> | 
				
			||||
 | 
					        <!--        Salon rejecting mail template--> | 
				
			||||
 | 
					        <record id="mail_template_salon_rejected" model="mail.template"> | 
				
			||||
 | 
					            <field name="name">Salon Rejected E-mail</field> | 
				
			||||
 | 
					            <field name="email_from">{{ object.company_id and object.company_id.email or '' }}</field> | 
				
			||||
 | 
					            <field name="subject">We are Sorry {{ object.name }}</field> | 
				
			||||
 | 
					            <field name="email_to">{{ object.email }}</field> | 
				
			||||
 | 
					            <field name="model_id" ref="salon_management.model_salon_booking" /> | 
				
			||||
 | 
					            <field name="auto_delete" eval="True" /> | 
				
			||||
 | 
					            <field name="body_html" type="html"> | 
				
			||||
 | 
					                <div> | 
				
			||||
 | 
					                    <p>Dear <t t-out="object.name" />,<br /> | 
				
			||||
 | 
					                    Thank you for choosing <t t-out="object.company_id.name" />, but your booking was rejected!<br /> | 
				
			||||
 | 
					                    There is no seats available for the time you chosen.<br /> | 
				
			||||
 | 
					                    Better luck next time.<br /><br /></p> | 
				
			||||
 | 
					                    Regards,<br /> | 
				
			||||
 | 
					                    <t t-out="object.company_id.name" /> | 
				
			||||
 | 
					                </div> | 
				
			||||
 | 
					            </field> | 
				
			||||
 | 
					       </record> | 
				
			||||
 | 
					    </data> | 
				
			||||
 | 
					</odoo> | 
				
			||||
@ -0,0 +1,15 @@ | 
				
			|||||
 | 
					<?xml version="1.0" encoding="utf-8"?> | 
				
			||||
 | 
					<odoo> | 
				
			||||
 | 
					    <data noupdate="1"> | 
				
			||||
 | 
					        <!-- Salon order sequence--> | 
				
			||||
 | 
					        <record id="salon_order_sequence" model="ir.sequence"> | 
				
			||||
 | 
					            <field name="name">Salon Order Sequence</field> | 
				
			||||
 | 
					            <field name="code">salon.order.sequence</field> | 
				
			||||
 | 
					            <field name="prefix">SALON/%(range_year)s/</field> | 
				
			||||
 | 
					            <field eval="1" name="number_next" /> | 
				
			||||
 | 
					            <field eval="1" name="number_increment" /> | 
				
			||||
 | 
					            <field eval="True" name="use_date_range" /> | 
				
			||||
 | 
					            <field name="padding">4</field> | 
				
			||||
 | 
					        </record> | 
				
			||||
 | 
					    </data> | 
				
			||||
 | 
					</odoo> | 
				
			||||
@ -0,0 +1,26 @@ | 
				
			|||||
 | 
					<?xml version="1.0" encoding="utf-8" ?> | 
				
			||||
 | 
					<odoo> | 
				
			||||
 | 
					    <data> | 
				
			||||
 | 
					        <!-- Salon stage demo data--> | 
				
			||||
 | 
					        <record id="salon_stage_00" model="salon.stage"> | 
				
			||||
 | 
					            <field name="name">Draft</field> | 
				
			||||
 | 
					            <field name="sequence">1</field> | 
				
			||||
 | 
					        </record> | 
				
			||||
 | 
					        <record id="salon_stage_01" model="salon.stage"> | 
				
			||||
 | 
					            <field name="name">Open</field> | 
				
			||||
 | 
					            <field name="sequence">2</field> | 
				
			||||
 | 
					        </record> | 
				
			||||
 | 
					        <record id="salon_stage_02" model="salon.stage"> | 
				
			||||
 | 
					            <field name="name">Invoiced</field> | 
				
			||||
 | 
					            <field name="sequence">3</field> | 
				
			||||
 | 
					        </record> | 
				
			||||
 | 
					        <record id="salon_stage_03" model="salon.stage"> | 
				
			||||
 | 
					            <field name="name">Closed</field> | 
				
			||||
 | 
					            <field name="sequence">4</field> | 
				
			||||
 | 
					        </record> | 
				
			||||
 | 
					        <record id="salon_stage_04" model="salon.stage"> | 
				
			||||
 | 
					            <field name="name">Cancelled</field> | 
				
			||||
 | 
					            <field name="sequence">5</field> | 
				
			||||
 | 
					        </record> | 
				
			||||
 | 
					    </data> | 
				
			||||
 | 
					</odoo> | 
				
			||||
@ -0,0 +1,10 @@ | 
				
			|||||
 | 
					<?xml version="1.0" encoding="utf-8"?> | 
				
			||||
 | 
					<odoo> | 
				
			||||
 | 
					    <!-- Salon booking website menu--> | 
				
			||||
 | 
					    <record id="website_menu_salon_booking" model="website.menu"> | 
				
			||||
 | 
					        <field name="name">Bookings</field> | 
				
			||||
 | 
					        <field name="url">/salon_booking_form</field> | 
				
			||||
 | 
					        <field name="parent_id" ref="website.main_menu"/> | 
				
			||||
 | 
					        <field name="sequence" type="int">80</field> | 
				
			||||
 | 
					    </record> | 
				
			||||
 | 
					</odoo> | 
				
			||||
@ -0,0 +1,27 @@ | 
				
			|||||
 | 
					<?xml version="1.0" encoding="utf-8" ?> | 
				
			||||
 | 
					<odoo> | 
				
			||||
 | 
					    <data noupdate="1"> | 
				
			||||
 | 
					        <!-- Salon working hours demo data--> | 
				
			||||
 | 
					        <record id="salon_working_01" model="salon.working.hours"> | 
				
			||||
 | 
					            <field name="name">Sunday</field> | 
				
			||||
 | 
					        </record> | 
				
			||||
 | 
					        <record id="salon_working_02" model="salon.working.hours"> | 
				
			||||
 | 
					            <field name="name">Monday</field> | 
				
			||||
 | 
					        </record> | 
				
			||||
 | 
					        <record id="salon_working_03" model="salon.working.hours"> | 
				
			||||
 | 
					            <field name="name">Tuesday</field> | 
				
			||||
 | 
					        </record> | 
				
			||||
 | 
					        <record id="salon_working_04" model="salon.working.hours"> | 
				
			||||
 | 
					            <field name="name">Wednesday</field> | 
				
			||||
 | 
					        </record> | 
				
			||||
 | 
					        <record id="salon_working_05" model="salon.working.hours"> | 
				
			||||
 | 
					            <field name="name">Thursday</field> | 
				
			||||
 | 
					        </record> | 
				
			||||
 | 
					        <record id="salon_working_06" model="salon.working.hours"> | 
				
			||||
 | 
					            <field name="name">Friday</field> | 
				
			||||
 | 
					        </record> | 
				
			||||
 | 
					        <record id="salon_working_07" model="salon.working.hours"> | 
				
			||||
 | 
					            <field name="name">Saturday</field> | 
				
			||||
 | 
					        </record> | 
				
			||||
 | 
					    </data> | 
				
			||||
 | 
					</odoo> | 
				
			||||
@ -0,0 +1,7 @@ | 
				
			|||||
 | 
					## Module <salon_management> | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					#### 01.02.2025 | 
				
			||||
 | 
					#### Version 18.0.1.0.0 | 
				
			||||
 | 
					#### ADD | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					- Initial commit for Beauty Spa Management | 
				
			||||
@ -0,0 +1,33 @@ | 
				
			|||||
 | 
					# -*- coding: utf-8 -*- | 
				
			||||
 | 
					################################################################################ | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    Cybrosys Technologies Pvt. Ltd. | 
				
			||||
 | 
					#    Copyright (C) 2025-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). | 
				
			||||
 | 
					#    Author: Abbas P (odoo@cybrosys.com) | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    This program is free software: you can modify | 
				
			||||
 | 
					#    it under the terms of the GNU Affero General Public License (AGPL) as | 
				
			||||
 | 
					#    published by the Free Software Foundation, either version 3 of the | 
				
			||||
 | 
					#    License, or (at your option) any later version. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    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 for more details. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    You should have received a copy of the GNU Affero General Public License | 
				
			||||
 | 
					#    along with this program.  If not, see <https://www.gnu.org/licenses/>. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					################################################################################ | 
				
			||||
 | 
					from . import res_config_settings | 
				
			||||
 | 
					from . import res_partner | 
				
			||||
 | 
					from . import res_users | 
				
			||||
 | 
					from . import salon_chair | 
				
			||||
 | 
					from . import salon_holiday | 
				
			||||
 | 
					from . import salon_service | 
				
			||||
 | 
					from . import salon_working_hours | 
				
			||||
 | 
					from . import salon_booking | 
				
			||||
 | 
					from . import salon_chair_user | 
				
			||||
 | 
					from . import salon_order | 
				
			||||
 | 
					from . import salon_order_line | 
				
			||||
 | 
					from . import salon_stage | 
				
			||||
@ -0,0 +1,64 @@ | 
				
			|||||
 | 
					# -*- coding: utf-8 -*- | 
				
			||||
 | 
					################################################################################ | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    Cybrosys Technologies Pvt. Ltd. | 
				
			||||
 | 
					#    Copyright (C) 2025-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). | 
				
			||||
 | 
					#    Author: Abbas P (odoo@cybrosys.com) | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    This program is free software: you can modify | 
				
			||||
 | 
					#    it under the terms of the GNU Affero General Public License (AGPL) as | 
				
			||||
 | 
					#    published by the Free Software Foundation, either version 3 of the | 
				
			||||
 | 
					#    License, or (at your option) any later version. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    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 for more details. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    You should have received a copy of the GNU Affero General Public License | 
				
			||||
 | 
					#    along with this program.  If not, see <https://www.gnu.org/licenses/>. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					################################################################################ | 
				
			||||
 | 
					from odoo import api, fields, models | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					class ResConfigSettings(models.TransientModel): | 
				
			||||
 | 
					    """Inherits 'res.config.settings' to add salon records""" | 
				
			||||
 | 
					    _inherit = 'res.config.settings' | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    @api.model | 
				
			||||
 | 
					    def booking_chairs(self): | 
				
			||||
 | 
					        """Returns active chairs for booking""" | 
				
			||||
 | 
					        return self.env['salon.chair'].search( | 
				
			||||
 | 
					            [('active_booking_chairs', '=', True)]) | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    @api.model | 
				
			||||
 | 
					    def return_holidays(self): | 
				
			||||
 | 
					        """Returns holiday""" | 
				
			||||
 | 
					        return self.env['salon.holiday'].search([('holiday', '=', True)]) | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    salon_booking_chair_ids = fields.Many2many( | 
				
			||||
 | 
					        'salon.chair', string="Booking Chairs", default=booking_chairs, | 
				
			||||
 | 
					        help="Booking chairs") | 
				
			||||
 | 
					    salon_holiday_ids = fields.Many2many('salon.holiday', string="Holidays", | 
				
			||||
 | 
					                                         default=return_holidays, | 
				
			||||
 | 
					                                         help="Holidays of salon") | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    def execute(self): | 
				
			||||
 | 
					        """Update boolean fields of holiday and chair""" | 
				
			||||
 | 
					        book_chair = [] | 
				
			||||
 | 
					        for chairs in self.salon_booking_chair_ids: | 
				
			||||
 | 
					            book_chair.append(chairs.id) | 
				
			||||
 | 
					        for chair in self.env['salon.chair'].search([]): | 
				
			||||
 | 
					            if chair.id in book_chair: | 
				
			||||
 | 
					                chair.active_booking_chairs = True | 
				
			||||
 | 
					            else: | 
				
			||||
 | 
					                chair.active_booking_chairs = False | 
				
			||||
 | 
					        holiday = [] | 
				
			||||
 | 
					        for days in self.salon_holiday_ids: | 
				
			||||
 | 
					            holiday.append(days.id) | 
				
			||||
 | 
					        for records in self.env['salon.holiday'].search([]): | 
				
			||||
 | 
					            if records.id in holiday: | 
				
			||||
 | 
					                records.holiday = True | 
				
			||||
 | 
					            else: | 
				
			||||
 | 
					                records.holiday = False | 
				
			||||
@ -0,0 +1,32 @@ | 
				
			|||||
 | 
					# -*- coding: utf-8 -*- | 
				
			||||
 | 
					################################################################################ | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    Cybrosys Technologies Pvt. Ltd. | 
				
			||||
 | 
					#    Copyright (C) 2025-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). | 
				
			||||
 | 
					#    Author: Abbas P (odoo@cybrosys.com) | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    This program is free software: you can modify | 
				
			||||
 | 
					#    it under the terms of the GNU Affero General Public License (AGPL) as | 
				
			||||
 | 
					#    published by the Free Software Foundation, either version 3 of the | 
				
			||||
 | 
					#    License, or (at your option) any later version. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    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 for more details. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    You should have received a copy of the GNU Affero General Public License | 
				
			||||
 | 
					#    along with this program.  If not, see <https://www.gnu.org/licenses/>. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					################################################################################ | 
				
			||||
 | 
					from odoo import fields, models | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					class ResPartner(models.Model): | 
				
			||||
 | 
					    """Inherits 'res partner' to add field to know whether partner is a salon | 
				
			||||
 | 
					        partner""" | 
				
			||||
 | 
					    _inherit = 'res.partner' | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    partner_salon = fields.Boolean(string="Is a Salon Partner", | 
				
			||||
 | 
					                                   help="Field to check is partner a salon " | 
				
			||||
 | 
					                                        "partner") | 
				
			||||
@ -0,0 +1,31 @@ | 
				
			|||||
 | 
					# -*- coding: utf-8 -*- | 
				
			||||
 | 
					################################################################################ | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    Cybrosys Technologies Pvt. Ltd. | 
				
			||||
 | 
					#    Copyright (C) 2025-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). | 
				
			||||
 | 
					#    Author: Abbas P (odoo@cybrosys.com) | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    This program is free software: you can modify | 
				
			||||
 | 
					#    it under the terms of the GNU Affero General Public License (AGPL) as | 
				
			||||
 | 
					#    published by the Free Software Foundation, either version 3 of the | 
				
			||||
 | 
					#    License, or (at your option) any later version. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    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 for more details. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    You should have received a copy of the GNU Affero General Public License | 
				
			||||
 | 
					#    along with this program.  If not, see <https://www.gnu.org/licenses/>. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					################################################################################ | 
				
			||||
 | 
					from odoo import fields, models | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					class ResUsers(models.Model): | 
				
			||||
 | 
					    """Inherits model res_users to add a field""" | 
				
			||||
 | 
					    _inherit = 'res.users' | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    user_salon_active = fields.Boolean( | 
				
			||||
 | 
					        string="Active Salon Users", default=False, help="To check whether user" | 
				
			||||
 | 
					                                                         " is salon user") | 
				
			||||
@ -0,0 +1,118 @@ | 
				
			|||||
 | 
					# -*- coding: utf-8 -*- | 
				
			||||
 | 
					################################################################################ | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    Cybrosys Technologies Pvt. Ltd. | 
				
			||||
 | 
					#    Copyright (C) 2025-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). | 
				
			||||
 | 
					#    Author: Abbas P (odoo@cybrosys.com) | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    This program is free software: you can modify | 
				
			||||
 | 
					#    it under the terms of the GNU Affero General Public License (AGPL) as | 
				
			||||
 | 
					#    published by the Free Software Foundation, either version 3 of the | 
				
			||||
 | 
					#    License, or (at your option) any later version. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    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 for more details. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    You should have received a copy of the GNU Affero General Public License | 
				
			||||
 | 
					#    along with this program.  If not, see <https://www.gnu.org/licenses/>. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					################################################################################ | 
				
			||||
 | 
					import pytz | 
				
			||||
 | 
					from odoo import fields, models | 
				
			||||
 | 
					from datetime import datetime, time | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					class SalonBooking(models.Model): | 
				
			||||
 | 
					    """Creates 'salon booking' to create salon bookings""" | 
				
			||||
 | 
					    _name = 'salon.booking' | 
				
			||||
 | 
					    _description = 'Salon Booking' | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    name = fields.Char(string="Name", required=True, help="Name of customer") | 
				
			||||
 | 
					    state = fields.Selection(string="State", default="draft", | 
				
			||||
 | 
					                             selection=[('draft', 'Draft'), | 
				
			||||
 | 
					                                        ('approved', 'Approved'), | 
				
			||||
 | 
					                                        ('rejected', 'Rejected')], | 
				
			||||
 | 
					                             help="State of the booking") | 
				
			||||
 | 
					    time = fields.Datetime(string="Date", required=True, | 
				
			||||
 | 
					                           help="Start time of the order") | 
				
			||||
 | 
					    phone = fields.Char(string="Phone", help="Phone number of customer.") | 
				
			||||
 | 
					    email = fields.Char(string="E-Mail", help="Email of employee") | 
				
			||||
 | 
					    service_ids = fields.Many2many(comodel_name='salon.service', | 
				
			||||
 | 
					                                   string="Services", | 
				
			||||
 | 
					                                   help="Salon services") | 
				
			||||
 | 
					    chair_id = fields.Many2one('salon.chair', string="Chair", | 
				
			||||
 | 
					                               required=True, help="Select the chair for " | 
				
			||||
 | 
					                                                   "booking") | 
				
			||||
 | 
					    company_id = fields.Many2one(comodel_name='res.company', string='Company', | 
				
			||||
 | 
					                                 default=lambda self: self.env.company, | 
				
			||||
 | 
					                                 help="Default company") | 
				
			||||
 | 
					    filtered_order_ids = fields.Many2many(comodel_name='salon.order', | 
				
			||||
 | 
					                                          string="Salon Orders", | 
				
			||||
 | 
					                                          compute="_compute_filtered_order_ids", | 
				
			||||
 | 
					                                          help="Orders for each salon") | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    def _compute_filtered_order_ids(self): | 
				
			||||
 | 
					        """Computes the filtered_order_ids field""" | 
				
			||||
 | 
					        if self.time: | 
				
			||||
 | 
					            date_only = fields.Date.to_date(fields.Datetime.to_string( | 
				
			||||
 | 
					                pytz.UTC.localize(self.time).astimezone(pytz.timezone( | 
				
			||||
 | 
					                    self.env.user.tz)))[0:10]) | 
				
			||||
 | 
					        else: | 
				
			||||
 | 
					            date_only = fields.Date.context_today(self) | 
				
			||||
 | 
					        date_start = (pytz.timezone(self.env.user.tz).localize( | 
				
			||||
 | 
					            datetime.combine(date_only, time(hour=0, minute=0, second=0))) | 
				
			||||
 | 
					                      .astimezone(pytz.UTC).replace(tzinfo=None)) | 
				
			||||
 | 
					        date_end = (pytz.timezone(self.env.user.tz).localize( | 
				
			||||
 | 
					            datetime.combine(date_only, time(hour=23, minute=59, second=59))) | 
				
			||||
 | 
					                    .astimezone(pytz.UTC).replace(tzinfo=None)) | 
				
			||||
 | 
					        salon_orders = self.env['salon.order'].search( | 
				
			||||
 | 
					            [('chair_id', '=', self.chair_id.id), | 
				
			||||
 | 
					             ('start_time', '>=', date_start), | 
				
			||||
 | 
					             ('start_time', '<=', date_end)]) | 
				
			||||
 | 
					        self.filtered_order_ids = [(6, 0, [x.id for x in salon_orders])] | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    def action_approve_booking(self): | 
				
			||||
 | 
					        """Approve the booking for salon services""" | 
				
			||||
 | 
					        for service in self.service_ids: | 
				
			||||
 | 
					            self.env['salon.order.line'].create({ | 
				
			||||
 | 
					                'service_id': service.id, | 
				
			||||
 | 
					                'time_taken': service.time_taken, | 
				
			||||
 | 
					                'price': service.price, | 
				
			||||
 | 
					                'price_subtotal': service.price, | 
				
			||||
 | 
					                'salon_order_id': self.env['salon.order'].create( | 
				
			||||
 | 
					                        {'customer_name': self.name, | 
				
			||||
 | 
					                         'chair_id': self.chair_id.id, | 
				
			||||
 | 
					                         'start_time': self.time, | 
				
			||||
 | 
					                         'date': fields.Datetime.now(), | 
				
			||||
 | 
					                         'stage_id': 1, | 
				
			||||
 | 
					                         'booking_identifier': True}).id, | 
				
			||||
 | 
					            }) | 
				
			||||
 | 
					        self.env['mail.template'].browse(self.env.ref( | 
				
			||||
 | 
					            'salon_management.mail_template_salon_approved').id).send_mail( | 
				
			||||
 | 
					                        self.id, force_send=True) | 
				
			||||
 | 
					        self.state = "approved" | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    def action_reject_booking(self): | 
				
			||||
 | 
					        """Reject booking for salon services""" | 
				
			||||
 | 
					        self.env['mail.template'].browse(self.env.ref( | 
				
			||||
 | 
					            'salon_management.mail_template_salon_rejected') | 
				
			||||
 | 
					                                         .id).send_mail(self.id, | 
				
			||||
 | 
					                                                        force_send=True) | 
				
			||||
 | 
					        self.state = "rejected" | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    def get_booking_count(self): | 
				
			||||
 | 
					        """Gets the count of salon bookings, recent works, salon orders, salon | 
				
			||||
 | 
					            clients. | 
				
			||||
 | 
					            Returns: Count of each one.""" | 
				
			||||
 | 
					        return { | 
				
			||||
 | 
					            'bookings': self.env['salon.booking'].search_count( | 
				
			||||
 | 
					                [('state', '=', 'approved')]), | 
				
			||||
 | 
					            'sales': self.env['salon.order'].search_count( | 
				
			||||
 | 
					                [('stage_id', 'in', [3, 4])]), | 
				
			||||
 | 
					            'orders': self.env['salon.order'].search_count([]), | 
				
			||||
 | 
					            'clients': self.env['res.partner'].search_count( | 
				
			||||
 | 
					                [('partner_salon', '=', True)]), | 
				
			||||
 | 
					            'chairs': self.env['salon.chair'].search([]) | 
				
			||||
 | 
					        } | 
				
			||||
@ -0,0 +1,89 @@ | 
				
			|||||
 | 
					# -*- coding: utf-8 -*- | 
				
			||||
 | 
					################################################################################ | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    Cybrosys Technologies Pvt. Ltd. | 
				
			||||
 | 
					#    Copyright (C) 2025-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). | 
				
			||||
 | 
					#    Author: Abbas P (odoo@cybrosys.com) | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    This program is free software: you can modify | 
				
			||||
 | 
					#    it under the terms of the GNU Affero General Public License (AGPL) as | 
				
			||||
 | 
					#    published by the Free Software Foundation, either version 3 of the | 
				
			||||
 | 
					#    License, or (at your option) any later version. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    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 for more details. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    You should have received a copy of the GNU Affero General Public License | 
				
			||||
 | 
					#    along with this program.  If not, see <https://www.gnu.org/licenses/>. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					################################################################################ | 
				
			||||
 | 
					from datetime import date | 
				
			||||
 | 
					from odoo import api, fields, models, _ | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					class SalonChair(models.Model): | 
				
			||||
 | 
					    """Class to create 'salon.chair' to manage chairs in salon""" | 
				
			||||
 | 
					    _name = 'salon.chair' | 
				
			||||
 | 
					    _description = 'Salon Chair' | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    name = fields.Char(string="Chair", required=True, readonly=True, | 
				
			||||
 | 
					                       default="New", help="Name for chair") | 
				
			||||
 | 
					    number_of_orders = fields.Integer(string="No.of Orders", help="Number of ") | 
				
			||||
 | 
					    collection_today = fields.Float(string="Today's Collection",  | 
				
			||||
 | 
					                                    help="Today's collection") | 
				
			||||
 | 
					    user_id = fields.Many2one( | 
				
			||||
 | 
					        'res.users', string="User", readonly=True, | 
				
			||||
 | 
					        help="You can select the user from the Users Tab" | 
				
			||||
 | 
					             "Last user from the Users Tab will be selected " | 
				
			||||
 | 
					             "as the Current User.") | 
				
			||||
 | 
					    date = fields.Datetime(string="Date", help="Chair available date", required=True) | 
				
			||||
 | 
					    user_line = fields.One2many('salon.chair.user', 'salon_chair_id', | 
				
			||||
 | 
					                                string="Users", help="Salon chair users") | 
				
			||||
 | 
					    total_time_taken_chair = fields.Float(string="Time Reserved(Hrs)", | 
				
			||||
 | 
					                                          help="Reserved time") | 
				
			||||
 | 
					    active_booking_chairs = fields.Boolean(string="Active booking chairs", | 
				
			||||
 | 
					                                           help="Check is chair a active chair") | 
				
			||||
 | 
					    chair_created_user = fields.Integer(string="Salon Chair Created User", | 
				
			||||
 | 
					                                        default=lambda self: self._uid, | 
				
			||||
 | 
					                                        help="Chair created user") | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    @api.model_create_multi | 
				
			||||
 | 
					    def create(self, values): | 
				
			||||
 | 
					        """Add sequence for chair, start date and end date on creating record""" | 
				
			||||
 | 
					        for vals in values: | 
				
			||||
 | 
					            if vals.get('name', _('New')) == _('New'): | 
				
			||||
 | 
					                vals['name'] = self.env['ir.sequence'].next_by_code( | 
				
			||||
 | 
					                    'salon_chair_sequence') | 
				
			||||
 | 
					            if 'user_line' in values[0].keys(): | 
				
			||||
 | 
					                if vals['user_line']: | 
				
			||||
 | 
					                    date_changer = [] | 
				
			||||
 | 
					                    for elements in vals['user_line']: | 
				
			||||
 | 
					                        date_changer.append(elements[2]['start_date']) | 
				
			||||
 | 
					                    number = 0 | 
				
			||||
 | 
					                    for elements in vals['user_line']: | 
				
			||||
 | 
					                        number += 1 | 
				
			||||
 | 
					                        if len(vals['user_line']) == number: | 
				
			||||
 | 
					                            break | 
				
			||||
 | 
					                        elements[2]['end_date'] = date_changer[number] | 
				
			||||
 | 
					                    vals['user_id'] = vals['user_line'][len( | 
				
			||||
 | 
					                        (vals['user_line'])) - 1][2]['user_id'] | 
				
			||||
 | 
					                    vals['date'] = vals['user_line'][len( | 
				
			||||
 | 
					                        (vals['user_line'])) - 1][2]['start_date'] | 
				
			||||
 | 
					            return super(SalonChair, self).create(vals) | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    def collection_today_updater(self): | 
				
			||||
 | 
					        """ Function to update the collection on the day for each chair """ | 
				
			||||
 | 
					        salon_chair = self.env['salon.chair'] | 
				
			||||
 | 
					        for values in self.search([]): | 
				
			||||
 | 
					            chair_obj = salon_chair.browse(values.ids) | 
				
			||||
 | 
					            invoiced_records = chair_obj.env['salon.order'].search( | 
				
			||||
 | 
					                [('stage_id', 'in', [3, 4]), ('chair_id', '=', chair_obj.id)]) | 
				
			||||
 | 
					            total = 0 | 
				
			||||
 | 
					            for rows in invoiced_records: | 
				
			||||
 | 
					                invoiced_date = str(rows.date) | 
				
			||||
 | 
					                invoiced_date = invoiced_date[0:10] | 
				
			||||
 | 
					                if invoiced_date == str(date.today()): | 
				
			||||
 | 
					                    total = total + rows.price_subtotal | 
				
			||||
 | 
					            chair_obj.collection_today = total | 
				
			||||
@ -0,0 +1,55 @@ | 
				
			|||||
 | 
					# -*- coding: utf-8 -*- | 
				
			||||
 | 
					################################################################################ | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    Cybrosys Technologies Pvt. Ltd. | 
				
			||||
 | 
					#    Copyright (C) 2025-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). | 
				
			||||
 | 
					#    Author: Abbas P (odoo@cybrosys.com) | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    This program is free software: you can modify | 
				
			||||
 | 
					#    it under the terms of the GNU Affero General Public License (AGPL) as | 
				
			||||
 | 
					#    published by the Free Software Foundation, either version 3 of the | 
				
			||||
 | 
					#    License, or (at your option) any later version. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    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 for more details. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    You should have received a copy of the GNU Affero General Public License | 
				
			||||
 | 
					#    along with this program.  If not, see <https://www.gnu.org/licenses/>. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					################################################################################ | 
				
			||||
 | 
					from odoo import api, fields, models | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					class SalonChairUser(models.Model): | 
				
			||||
 | 
					    """Model to store chair users """ | 
				
			||||
 | 
					    _name = 'salon.chair.user' | 
				
			||||
 | 
					    _description = 'Salon Chair User' | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    read_only_checker = fields.Boolean(string="Checker", default=False, | 
				
			||||
 | 
					                                       help="To check readonly") | 
				
			||||
 | 
					    user_id = fields.Many2one(comodel_name='res.users', string="User", | 
				
			||||
 | 
					                              required=True, help="Users") | 
				
			||||
 | 
					    start_date = fields.Datetime( | 
				
			||||
 | 
					        string="Start Date", default=fields.Datetime.now, required=True, | 
				
			||||
 | 
					        help="Staring date") | 
				
			||||
 | 
					    end_date = fields.Datetime(string="End Date", default=False, help="Ending " | 
				
			||||
 | 
					                                                                      "date") | 
				
			||||
 | 
					    salon_chair_id = fields.Many2one( | 
				
			||||
 | 
					        'salon.chair', string="Chair", required=True, | 
				
			||||
 | 
					        ondelete='cascade', index=True, copy=False, help="Select salon chairs") | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    @api.model | 
				
			||||
 | 
					    def create(self, val): | 
				
			||||
 | 
					        """Update records on adding new chair user""" | 
				
			||||
 | 
					        all_active_users = [] | 
				
			||||
 | 
					        for chair in self.env['salon.chair'].search([]): | 
				
			||||
 | 
					            if chair.user_id: | 
				
			||||
 | 
					                all_active_users.append(chair.user_id.id) | 
				
			||||
 | 
					                chair.user_id.write({'user_salon_active': True}) | 
				
			||||
 | 
					        for user in self.env['res.users'].search( | 
				
			||||
 | 
					                [('id', 'not in', all_active_users)]): | 
				
			||||
 | 
					            user.write({'user_salon_active': False}) | 
				
			||||
 | 
					        val['read_only_checker'] = True | 
				
			||||
 | 
					        return super(SalonChairUser, self).create(val) | 
				
			||||
@ -0,0 +1,31 @@ | 
				
			|||||
 | 
					# -*- coding: utf-8 -*- | 
				
			||||
 | 
					################################################################################ | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    Cybrosys Technologies Pvt. Ltd. | 
				
			||||
 | 
					#    Copyright (C) 2025-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). | 
				
			||||
 | 
					#    Author: Abbas P (odoo@cybrosys.com) | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    This program is free software: you can modify | 
				
			||||
 | 
					#    it under the terms of the GNU Affero General Public License (AGPL) as | 
				
			||||
 | 
					#    published by the Free Software Foundation, either version 3 of the | 
				
			||||
 | 
					#    License, or (at your option) any later version. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    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 for more details. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    You should have received a copy of the GNU Affero General Public License | 
				
			||||
 | 
					#    along with this program.  If not, see <https://www.gnu.org/licenses/>. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					################################################################################ | 
				
			||||
 | 
					from odoo import fields, models | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					class SalonHoliday(models.Model): | 
				
			||||
 | 
					    """Creates 'salon.holiday' to store holidays of salon""" | 
				
			||||
 | 
					    _name = 'salon.holiday' | 
				
			||||
 | 
					    _description = 'Salon Holiday' | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    name = fields.Char(string="Name", help="Name of holiday") | 
				
			||||
 | 
					    holiday = fields.Boolean(string="Holiday", help="To check holiday") | 
				
			||||
@ -0,0 +1,272 @@ | 
				
			|||||
 | 
					# -*- coding: utf-8 -*- | 
				
			||||
 | 
					################################################################################ | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    Cybrosys Technologies Pvt. Ltd. | 
				
			||||
 | 
					#    Copyright (C) 2025-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). | 
				
			||||
 | 
					#    Author: Abbas P (odoo@cybrosys.com) | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    This program is free software: you can modify | 
				
			||||
 | 
					#    it under the terms of the GNU Affero General Public License (AGPL) as | 
				
			||||
 | 
					#    published by the Free Software Foundation, either version 3 of the | 
				
			||||
 | 
					#    License, or (at your option) any later version. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    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 for more details. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    You should have received a copy of the GNU Affero General Public License | 
				
			||||
 | 
					#    along with this program.  If not, see <https://www.gnu.org/licenses/>. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					################################################################################ | 
				
			||||
 | 
					from datetime import date, datetime, timedelta | 
				
			||||
 | 
					from odoo import api, fields, models | 
				
			||||
 | 
					from odoo.tools.translate import _ | 
				
			||||
 | 
					from odoo.exceptions import UserError, ValidationError | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					class SalonOrder(models.Model): | 
				
			||||
 | 
					    """Model to create salon orders""" | 
				
			||||
 | 
					    _name = 'salon.order' | 
				
			||||
 | 
					    _description = 'Salon Order' | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    name = fields.Char(string='Salon', required=True, copy=False, readonly=True, | 
				
			||||
 | 
					                       default='Draft Salon Order', help="Name of salon order") | 
				
			||||
 | 
					    start_time = fields.Datetime( | 
				
			||||
 | 
					        string="Start time", default=fields.Datetime.now, required=True, | 
				
			||||
 | 
					        help="Start time of the order") | 
				
			||||
 | 
					    end_time = fields.Datetime(string="End time", help="End time of the order") | 
				
			||||
 | 
					    date = fields.Datetime(string="Date", required=True, | 
				
			||||
 | 
					                           default=fields.Datetime.now, help="Registering date") | 
				
			||||
 | 
					    color = fields.Integer(string="Color", default=6, | 
				
			||||
 | 
					                           help="Color for the order") | 
				
			||||
 | 
					    partner_id = fields.Many2one( | 
				
			||||
 | 
					        'res.partner', string="Customer", required=False, | 
				
			||||
 | 
					        help="If the customer is a regular customer, then you can add the" | 
				
			||||
 | 
					             " customer in your database") | 
				
			||||
 | 
					    customer_name = fields.Char(string="Name", required=True, | 
				
			||||
 | 
					                                help="Name of salon customer") | 
				
			||||
 | 
					    currency_id = fields.Many2one( | 
				
			||||
 | 
					        'res.currency', string='Currency', required=True, | 
				
			||||
 | 
					        default=lambda self: self.env.user.company_id.currency_id.id, | 
				
			||||
 | 
					        help="Currency used in the order") | 
				
			||||
 | 
					    chair_id = fields.Many2one('salon.chair', string="Chair", | 
				
			||||
 | 
					                               required=True, help="Chair for the current " | 
				
			||||
 | 
					                                                   "order") | 
				
			||||
 | 
					    price_subtotal = fields.Monetary(string='Total', readonly=True, store=True, | 
				
			||||
 | 
					                                     compute='_compute_price_subtotal', | 
				
			||||
 | 
					                                     help="Total price of order") | 
				
			||||
 | 
					    time_taken_total = fields.Float(string='Total time', | 
				
			||||
 | 
					                                    help='Total time taken') | 
				
			||||
 | 
					    note = fields.Text(string='Terms and conditions', | 
				
			||||
 | 
					                       help="Note for current order") | 
				
			||||
 | 
					    order_line_ids = fields.One2many(comodel_name='salon.order.line', | 
				
			||||
 | 
					                                     inverse_name='salon_order_id', | 
				
			||||
 | 
					                                     string="Order Lines", copy=True, | 
				
			||||
 | 
					                                     help='Salon order line for add ' | 
				
			||||
 | 
					                                          'list of services', required=True) | 
				
			||||
 | 
					    stage_id = fields.Many2one(comodel_name='salon.stage', string="State", | 
				
			||||
 | 
					                               group_expand='_read_group_stage_ids', default=1, | 
				
			||||
 | 
					                               copy=False, help="state for the salon order(user" | 
				
			||||
 | 
					                                                " can add dynamic state from" | 
				
			||||
 | 
					                                                " the kanban view)") | 
				
			||||
 | 
					    inv_stage_identifier = fields.Boolean(string="Stage Identifier", | 
				
			||||
 | 
					                                          help="Field to detect stage") | 
				
			||||
 | 
					    validation_controller = fields.Boolean( | 
				
			||||
 | 
					        string="Validation controller", default=False, | 
				
			||||
 | 
					        help="Start time of the order") | 
				
			||||
 | 
					    booking_identifier = fields.Boolean(string="Booking Identifier", | 
				
			||||
 | 
					                                        help="Field to identify booking") | 
				
			||||
 | 
					    user_id = fields.Many2one('res.users', string="Chair User") | 
				
			||||
 | 
					    salon_order_created_user = fields.Integer(string="Salon Order Created User", | 
				
			||||
 | 
					                                              default=lambda self: self._uid, | 
				
			||||
 | 
					                                              help="The user whom the salon" | 
				
			||||
 | 
					                                                   " order created.") | 
				
			||||
 | 
					    count = fields.Integer(string='Delivery Orders', compute='_compute_count', | 
				
			||||
 | 
					                           help="The count of the delivery") | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    @api.depends('order_line_ids.price_subtotal') | 
				
			||||
 | 
					    def _compute_price_subtotal(self): | 
				
			||||
 | 
					        """Compute the subtotal price of order line""" | 
				
			||||
 | 
					        amount_untaxed = 0.0 | 
				
			||||
 | 
					        total_time_taken = 0.0 | 
				
			||||
 | 
					        for order in self: | 
				
			||||
 | 
					            for line in order.order_line_ids: | 
				
			||||
 | 
					                amount_untaxed += line.price_subtotal | 
				
			||||
 | 
					                total_time_taken += line.time_taken | 
				
			||||
 | 
					        self.price_subtotal = amount_untaxed | 
				
			||||
 | 
					        time_takes = total_time_taken | 
				
			||||
 | 
					        hours = int(time_takes) | 
				
			||||
 | 
					        minutes = (time_takes - hours) * 60 | 
				
			||||
 | 
					        start_time_store = datetime.strptime( | 
				
			||||
 | 
					            str(self.start_time).split(".")[0], "%Y-%m-%d %H:%M:%S") | 
				
			||||
 | 
					        self.write({'end_time': start_time_store + timedelta( | 
				
			||||
 | 
					            hours=hours, minutes=minutes), | 
				
			||||
 | 
					                    'time_taken_total': total_time_taken}) | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    def _compute_count(self): | 
				
			||||
 | 
					        """Compute invoice count of salon orders""" | 
				
			||||
 | 
					        for orders in self: | 
				
			||||
 | 
					            orders.count = self.env['account.move'].search_count( | 
				
			||||
 | 
					                [('invoice_origin', '=', self.name)]) | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    def action_view_invoice_salon(self): | 
				
			||||
 | 
					        """Function to open invoice for the salon order""" | 
				
			||||
 | 
					        return {'name': 'Invoices', | 
				
			||||
 | 
					                'domain': [('invoice_origin', '=', self.name)], | 
				
			||||
 | 
					                'res_model': 'account.move', | 
				
			||||
 | 
					                'view_id': False, | 
				
			||||
 | 
					                'view_mode': 'list,form', | 
				
			||||
 | 
					                'type': 'ir.actions.act_window'} | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    @api.model | 
				
			||||
 | 
					    def _read_group_stage_ids(self, stages, domain): | 
				
			||||
 | 
					        """Return the stages to stage_ids""" | 
				
			||||
 | 
					        return self.env['salon.stage'].search([]) | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    def write(self, values): | 
				
			||||
 | 
					        """ Manage drag and drop in salon order kanban view """ | 
				
			||||
 | 
					        if 'stage_id' in values.keys(): | 
				
			||||
 | 
					            if self.stage_id.id == 3: | 
				
			||||
 | 
					                if values['stage_id'] != 4: | 
				
			||||
 | 
					                    raise ValidationError(_("You can't perform that move!")) | 
				
			||||
 | 
					                else: | 
				
			||||
 | 
					                    time_taken_chair = self.chair_id.total_time_taken_chair | 
				
			||||
 | 
					                    self.chair_id.total_time_taken_chair = ( | 
				
			||||
 | 
					                            time_taken_chair - self.time_taken_total) | 
				
			||||
 | 
					            if self.stage_id.id == 4: | 
				
			||||
 | 
					                raise ValidationError( | 
				
			||||
 | 
					                    _("You can't move a salon order from Closed stage!")) | 
				
			||||
 | 
					            if self.stage_id.id == 5: | 
				
			||||
 | 
					                raise ValidationError( | 
				
			||||
 | 
					                    _("You can't move a salon order from Cancel stage!")) | 
				
			||||
 | 
					            if self.stage_id.id == 1: | 
				
			||||
 | 
					                if values['stage_id'] not in [2, 5]: | 
				
			||||
 | 
					                    raise ValidationError(_("You can't perform that move!")) | 
				
			||||
 | 
					            if self.stage_id.id == 2: | 
				
			||||
 | 
					                if values['stage_id'] == 5: | 
				
			||||
 | 
					                    time_taken_chair = self.chair_id.total_time_taken_chair | 
				
			||||
 | 
					                    self.chair_id.total_time_taken_chair = ( | 
				
			||||
 | 
					                            time_taken_chair - self.time_taken_total) | 
				
			||||
 | 
					                elif values['stage_id'] == 1 or values['stage_id'] == 4: | 
				
			||||
 | 
					                    raise ValidationError(_("You can't perform that move!")) | 
				
			||||
 | 
					                elif values['stage_id'] == 3 and not self.inv_stage_identifier: | 
				
			||||
 | 
					                    self.action_create_invoice() | 
				
			||||
 | 
					        if 'stage_id' in values.keys() and self.name == "Draft Salon Order": | 
				
			||||
 | 
					            if values['stage_id'] == 2: | 
				
			||||
 | 
					                self.action_validate() | 
				
			||||
 | 
					                self.action_confirm() | 
				
			||||
 | 
					        self.update_number_of_orders() | 
				
			||||
 | 
					        return super(SalonOrder, self).write(values) | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    def action_confirm(self): | 
				
			||||
 | 
					        """Confirm function of salon order""" | 
				
			||||
 | 
					        sequence_code = 'salon.order.sequence' | 
				
			||||
 | 
					        order_date = str(self.date) | 
				
			||||
 | 
					        order_date = order_date[0:10] | 
				
			||||
 | 
					        self.name = self.env['ir.sequence'].with_context( | 
				
			||||
 | 
					            ir_sequence_date=order_date).next_by_code(sequence_code) | 
				
			||||
 | 
					        if self.partner_id: | 
				
			||||
 | 
					            self.partner_id.partner_salon = True | 
				
			||||
 | 
					        self.stage_id = 2 | 
				
			||||
 | 
					        self.update_number_of_orders() | 
				
			||||
 | 
					        self.chair_id.total_time_taken_chair += self.time_taken_total | 
				
			||||
 | 
					        self.user_id = self.chair_id.user_id | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    def action_validate(self): | 
				
			||||
 | 
					        """ Validate function of salon order""" | 
				
			||||
 | 
					        self.validation_controller = True | 
				
			||||
 | 
					        self.update_number_of_orders() | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    def action_close(self): | 
				
			||||
 | 
					        """Close function for salon order""" | 
				
			||||
 | 
					        self.stage_id = 4 | 
				
			||||
 | 
					        self.update_number_of_orders() | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    def action_cancel(self): | 
				
			||||
 | 
					        """Function to cancel the salon order""" | 
				
			||||
 | 
					        self.stage_id = 5 | 
				
			||||
 | 
					        self.update_number_of_orders() | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    def action_update_total(self): | 
				
			||||
 | 
					        """Update total amount in salon order""" | 
				
			||||
 | 
					        for order in self: | 
				
			||||
 | 
					            amount_untaxed = 0.0 | 
				
			||||
 | 
					            for line in order.order_line_ids: | 
				
			||||
 | 
					                amount_untaxed += line.price_subtotal | 
				
			||||
 | 
					            order.price_subtotal = amount_untaxed | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    @api.onchange('chair_id') | 
				
			||||
 | 
					    def _onchange_chair_id(self): | 
				
			||||
 | 
					        """Onchange function of chair_id field""" | 
				
			||||
 | 
					        if 'active_id' in self._context.keys(): | 
				
			||||
 | 
					            self.chair_id = self._context['active_id'] | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    def action_create_invoice(self): | 
				
			||||
 | 
					        """Function to create invoice""" | 
				
			||||
 | 
					        if self.partner_id: | 
				
			||||
 | 
					            supplier = self.partner_id | 
				
			||||
 | 
					        else: | 
				
			||||
 | 
					            supplier = self.partner_id.search( | 
				
			||||
 | 
					                [("name", "=", "Salon Default Customer")]) | 
				
			||||
 | 
					        lines = [] | 
				
			||||
 | 
					        product_id = self.env['product.product'].search( | 
				
			||||
 | 
					            [("name", "=", "Salon Service")]) | 
				
			||||
 | 
					        for records in self.order_line_ids: | 
				
			||||
 | 
					            if product_id.property_account_income_id.id: | 
				
			||||
 | 
					                income_account = product_id.property_account_income_id.id | 
				
			||||
 | 
					            elif product_id.categ_id.property_account_income_categ_id.id: | 
				
			||||
 | 
					                income_account = product_id.categ_id. \ | 
				
			||||
 | 
					                    property_account_income_categ_id.id | 
				
			||||
 | 
					            else: | 
				
			||||
 | 
					                raise UserError( | 
				
			||||
 | 
					                    _("Please define income account for this product: " | 
				
			||||
 | 
					                      "'%s' (id:%d).") % (product_id.name, product_id.id)) | 
				
			||||
 | 
					            value = (0, 0, { | 
				
			||||
 | 
					                'name': records.service_id.name, | 
				
			||||
 | 
					                'account_id': income_account, | 
				
			||||
 | 
					                'price_unit': records.price, | 
				
			||||
 | 
					                'quantity': 1, | 
				
			||||
 | 
					                'product_id': product_id.id, | 
				
			||||
 | 
					            }) | 
				
			||||
 | 
					            lines.append(value) | 
				
			||||
 | 
					        result = { | 
				
			||||
 | 
					            'name': self.env.ref('account.action_move_out_invoice_type', | 
				
			||||
 | 
					                                 raise_if_not_found=False).name, | 
				
			||||
 | 
					            'type': 'ir.actions.act_window', | 
				
			||||
 | 
					            'views': [[False, 'form']], | 
				
			||||
 | 
					            'target': 'current', | 
				
			||||
 | 
					            'res_id': self.env['account.move'].create({ | 
				
			||||
 | 
					                'move_type': 'out_invoice', | 
				
			||||
 | 
					                'partner_id': supplier.id, | 
				
			||||
 | 
					                'invoice_user_id': self.env.user.id, | 
				
			||||
 | 
					                'invoice_origin': self.name, | 
				
			||||
 | 
					                'invoice_line_ids': lines}).id, | 
				
			||||
 | 
					            'res_model': 'account.move', | 
				
			||||
 | 
					        } | 
				
			||||
 | 
					        self.inv_stage_identifier = True | 
				
			||||
 | 
					        self.stage_id = 3 | 
				
			||||
 | 
					        invoiced_records = self.env['salon.order'].search( | 
				
			||||
 | 
					            [('stage_id', 'in', [3, 4]), ('chair_id', '=', self.chair_id.id)]) | 
				
			||||
 | 
					        total = 0 | 
				
			||||
 | 
					        for rows in invoiced_records: | 
				
			||||
 | 
					            invoiced_date = str(rows.date) | 
				
			||||
 | 
					            invoiced_date = invoiced_date[0:10] | 
				
			||||
 | 
					            if invoiced_date == str(date.today()): | 
				
			||||
 | 
					                total = total + rows.price_subtotal | 
				
			||||
 | 
					        self.chair_id.collection_today = total | 
				
			||||
 | 
					        self.update_number_of_orders() | 
				
			||||
 | 
					        return result | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    def unlink(self): | 
				
			||||
 | 
					        """ Unlink/delete salon order """ | 
				
			||||
 | 
					        for order in self: | 
				
			||||
 | 
					            if order.stage_id.id == 3 or order.stage_id.id == 4: | 
				
			||||
 | 
					                raise UserError(_("You can't delete an invoiced salon order!")) | 
				
			||||
 | 
					        return super(SalonOrder, self).unlink() | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    def update_number_of_orders(self): | 
				
			||||
 | 
					        """ Function to update the number of active orders for the chair.""" | 
				
			||||
 | 
					        self.chair_id.number_of_orders = len(self.env['salon.order'].search([ | 
				
			||||
 | 
					        ]).filtered(lambda order: order.chair_id.id == self.chair_id.id | 
				
			||||
 | 
					                    and order.stage_id in [2, 3])) | 
				
			||||
@ -0,0 +1,59 @@ | 
				
			|||||
 | 
					# -*- coding: utf-8 -*- | 
				
			||||
 | 
					################################################################################ | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    Cybrosys Technologies Pvt. Ltd. | 
				
			||||
 | 
					#    Copyright (C) 2025-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). | 
				
			||||
 | 
					#    Author: Abbas P (odoo@cybrosys.com) | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    This program is free software: you can modify | 
				
			||||
 | 
					#    it under the terms of the GNU Affero General Public License (AGPL) as | 
				
			||||
 | 
					#    published by the Free Software Foundation, either version 3 of the | 
				
			||||
 | 
					#    License, or (at your option) any later version. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    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 for more details. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    You should have received a copy of the GNU Affero General Public License | 
				
			||||
 | 
					#    along with this program.  If not, see <https://www.gnu.org/licenses/>. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					################################################################################ | 
				
			||||
 | 
					from odoo import api, fields, models | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					class SalonOrderLine(models.Model): | 
				
			||||
 | 
					    """Creates salon_order_line model to store salon orders""" | 
				
			||||
 | 
					    _name = 'salon.order.line' | 
				
			||||
 | 
					    _description = 'Salon Order Lines' | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    service_id = fields.Many2one('salon.service', string="Service", | 
				
			||||
 | 
					                                 help="Select salon services") | 
				
			||||
 | 
					    currency_id = fields.Many2one( | 
				
			||||
 | 
					        'res.currency', string='Currency', required=True, | 
				
			||||
 | 
					        default=lambda self: self.env.user.company_id.currency_id.id, | 
				
			||||
 | 
					        help="Default currency") | 
				
			||||
 | 
					    price = fields.Monetary(string="Price", help="Price of service") | 
				
			||||
 | 
					    salon_order_id = fields.Many2one( | 
				
			||||
 | 
					        'salon.order', string="Salon Order", required=True, ondelete='cascade', | 
				
			||||
 | 
					        index=True, copy=False, help="select Salon order") | 
				
			||||
 | 
					    price_subtotal = fields.Monetary(string='Subtotal', help="Total price") | 
				
			||||
 | 
					    time_taken = fields.Float(string='Time Taken', help="Time taken for " | 
				
			||||
 | 
					                                                        "service") | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    @api.onchange('service_id') | 
				
			||||
 | 
					    def _onchange_service_id(self): | 
				
			||||
 | 
					        """Onchange function of service_id field""" | 
				
			||||
 | 
					        self.price = self.service_id.price | 
				
			||||
 | 
					        self.price_subtotal = self.service_id.price | 
				
			||||
 | 
					        self.time_taken = self.service_id.time_taken | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    @api.onchange('price') | 
				
			||||
 | 
					    def _onchange_price(self): | 
				
			||||
 | 
					        """Onchange function of price field""" | 
				
			||||
 | 
					        self.price_subtotal = self.price | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    @api.onchange('price_subtotal') | 
				
			||||
 | 
					    def _onchange_price_subtotal(self): | 
				
			||||
 | 
					        """Onchange function of price_subtotal field""" | 
				
			||||
 | 
					        self.price = self.price_subtotal | 
				
			||||
@ -0,0 +1,39 @@ | 
				
			|||||
 | 
					# -*- coding: utf-8 -*- | 
				
			||||
 | 
					################################################################################ | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    Cybrosys Technologies Pvt. Ltd. | 
				
			||||
 | 
					#    Copyright (C) 2025-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). | 
				
			||||
 | 
					#    Author: Abbas P (odoo@cybrosys.com) | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    This program is free software: you can modify | 
				
			||||
 | 
					#    it under the terms of the GNU Affero General Public License (AGPL) as | 
				
			||||
 | 
					#    published by the Free Software Foundation, either version 3 of the | 
				
			||||
 | 
					#    License, or (at your option) any later version. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    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 for more details. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    You should have received a copy of the GNU Affero General Public License | 
				
			||||
 | 
					#    along with this program.  If not, see <https://www.gnu.org/licenses/>. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					################################################################################ | 
				
			||||
 | 
					from odoo import fields, models | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					class SalonService(models.Model): | 
				
			||||
 | 
					    """Creates 'salon.service' to store salon services""" | 
				
			||||
 | 
					    _name = 'salon.service' | 
				
			||||
 | 
					    _description = 'Salon Service' | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    name = fields.Char(string="Name", required=True, help="Name of service") | 
				
			||||
 | 
					    currency_id = fields.Many2one(comodel_name='res.currency', | 
				
			||||
 | 
					                                  string='Currency', required=True, | 
				
			||||
 | 
					                                  default=lambda self: self.env | 
				
			||||
 | 
					                                  .user.company_id.currency_id.id, | 
				
			||||
 | 
					                                  help="Currency for the service") | 
				
			||||
 | 
					    price = fields.Monetary(string="Price", help="Amount for the service", | 
				
			||||
 | 
					                            required=True) | 
				
			||||
 | 
					    time_taken = fields.Float(string="Time", help="Approximate time required " | 
				
			||||
 | 
					                                                  "for this service in Hours") | 
				
			||||
@ -0,0 +1,34 @@ | 
				
			|||||
 | 
					# -*- coding: utf-8 -*- | 
				
			||||
 | 
					################################################################################ | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    Cybrosys Technologies Pvt. Ltd. | 
				
			||||
 | 
					#    Copyright (C) 2025-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). | 
				
			||||
 | 
					#    Author: Abbas P (odoo@cybrosys.com) | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    This program is free software: you can modify | 
				
			||||
 | 
					#    it under the terms of the GNU Affero General Public License (AGPL) as | 
				
			||||
 | 
					#    published by the Free Software Foundation, either version 3 of the | 
				
			||||
 | 
					#    License, or (at your option) any later version. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    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 for more details. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    You should have received a copy of the GNU Affero General Public License | 
				
			||||
 | 
					#    along with this program.  If not, see <https://www.gnu.org/licenses/>. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					################################################################################ | 
				
			||||
 | 
					from odoo import fields, models | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					class SalonStage(models.Model): | 
				
			||||
 | 
					    """Creates 'salon_stage' to creates new stages dynamically""" | 
				
			||||
 | 
					    _name = 'salon.stage' | 
				
			||||
 | 
					    _order = 'sequence' | 
				
			||||
 | 
					    _description = 'Salon Stage' | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    name = fields.Char(string="Name", required=True, translate=True, | 
				
			||||
 | 
					                       help="Name of the stages") | 
				
			||||
 | 
					    sequence = fields.Integer('Sequence', default=1, | 
				
			||||
 | 
					                              help="Used to order stages. Lower is first.") | 
				
			||||
@ -0,0 +1,33 @@ | 
				
			|||||
 | 
					# -*- coding: utf-8 -*- | 
				
			||||
 | 
					################################################################################ | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    Cybrosys Technologies Pvt. Ltd. | 
				
			||||
 | 
					#    Copyright (C) 2025-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). | 
				
			||||
 | 
					#    Author: Abbas P (odoo@cybrosys.com) | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    This program is free software: you can modify | 
				
			||||
 | 
					#    it under the terms of the GNU Affero General Public License (AGPL) as | 
				
			||||
 | 
					#    published by the Free Software Foundation, either version 3 of the | 
				
			||||
 | 
					#    License, or (at your option) any later version. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    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 for more details. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    You should have received a copy of the GNU Affero General Public License | 
				
			||||
 | 
					#    along with this program.  If not, see <https://www.gnu.org/licenses/>. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					################################################################################ | 
				
			||||
 | 
					from odoo import fields, models | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					class SalonWorkingHours(models.Model): | 
				
			||||
 | 
					    """'Salon working hours' to store working hours of salon""" | 
				
			||||
 | 
					    _name = 'salon.working.hours' | 
				
			||||
 | 
					    _description = 'Salon Working Hours' | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    name = fields.Char(string="Name", help="Name of working hours", required=True) | 
				
			||||
 | 
					    from_time = fields.Float(string="Starting Time", help="Starting time of " | 
				
			||||
 | 
					                                                          "salon") | 
				
			||||
 | 
					    to_time = fields.Float(string="Closing Time", help="Salon work ending time") | 
				
			||||
		
		
			
  | 
@ -0,0 +1,24 @@ | 
				
			|||||
 | 
					<?xml version="1.0" encoding="utf-8"?> | 
				
			||||
 | 
					<odoo> | 
				
			||||
 | 
					    <data> | 
				
			||||
 | 
					        <!--  Salon management module category--> | 
				
			||||
 | 
					        <record id="module_category_salon_management" model="ir.module.category"> | 
				
			||||
 | 
					            <field name="name">Salon Management</field> | 
				
			||||
 | 
					            <field name="description">Helps you handle your salon needs</field> | 
				
			||||
 | 
					            <field name="sequence">5</field> | 
				
			||||
 | 
					        </record> | 
				
			||||
 | 
					        <!-- Salon user group--> | 
				
			||||
 | 
					        <record id="group_salon_user" model="res.groups"> | 
				
			||||
 | 
					            <field name="name">Chair User</field> | 
				
			||||
 | 
					            <field name="category_id" ref="salon_management.module_category_salon_management" /> | 
				
			||||
 | 
					            <field name="implied_ids" eval="[(4, ref('base.group_user'))]" /> | 
				
			||||
 | 
					        </record> | 
				
			||||
 | 
					        <!-- Salon manager group--> | 
				
			||||
 | 
					        <record id="group_salon_manager" model="res.groups"> | 
				
			||||
 | 
					            <field name="name">Salon Manager</field> | 
				
			||||
 | 
					            <field name="category_id" ref="salon_management.module_category_salon_management" /> | 
				
			||||
 | 
					            <field name="implied_ids" eval="[(4, ref('group_salon_user'))]" /> | 
				
			||||
 | 
					            <field name="users" eval="[(4, ref('base.user_root')), (4, ref('base.user_admin'))]" /> | 
				
			||||
 | 
					        </record> | 
				
			||||
 | 
					    </data> | 
				
			||||
 | 
					</odoo> | 
				
			||||
| 
		 After Width: | Height: | Size: 36 KiB  | 
| 
		 After Width: | Height: | Size: 3.6 KiB  | 
| 
		 After Width: | Height: | Size: 310 B  | 
| 
		 After Width: | Height: | Size: 1.3 KiB  | 
| 
		 After Width: | Height: | Size: 1.4 KiB  | 
| 
		 After Width: | Height: | Size: 576 B  | 
| 
		 After Width: | Height: | Size: 733 B  | 
| 
		 After Width: | Height: | Size: 911 B  | 
| 
		 After Width: | Height: | Size: 1.1 KiB  | 
| 
		 After Width: | Height: | Size: 1.1 KiB  | 
| 
		 After Width: | Height: | Size: 1.2 KiB  | 
| 
		 After Width: | Height: | Size: 673 B  | 
| 
		 After Width: | Height: | Size: 11 KiB  | 
| 
		 After Width: | Height: | Size: 878 B  | 
| 
		 After Width: | Height: | Size: 653 B  | 
| 
		 After Width: | Height: | Size: 905 B  | 
| 
		 After Width: | Height: | Size: 839 B  | 
| 
		 After Width: | Height: | Size: 427 B  | 
| 
		 After Width: | Height: | Size: 627 B  | 
| 
		 After Width: | Height: | Size: 1.2 KiB  | 
| 
		 After Width: | Height: | Size: 988 B  | 
| 
		 After Width: | Height: | Size: 1.2 KiB  | 
| 
		 After Width: | Height: | Size: 80 KiB  | 
| 
		 After Width: | Height: | Size: 3.2 KiB  | 
| 
		 After Width: | Height: | Size: 565 B  | 
| 
		 After Width: | Height: | Size: 26 KiB  | 
| 
		 After Width: | Height: | Size: 43 KiB  | 
| 
		 After Width: | Height: | Size: 1.4 KiB  | 
| 
		 After Width: | Height: | Size: 4.0 KiB  | 
| 
		 After Width: | Height: | Size: 38 KiB  | 
| 
		 After Width: | Height: | Size: 4.3 KiB  | 
| 
		 After Width: | Height: | Size: 72 KiB  | 
| 
		 After Width: | Height: | Size: 82 KiB  | 
| 
		 After Width: | Height: | Size: 20 KiB  | 
| 
		 After Width: | Height: | Size: 86 KiB  | 
| 
		 After Width: | Height: | Size: 68 KiB  | 
| 
		 After Width: | Height: | Size: 87 KiB  | 
| 
		 After Width: | Height: | Size: 171 KiB  | 
| 
		 After Width: | Height: | Size: 110 KiB  | 
| 
		 After Width: | Height: | Size: 131 KiB  | 
| 
		 After Width: | Height: | Size: 99 KiB  | 
| 
		 After Width: | Height: | Size: 78 KiB  | 
| 
		 After Width: | Height: | Size: 68 KiB  | 
| 
		 After Width: | Height: | Size: 81 KiB  | 
| 
		 After Width: | Height: | Size: 86 KiB  | 
| 
		 After Width: | Height: | Size: 136 KiB  | 
| 
		 After Width: | Height: | Size: 65 KiB  | 
| 
		 After Width: | Height: | Size: 101 KiB  | 
| 
		 After Width: | Height: | Size: 87 KiB  | 
| 
		 After Width: | Height: | Size: 128 KiB  | 
| 
		 After Width: | Height: | Size: 784 KiB  | 
| 
		 After Width: | Height: | Size: 54 KiB  | 
@ -0,0 +1,920 @@ | 
				
			|||||
 | 
					<!DOCTYPE html> | 
				
			||||
 | 
					<html lang="en"> | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					<head> | 
				
			||||
 | 
					    <meta charset="UTF-8"> | 
				
			||||
 | 
					    <meta name="viewport" content="width=device-width, initial-scale=1.0"> | 
				
			||||
 | 
					    <title>Odoo App 3 Index</title> | 
				
			||||
 | 
					    <!-- Bootstrap CSS --> | 
				
			||||
 | 
					    <link rel="stylesheet" | 
				
			||||
 | 
					          href="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/css/bootstrap.min.css" | 
				
			||||
 | 
					          integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" | 
				
			||||
 | 
					          crossorigin="anonymous"> | 
				
			||||
 | 
					    <link rel="stylesheet" | 
				
			||||
 | 
					          href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css"> | 
				
			||||
 | 
					    <link rel="preconnect" href="https://fonts.googleapis.com"> | 
				
			||||
 | 
					    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | 
				
			||||
 | 
					    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" | 
				
			||||
 | 
					          rel="stylesheet"> | 
				
			||||
 | 
					</head> | 
				
			||||
 | 
					<body> | 
				
			||||
 | 
					<section> | 
				
			||||
 | 
					    <div class="container" | 
				
			||||
 | 
					         style="font-family: 'Inter', sans-serif !important;background-color: #fff !important;"> | 
				
			||||
 | 
					        <div class="row"> | 
				
			||||
 | 
					            <div class="col-sm-12 col-md-12 col-lg-12 d-flex justify-content-between flex-wrap align-items-sm-center" | 
				
			||||
 | 
					                 style="border-bottom:1px solid rgba(0, 0, 0, 0.22)"> | 
				
			||||
 | 
					                <div class="my-3"> | 
				
			||||
 | 
					                    <img src="assets/misc/Cybrosys R.png" | 
				
			||||
 | 
					                         style="width:auto !important; height:40px !important"> | 
				
			||||
 | 
					                </div> | 
				
			||||
 | 
					                <div class="my-3 d-flex align-items-center"> | 
				
			||||
 | 
					                    <div class="text-center" | 
				
			||||
 | 
					                         style="background-color:#7c7bad !important;font-size: 0.8rem !important; color:#fff !important; font-weight:500 !important; padding:4px !important; margin:0 3px !important; border-radius:50px !important; min-width: 120px !important;"> | 
				
			||||
 | 
					                        Community | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                    <div class="text-center" | 
				
			||||
 | 
					                         style="background-color:#875A7B !important; color:#fff !important;font-size: 0.8rem !important; font-weight:500 !important; padding:4px !important; margin:0 3px !important; border-radius:50px !important;min-width: 120px !important;"> | 
				
			||||
 | 
					                        Enterprise | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                    <div class="text-center" | 
				
			||||
 | 
					                         style="background-color:#017E84 !important; color:#fff !important;font-size: 0.8rem !important; font-weight:500 !important; padding:4px !important; margin:0 3px !important; border-radius:50px !important;min-width: 120px !important;"> | 
				
			||||
 | 
					                        Odoo.sh | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                </div> | 
				
			||||
 | 
					            </div> | 
				
			||||
 | 
					        </div> | 
				
			||||
 | 
					        <div class="row"> | 
				
			||||
 | 
					            <div class="col-sm-12 col-md-12 col-lg-12 text-center d-flex align-items-center flex-column" | 
				
			||||
 | 
					                 style="margin: 80px 0px !important;"> | 
				
			||||
 | 
					                <h1 style="font-size: 2.8rem;font-weight: 700; color: | 
				
			||||
 | 
					                    #1A202C;">Beauty Spa Management</h1> | 
				
			||||
 | 
					                <p style="color:#1A202C; padding: 8px 15px; text-align: center; font-size: 24px;">Beauty Parlour Management with Online Booking System</p> | 
				
			||||
 | 
					                <div style="width: 80%; margin-top: 3rem;"> | 
				
			||||
 | 
					                    <img src="assets/screenshots/hero.gif" | 
				
			||||
 | 
					                         class="img-responsive" width="100%" height="auto"> | 
				
			||||
 | 
					                </div> | 
				
			||||
 | 
					            </div> | 
				
			||||
 | 
					        </div> | 
				
			||||
 | 
					        <div class="container mt-5 mb-5"> | 
				
			||||
 | 
					            <div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-4"> | 
				
			||||
 | 
					                <p class="m-0" | 
				
			||||
 | 
					                   style="font-weight: 600; font-size: 24px; color:#714b67 !important"> | 
				
			||||
 | 
					                    Key Highlights | 
				
			||||
 | 
					                </p> | 
				
			||||
 | 
					            </div> | 
				
			||||
 | 
					            <div class="row py-4"> | 
				
			||||
 | 
					                <div class="col-md-6 col-sm-12 p-3"> | 
				
			||||
 | 
					                    <div class="d-flex   h-100" style="padding: 30px;border-radius: 12px; | 
				
			||||
 | 
					                                    background: #FFF; | 
				
			||||
 | 
					                                    box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); "> | 
				
			||||
 | 
					                        <div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67; | 
				
			||||
 | 
					                                    display: flex; justify-content: center; align-items: center; | 
				
			||||
 | 
					                                    margin-right: 10px; flex-shrink: 0;"> | 
				
			||||
 | 
					                            <i class="fa-solid fa-star  " | 
				
			||||
 | 
					                               style="color: #fff;font-size:14px;"></i> | 
				
			||||
 | 
					                        </div> | 
				
			||||
 | 
					                        <div> | 
				
			||||
 | 
					                            <p style="color: #1A202C;font-weight: 600; | 
				
			||||
 | 
					                                      font-size: 1.2rem; margin-bottom: 2px;">Online booking facility</p> | 
				
			||||
 | 
					                            <p class="m-0" style="color:#718096">Customers can book the services from the website. | 
				
			||||
 | 
					                            </p> | 
				
			||||
 | 
					                        </div> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                </div> | 
				
			||||
 | 
					                <div class="col-md-6 col-sm-12 p-3"> | 
				
			||||
 | 
					                    <div class="d-flex   h-100" style="padding: 30px;border-radius: 12px; | 
				
			||||
 | 
					                                    background: #FFF; | 
				
			||||
 | 
					                                    box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); "> | 
				
			||||
 | 
					                        <div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67; | 
				
			||||
 | 
					                                    display: flex; justify-content: center; align-items: center; | 
				
			||||
 | 
					                                    margin-right: 10px; flex-shrink: 0;"> | 
				
			||||
 | 
					                            <i class="fa-solid fa-star  " | 
				
			||||
 | 
					                               style="color: #fff;font-size:14px;"></i> | 
				
			||||
 | 
					                        </div> | 
				
			||||
 | 
					                        <div> | 
				
			||||
 | 
					                            <p style="color: #1A202C;font-weight: 600; | 
				
			||||
 | 
					                                      font-size: 1.2rem; margin-bottom: 2px;"> | 
				
			||||
 | 
					                                Accounting facility</p> | 
				
			||||
 | 
					                            <p class="m-0" style="color:#718096">Manage the | 
				
			||||
 | 
					                                invoices for beauty spa or salon orders. | 
				
			||||
 | 
					                            </p> | 
				
			||||
 | 
					                        </div> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                </div> | 
				
			||||
 | 
					                <div class="col-md-6 col-sm-12 p-3"> | 
				
			||||
 | 
					                    <div class="d-flex   h-100" style="padding: 30px;border-radius: 12px; | 
				
			||||
 | 
					                                    background: #FFF; | 
				
			||||
 | 
					                                    box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); "> | 
				
			||||
 | 
					                        <div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67; | 
				
			||||
 | 
					                                    display: flex; justify-content: center; align-items: center; | 
				
			||||
 | 
					                                    margin-right: 10px; flex-shrink: 0;"> | 
				
			||||
 | 
					                            <i class="fa-solid fa-star  " | 
				
			||||
 | 
					                               style="color: #fff;font-size:14px;"></i> | 
				
			||||
 | 
					                        </div> | 
				
			||||
 | 
					                        <div> | 
				
			||||
 | 
					                            <p style="color: #1A202C;font-weight: 600; | 
				
			||||
 | 
					                                      font-size: 1.2rem; margin-bottom: 2px;"> | 
				
			||||
 | 
					                                Customer notification via email | 
				
			||||
 | 
					                            <p class="m-0" style="color:#718096">Notify customer on approval or rejection of booking. | 
				
			||||
 | 
					                            </p> | 
				
			||||
 | 
					                        </div> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                </div> | 
				
			||||
 | 
					                <div class="col-md-6 col-sm-12 p-3"> | 
				
			||||
 | 
					                    <div class="d-flex   h-100" style="padding: 30px;border-radius: 12px; | 
				
			||||
 | 
					                                    background: #FFF; | 
				
			||||
 | 
					                                    box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); "> | 
				
			||||
 | 
					                        <div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67; | 
				
			||||
 | 
					                                    display: flex; justify-content: center; align-items: center; | 
				
			||||
 | 
					                                    margin-right: 10px; flex-shrink: 0; "> | 
				
			||||
 | 
					                            <i class="fa-solid fa-star" | 
				
			||||
 | 
					                               style="color: #fff;font-size:14px;"></i> | 
				
			||||
 | 
					                        </div> | 
				
			||||
 | 
					                        <div> | 
				
			||||
 | 
					                            <p style="color: #1A202C;font-weight: 600; | 
				
			||||
 | 
					                                      font-size: 1.2rem; margin-bottom: 2px;"> | 
				
			||||
 | 
					                                User interactive dashboard</p> | 
				
			||||
 | 
					                            <p class="m-0" style="color:#718096">Attractive, | 
				
			||||
 | 
					                                informative and interactive dashboard. | 
				
			||||
 | 
					                            </p> | 
				
			||||
 | 
					                        </div> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                </div> | 
				
			||||
 | 
					                <div class="col-md-6 col-sm-12 p-3"> | 
				
			||||
 | 
					                    <div class="d-flex   h-100" style="padding: 30px;border-radius: 12px; | 
				
			||||
 | 
					                                    background: #FFF; | 
				
			||||
 | 
					                                    box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); "> | 
				
			||||
 | 
					                        <div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67; | 
				
			||||
 | 
					                                    display: flex; justify-content: center; align-items: center; | 
				
			||||
 | 
					                                    margin-right: 10px; flex-shrink: 0; "> | 
				
			||||
 | 
					                            <i class="fa-solid fa-star" | 
				
			||||
 | 
					                               style="color: #fff;font-size:14px;"></i> | 
				
			||||
 | 
					                        </div> | 
				
			||||
 | 
					                        <div> | 
				
			||||
 | 
					                            <p style="color: #1A202C;font-weight: 600; | 
				
			||||
 | 
					                                      font-size: 1.2rem; margin-bottom: 2px;"> | 
				
			||||
 | 
					                                Customer can view the available chairs and order details</p> | 
				
			||||
 | 
					                            <p class="m-0" style="color:#718096">Customer can view the available | 
				
			||||
 | 
					                                chairs and the details of confirmed orders for each chair by date. | 
				
			||||
 | 
					                            </p> | 
				
			||||
 | 
					                        </div> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                </div> | 
				
			||||
 | 
					                <div class="col-md-6 col-sm-12 p-3"> | 
				
			||||
 | 
					                    <div class="d-flex   h-100" style="padding: 30px;border-radius: 12px; | 
				
			||||
 | 
					                                    background: #FFF; | 
				
			||||
 | 
					                                    box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); "> | 
				
			||||
 | 
					                        <div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67; | 
				
			||||
 | 
					                                    display: flex; justify-content: center; align-items: center; | 
				
			||||
 | 
					                                    margin-right: 10px; flex-shrink: 0; "> | 
				
			||||
 | 
					                            <i class="fa-solid fa-star" | 
				
			||||
 | 
					                               style="color: #fff;font-size:14px;"></i> | 
				
			||||
 | 
					                        </div> | 
				
			||||
 | 
					                        <div> | 
				
			||||
 | 
					                            <p style="color: #1A202C;font-weight: 600; | 
				
			||||
 | 
					                                      font-size: 1.2rem; margin-bottom: 2px;"> | 
				
			||||
 | 
					                                Track the chair user by date</p> | 
				
			||||
 | 
					                            <p class="m-0" style="color:#718096">The history of chair user is available. | 
				
			||||
 | 
					                            </p> | 
				
			||||
 | 
					                        </div> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                </div> | 
				
			||||
 | 
					                <div class="col-md-6 col-sm-12 p-3"> | 
				
			||||
 | 
					                    <div class="d-flex   h-100" style="padding: 30px;border-radius: 12px; | 
				
			||||
 | 
					                                    background: #FFF; | 
				
			||||
 | 
					                                    box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); "> | 
				
			||||
 | 
					                        <div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67; | 
				
			||||
 | 
					                                    display: flex; justify-content: center; align-items: center; | 
				
			||||
 | 
					                                    margin-right: 10px; flex-shrink: 0; "> | 
				
			||||
 | 
					                            <i class="fa-solid fa-star" | 
				
			||||
 | 
					                               style="color: #fff;font-size:14px;"></i> | 
				
			||||
 | 
					                        </div> | 
				
			||||
 | 
					                        <div> | 
				
			||||
 | 
					                            <p style="color: #1A202C;font-weight: 600; | 
				
			||||
 | 
					                                      font-size: 1.2rem; margin-bottom: 2px;"> | 
				
			||||
 | 
					                                Different access levels for users and manager</p> | 
				
			||||
 | 
					                        </div> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                </div> | 
				
			||||
 | 
					            </div> | 
				
			||||
 | 
					        </div> | 
				
			||||
 | 
					        <div class="container rounded"> | 
				
			||||
 | 
					            <ul class="nav nav-tabs d-flex" | 
				
			||||
 | 
					                style="width: fit-content;margin: 0 auto;gap: 1rem;"> | 
				
			||||
 | 
					                <li class="col text-center py-2 text-nowrap " | 
				
			||||
 | 
					                    style="color: #fff; background-color: #714B67;border-radius: 6px 6px 0px 0px;"> | 
				
			||||
 | 
					                    <a | 
				
			||||
 | 
					                            class="active show" data-toggle="tab" href="#tab1" | 
				
			||||
 | 
					                            style="color: #fff;font-weight: 500; background-color: #714B67; text-decoration: none;"> | 
				
			||||
 | 
					                        <i class="fa-regular fa-image  pr-2" | 
				
			||||
 | 
					                           style="color: #fff;"></i> | 
				
			||||
 | 
					                        Screenshots</a></li> | 
				
			||||
 | 
					                <li class="col text-center py-2 text-nowrap " | 
				
			||||
 | 
					                    style="color: #fff; background-color: #714B67;border-radius: 6px 6px 0px 0px;"> | 
				
			||||
 | 
					                    <a | 
				
			||||
 | 
					                            data-toggle="tab" href="#tab2" | 
				
			||||
 | 
					                            style="color: #fff;font-weight: 500;  text-decoration: none;"><i | 
				
			||||
 | 
					                            class="fa-solid fa-star  pr-2" | 
				
			||||
 | 
					                            style="color: #fff;"></i>Features</a></li> | 
				
			||||
 | 
					                <li class="col text-center py-2 text-nowrap " | 
				
			||||
 | 
					                    style="color: #fff; background-color: #714B67;border-radius: 6px 6px 0px 0px;"> | 
				
			||||
 | 
					                    <a data-toggle="tab" href="#tab3" style="color: #fff;font-weight: 500; text-decoration: none; background-color: #714B67;"><i | 
				
			||||
 | 
					                            class="fa-solid fa-book-open  pr-2" | 
				
			||||
 | 
					                            style="color: #fff;"></i>Released Notes</a></li> | 
				
			||||
 | 
					            </ul> | 
				
			||||
 | 
					            <div class="tab-content" | 
				
			||||
 | 
					                 style="background-color: rgba(121, 113, 119, 0.04);"> | 
				
			||||
 | 
					                <div id="tab1" class="tab-pane fade in active show"> | 
				
			||||
 | 
					                    <div class="col-lg-12 py-2" | 
				
			||||
 | 
					                         style="padding: 1rem 4rem !important;"> | 
				
			||||
 | 
					                        <div style="border: 1px solid #d8d6d6; border-radius: 4px;  background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> | 
				
			||||
 | 
					                            <div class="px-3"> | 
				
			||||
 | 
					                                <h4 class="mt-2" | 
				
			||||
 | 
					                                    style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important">User Access Configuration: Select user as 'Salon Manager' or 'Chair User'.</h4> | 
				
			||||
 | 
					                                <p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;"></p> | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                            <div class="row justify-content-center p-3 w-100 m-0"> | 
				
			||||
 | 
					                                <img src="assets/screenshots/s_1.png" | 
				
			||||
 | 
					                                     class="img-responsive" width="100%" | 
				
			||||
 | 
					                                     height="auto"> | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                        </div> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                    <div class="col-lg-12 py-2" | 
				
			||||
 | 
					                         style="padding: 1rem 4rem !important;"> | 
				
			||||
 | 
					                        <div style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> | 
				
			||||
 | 
					                            <div class="px-3"> | 
				
			||||
 | 
					                                <h4 class="mt-2" | 
				
			||||
 | 
					                                    style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> | 
				
			||||
 | 
					                                    Dashboard</h4> | 
				
			||||
 | 
					                                      <p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">Dashboard view is shown in the below image. Your customer can book the service in two ways, | 
				
			||||
 | 
					                either via direct booking or online booking. The chairs with Black font color denote the ones | 
				
			||||
 | 
					                available for online booking and the White ones for direct booking. From the dashboard, | 
				
			||||
 | 
					                we will get all information about the chair, whether the particular chair is free or | 
				
			||||
 | 
					                is in currently use, number of orders on the chair on the day and collection of the day. | 
				
			||||
 | 
					                Also, one can see the active orders of that chair. If the user clicks on the chair, it will | 
				
			||||
 | 
					                directly navigate to the active orders of that chair. In case, if the user want to change | 
				
			||||
 | 
					                the settings of a chair, they can just click on the settings icon on the chair.</p> | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                            <div class="row justify-content-center p-3 w-100 m-0"> | 
				
			||||
 | 
					                                <img src="assets/screenshots/s1.png" | 
				
			||||
 | 
					                                     class="img-responsive" width="100%" | 
				
			||||
 | 
					                                     height="auto"> | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                        </div> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                    <div class="col-lg-12 py-2" | 
				
			||||
 | 
					                         style="padding: 1rem 4rem !important;"> | 
				
			||||
 | 
					                        <div style="border: 1px solid #d8d6d6; border-radius: 4px;  background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> | 
				
			||||
 | 
					                            <div class="px-3"> | 
				
			||||
 | 
					                                <h4 class="mt-2" | 
				
			||||
 | 
					                                    style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> | 
				
			||||
 | 
					                                    Chairs (Salon --> Chair)</h4> | 
				
			||||
 | 
					                                <p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">You can create new chairs and edit the details of each chair from here. You can | 
				
			||||
 | 
					                assign a user to the chair by adding a new user in the users tab available in | 
				
			||||
 | 
					                the form view of chair (Check the image shown  below). The user who has been | 
				
			||||
 | 
					                added last will be the current user of the chair. Using this  tab, you can track | 
				
			||||
 | 
					                which user is active on the Chair on a particular date or time.</p> | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                            <div class="row justify-content-center p-3 w-100 m-0"> | 
				
			||||
 | 
					                                <img src="assets/screenshots/s2.png" | 
				
			||||
 | 
					                                     class="img-responsive" width="100%" | 
				
			||||
 | 
					                                     height="auto"> | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                        </div> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                    <div class="col-lg-12 py-2" | 
				
			||||
 | 
					                         style="padding: 1rem 4rem !important;"> | 
				
			||||
 | 
					                        <div style="border: 1px solid #d8d6d6; border-radius: 4px;  background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> | 
				
			||||
 | 
					                            <div class="px-3"> | 
				
			||||
 | 
					                                <h4 class="mt-2" | 
				
			||||
 | 
					                                    style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important">Services ( Salon --> Services)</h4> | 
				
			||||
 | 
					                                <p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">Services provided by the Spa will be listed here. You can create new services and set the | 
				
			||||
 | 
					                price and the required time to complete the services in Hours.</p> | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                            <div class="row justify-content-center p-3 w-100 m-0"> | 
				
			||||
 | 
					                                <img src="assets/screenshots/s3.png" | 
				
			||||
 | 
					                                     class="img-responsive" width="100%" | 
				
			||||
 | 
					                                     height="auto"> | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                        </div> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                    <div class="col-lg-12 py-2" | 
				
			||||
 | 
					                         style="padding: 1rem 4rem !important;"> | 
				
			||||
 | 
					                        <div style="border: 1px solid #d8d6d6; border-radius: 4px;  background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> | 
				
			||||
 | 
					                            <div class="px-3"> | 
				
			||||
 | 
					                                <h4 class="mt-2" | 
				
			||||
 | 
					                                    style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important">Working Hours (Configuration --> Working Hours)</h4> | 
				
			||||
 | 
					                                <p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">Set the working hours here. The working hours will be available to the customers on the website, | 
				
			||||
 | 
					                which will be helpful for them to book the services within the working hours.</p> | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                            <div class="row justify-content-center p-3 w-100 m-0"> | 
				
			||||
 | 
					                                <img src="assets/screenshots/s4.png" | 
				
			||||
 | 
					                                     class="img-responsive" width="100%" | 
				
			||||
 | 
					                                     height="auto"> | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                        </div> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                    <div class="col-lg-12 py-2" | 
				
			||||
 | 
					                         style="padding: 1rem 4rem !important;"> | 
				
			||||
 | 
					                        <div | 
				
			||||
 | 
					                                style="border: 1px solid #d8d6d6; border-radius: 4px;  background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> | 
				
			||||
 | 
					                            <div class="px-3"> | 
				
			||||
 | 
					                                <h4 class="mt-2" | 
				
			||||
 | 
					                                    style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important">Settings (Configuration --> Settings)</h4> | 
				
			||||
 | 
					                                <p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">You can assign the chairs for online booking. Only the assigned chairs will be available to the | 
				
			||||
 | 
					                customers on the website. Also, you can set the holidays from here.</p> | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                            <div class="row justify-content-center p-3 w-100 m-0"> | 
				
			||||
 | 
					                                <img src="assets/screenshots/s5.png" | 
				
			||||
 | 
					                                     class="img-responsive" width="100%" | 
				
			||||
 | 
					                                     height="auto"> | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                        </div> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                    <div class="col-lg-12 py-2" | 
				
			||||
 | 
					                         style="padding: 1rem 4rem !important;"> | 
				
			||||
 | 
					                        <div style="border: 1px solid #d8d6d6; border-radius: 4px;  background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> | 
				
			||||
 | 
					                            <div class="px-3"> | 
				
			||||
 | 
					                                <h4 class="mt-2" | 
				
			||||
 | 
					                                    style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> | 
				
			||||
 | 
					                                    Online Booking (Website --> Bookings)</h4> | 
				
			||||
 | 
					                                <p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">The customers can book the services from the website by providing their contact details, the | 
				
			||||
 | 
					                date and time for booking. The working hours will be displayed in a table, which will help the | 
				
			||||
 | 
					                customer to choose the right time.</p> | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                            <div class="row justify-content-center p-3 w-100 m-0"> | 
				
			||||
 | 
					                                <img src="assets/screenshots/s6.png" | 
				
			||||
 | 
					                                     class="img-responsive" width="100%" | 
				
			||||
 | 
					                                     height="auto"> | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                        </div> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                    <div class="col-lg-12 py-2" | 
				
			||||
 | 
					                         style="padding: 1rem 4rem !important;"> | 
				
			||||
 | 
					                        <div style="border: 1px solid #d8d6d6; border-radius: 4px;  background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> | 
				
			||||
 | 
					                            <div class="px-3"> | 
				
			||||
 | 
					                                <h4 class="mt-2" | 
				
			||||
 | 
					                                    style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> | 
				
			||||
 | 
					                                    Check the availability of chair (Website | 
				
			||||
 | 
					                                    --> Bookings)</h4> | 
				
			||||
 | 
					                                <p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">The customer can check the availability of chairs from the website. They can select a particular | 
				
			||||
 | 
					                date and see the chairs available for online booking and also the details of orders on each chair. | 
				
			||||
 | 
					                Customers can use this option to choose the right time for the service.</p> | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                            <div class="row justify-content-center p-3 w-100 m-0"> | 
				
			||||
 | 
					                                <img src="assets/screenshots/s7.png" | 
				
			||||
 | 
					                                     class="img-responsive" width="100%" | 
				
			||||
 | 
					                                     height="auto"> | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                        </div> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                    <div class="col-lg-12 py-2" | 
				
			||||
 | 
					                         style="padding: 1rem 4rem !important;"> | 
				
			||||
 | 
					                        <div style="border: 1px solid #d8d6d6; border-radius: 4px;  background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> | 
				
			||||
 | 
					                            <div class="px-3"> | 
				
			||||
 | 
					                                <h4 class="mt-2" | 
				
			||||
 | 
					                                    style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> | 
				
			||||
 | 
					                                    Bookings (Salon --> Bookings)</h4> | 
				
			||||
 | 
					                                <p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">You can see all the online bookings in a list view. You can either approve or reject a booking | 
				
			||||
 | 
					                from the form view. In both cases, a notification email will be sent to the customer. In the | 
				
			||||
 | 
					                current bookings tab inside the form view, you can see all the existing salon orders on the | 
				
			||||
 | 
					                corresponding date on that chair. After checking the time availability, you can decide whether | 
				
			||||
 | 
					                to approve or reject the booking. The approved bookings will be changed as salon orders.</p> | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                            <div class="row justify-content-center p-3 w-100 m-0"> | 
				
			||||
 | 
					                                <img src="assets/screenshots/s8.png" | 
				
			||||
 | 
					                                     class="img-responsive" width="100%" | 
				
			||||
 | 
					                                     height="auto"> | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                        </div> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                    <div class="col-lg-12 py-2" | 
				
			||||
 | 
					                         style="padding: 1rem 4rem !important;"> | 
				
			||||
 | 
					                        <div style="border: 1px solid #d8d6d6; border-radius: 4px;  background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> | 
				
			||||
 | 
					                            <div class="px-3"> | 
				
			||||
 | 
					                                <h4 class="mt-2" | 
				
			||||
 | 
					                                    style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> | 
				
			||||
 | 
					                                    Salon Orders ( Salon --> Salon Orders)</h4> | 
				
			||||
 | 
					                                <p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;"> | 
				
			||||
 | 
					                                    You can see all the salon orders in different stages in the kanban view. The salon order | 
				
			||||
 | 
					                for the chairs, which are not available for online booking, can be created from here. The | 
				
			||||
 | 
					                stages of the salon orders can be changed by dragging and dropping the salon orders in | 
				
			||||
 | 
					                different stages. The list view for the salon orders is also there. | 
				
			||||
 | 
					                                </p> | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                            <div class="row justify-content-center p-3 w-100 m-0"> | 
				
			||||
 | 
					                                <img src="assets/screenshots/s9.png" | 
				
			||||
 | 
					                                     class="img-responsive" width="100%" | 
				
			||||
 | 
					                                     height="auto"> | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                        </div> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                    <div class="col-lg-12 py-2" | 
				
			||||
 | 
					                         style="padding: 1rem 4rem !important;"> | 
				
			||||
 | 
					                        <div style="border: 1px solid #d8d6d6; border-radius: 4px;  background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> | 
				
			||||
 | 
					                            <div class="px-3"> | 
				
			||||
 | 
					                                <h4 class="mt-2" | 
				
			||||
 | 
					                                    style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important">Salon Order Form View</h4> | 
				
			||||
 | 
					                                <p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">Form view for the salon orders is shown in the image below. You can validate and confirm the | 
				
			||||
 | 
					                salon orders in the 'Draft' stage to move them to the 'Open' stage. The 'Open' stage is used | 
				
			||||
 | 
					                when you are working for the order. After finishing the service, create an invoice and then | 
				
			||||
 | 
					                move the stage from 'Invoiced' to 'Closed' using the close button. You will get the invoice | 
				
			||||
 | 
					                details of a salon order by clicking the Invoice button in the upper right side of the form view.</p> | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                            <div class="row justify-content-center p-3 w-100 m-0"> | 
				
			||||
 | 
					                                <img src="assets/screenshots/s10.png" | 
				
			||||
 | 
					                                     class="img-responsive" width="100%" | 
				
			||||
 | 
					                                     height="auto"> | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                        </div> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                </div> | 
				
			||||
 | 
					                <div id="tab2" class="tab-pane fade"> | 
				
			||||
 | 
					                    <div class="col-mg-12" style="padding: 1rem 4rem;"> | 
				
			||||
 | 
					                        <ul style="list-style: none; padding: 1rem 0;font-weight: 500;"> | 
				
			||||
 | 
					                            <li class="py-3" | 
				
			||||
 | 
					                                style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> | 
				
			||||
 | 
					                                    <span style="margin-right: 12px;"><img | 
				
			||||
 | 
					                                            src="assets/misc/star (1) 2.svg" | 
				
			||||
 | 
					                                            alt="" | 
				
			||||
 | 
					                                            width="16px"></span>Online booking facility | 
				
			||||
 | 
					                            </li> | 
				
			||||
 | 
					                            <li class="py-3" | 
				
			||||
 | 
					                                style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> | 
				
			||||
 | 
					                                    <span style="margin-right: 12px;"><img | 
				
			||||
 | 
					                                            src="assets/misc/star (1) 2.svg" | 
				
			||||
 | 
					                                            alt="" | 
				
			||||
 | 
					                                            width="16px"></span>Accounting facility | 
				
			||||
 | 
					                            </li> | 
				
			||||
 | 
					                            <li class="py-3" | 
				
			||||
 | 
					                                style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> | 
				
			||||
 | 
					                                    <span style="margin-right: 12px;"><img | 
				
			||||
 | 
					                                            src="assets/misc/star (1) 2.svg" | 
				
			||||
 | 
					                                            alt="" | 
				
			||||
 | 
					                                            width="16px"></span>User interactive dashboard | 
				
			||||
 | 
					                            </li> | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					                        </ul> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                </div> | 
				
			||||
 | 
					                <div id="tab3" class="tab-pane fade"> | 
				
			||||
 | 
					                    <div class="col-mg-12 active" style="padding: 1rem 4rem;"> | 
				
			||||
 | 
					                        <div class="py-3" | 
				
			||||
 | 
					                             style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> | 
				
			||||
 | 
					                            <div class="d-flex mb-3" | 
				
			||||
 | 
					                                 style="font-size: 0.8rem; font-weight: 500;"><span>Version | 
				
			||||
 | 
					                                        18.0.1.0.0</span><span | 
				
			||||
 | 
					                                    class="px-2">|</span><span | 
				
			||||
 | 
					                                    style="color: #714B67;font-weight: 600;">Released on:02 th Feb 2025</span> | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                            <p class="m-0" | 
				
			||||
 | 
					                               style=" color:#718096!important; font-size:1rem !important;line-height: 28px;"> | 
				
			||||
 | 
					                                Initial Commit for Beauty Spa Management</p> | 
				
			||||
 | 
					                        </div> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                </div> | 
				
			||||
 | 
					            </div> | 
				
			||||
 | 
					        </div> | 
				
			||||
 | 
					        <div class="container mt-5"> | 
				
			||||
 | 
					            <div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-5"> | 
				
			||||
 | 
					                <p class="m-0" | 
				
			||||
 | 
					                   style="font-weight: 600; font-size: 24px; color:#000 !important"> | 
				
			||||
 | 
					                    Related Products</p> | 
				
			||||
 | 
					            </div> | 
				
			||||
 | 
					        </div> | 
				
			||||
 | 
					        <div id="myCarousel" class="carousel slide py-3" data-ride="carousel"> | 
				
			||||
 | 
					            <div class="carousel-inner"> | 
				
			||||
 | 
					                <div class="carousel-item active"> | 
				
			||||
 | 
					                    <div class="row p-4"> | 
				
			||||
 | 
					                        <div class="col"> | 
				
			||||
 | 
					                            <div class="p-3"> | 
				
			||||
 | 
					                                <a href="https://apps.odoo.com/apps/modules/16.0/manufacturing_reports/" | 
				
			||||
 | 
					                                   style="color: #000; text-decoration: none;"> | 
				
			||||
 | 
					                                    <div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> | 
				
			||||
 | 
					                                        <div style="width: 300px; "> | 
				
			||||
 | 
					                                            <img src="assets/modules/1.png" | 
				
			||||
 | 
					                                                 alt="" width="100%" | 
				
			||||
 | 
					                                                 height="auto"> | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					                                        </div> | 
				
			||||
 | 
					                                        <p class="text-center pt-2 text-black font-weight-bold"> | 
				
			||||
 | 
					                                            Manufacturing Reports</p> | 
				
			||||
 | 
					                                    </div> | 
				
			||||
 | 
					                                </a> | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                        </div> | 
				
			||||
 | 
					                        <div class="col"> | 
				
			||||
 | 
					                            <div class="p-3"> | 
				
			||||
 | 
					                                <a href="https://apps.odoo.com/apps/modules/16.0/mrp_work_order_print/" | 
				
			||||
 | 
					                                   style="color: #000; text-decoration: none;"> | 
				
			||||
 | 
					                                    <div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> | 
				
			||||
 | 
					                                        <div style="width: 300px; "> | 
				
			||||
 | 
					                                            <img src="assets/modules/2.png" | 
				
			||||
 | 
					                                                 alt="" width="100%" | 
				
			||||
 | 
					                                                 height="auto"> | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					                                        </div> | 
				
			||||
 | 
					                                        <p class="text-center pt-2 text-black font-weight-bold"> | 
				
			||||
 | 
					                                            Print Work Order Details</p> | 
				
			||||
 | 
					                                    </div> | 
				
			||||
 | 
					                                </a> | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                        </div> | 
				
			||||
 | 
					                        <div class="col"> | 
				
			||||
 | 
					                            <div class="p-3"> | 
				
			||||
 | 
					                                <a href="https://apps.odoo.com/apps/modules/16.0/bom_total_cost/" | 
				
			||||
 | 
					                                   style="color: #000; text-decoration: none;"> | 
				
			||||
 | 
					                                    <div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> | 
				
			||||
 | 
					                                        <div style="width: 300px; "> | 
				
			||||
 | 
					                                            <img src="assets/modules/3.png" | 
				
			||||
 | 
					                                                 alt="" width="100%" | 
				
			||||
 | 
					                                                 height="auto"> | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					                                        </div> | 
				
			||||
 | 
					                                        <p class="text-center pt-2 text-black font-weight-bold"> | 
				
			||||
 | 
					                                            Show Total Cost On BOM</p> | 
				
			||||
 | 
					                                    </div> | 
				
			||||
 | 
					                                </a> | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                        </div> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                </div> | 
				
			||||
 | 
					                <div class="carousel-item"> | 
				
			||||
 | 
					                    <div class="row p-4"> | 
				
			||||
 | 
					                        <div class="col"> | 
				
			||||
 | 
					                            <div class="p-3"> | 
				
			||||
 | 
					                                <a href="https://apps.odoo.com/apps/modules/16.0/simple_mrp_order/" | 
				
			||||
 | 
					                                   style="color: #000; text-decoration: none;"> | 
				
			||||
 | 
					                                    <div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> | 
				
			||||
 | 
					                                        <div style="width: 300px; "> | 
				
			||||
 | 
					                                            <img src="assets/modules/4.png" | 
				
			||||
 | 
					                                                 alt="" width="100%" | 
				
			||||
 | 
					                                                 height="auto"> | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					                                        </div> | 
				
			||||
 | 
					                                        <p class="text-center pt-2 text-black font-weight-bold"> | 
				
			||||
 | 
					                                            Simple Manufacturing Orders</p> | 
				
			||||
 | 
					                                    </div> | 
				
			||||
 | 
					                                </a> | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                        </div> | 
				
			||||
 | 
					                        <div class="col"> | 
				
			||||
 | 
					                            <div class="p-3"> | 
				
			||||
 | 
					                                <a href="https://apps.odoo.com/apps/modules/16.0/bom_multiple_product/" | 
				
			||||
 | 
					                                   style="color: #000; text-decoration: none;"> | 
				
			||||
 | 
					                                    <div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> | 
				
			||||
 | 
					                                        <div style="width: 300px;"> | 
				
			||||
 | 
					                                            <img src="assets/modules/5.png" | 
				
			||||
 | 
					                                                 alt="" width="100%" | 
				
			||||
 | 
					                                                 height="auto"> | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					                                        </div> | 
				
			||||
 | 
					                                        <p class="text-center pt-2 text-black font-weight-bold"> | 
				
			||||
 | 
					                                            BOM Multiple Product Selection</p> | 
				
			||||
 | 
					                                    </div> | 
				
			||||
 | 
					                                </a> | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                        </div> | 
				
			||||
 | 
					                        <div class="col"> | 
				
			||||
 | 
					                            <div class="p-3"> | 
				
			||||
 | 
					                                <a href="https://apps.odoo.com/apps/modules/16.0/cw_mrp/" | 
				
			||||
 | 
					                                   style="color: #000; text-decoration: none;"> | 
				
			||||
 | 
					                                    <div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> | 
				
			||||
 | 
					                                        <div style="width: 300px;"> | 
				
			||||
 | 
					                                            <img src="assets/modules/6.png" | 
				
			||||
 | 
					                                                 alt="" width="100%" | 
				
			||||
 | 
					                                                 height="auto"> | 
				
			||||
 | 
					                                        </div> | 
				
			||||
 | 
					                                        <p class="text-center pt-2 text-black font-weight-bold"> | 
				
			||||
 | 
					                                            Catch Weight Management: | 
				
			||||
 | 
					                                            Manufacturing</p> | 
				
			||||
 | 
					                                    </div> | 
				
			||||
 | 
					                                </a> | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                        </div> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                </div> | 
				
			||||
 | 
					            </div> | 
				
			||||
 | 
					            <a class="carousel-control-prev" href="#myCarousel" | 
				
			||||
 | 
					               data-slide="prev" style="width: 35px; color: #000;"> | 
				
			||||
 | 
					                    <span class="carousel-control-prev-icon"> | 
				
			||||
 | 
					                        <i class="fa fa-chevron-left" | 
				
			||||
 | 
					                           style="font-size: 24px;"></i> | 
				
			||||
 | 
					                    </span> | 
				
			||||
 | 
					            </a> | 
				
			||||
 | 
					            <a class="carousel-control-next" href="#myCarousel" | 
				
			||||
 | 
					               data-slide="next" style="width: 35px; color: #000;"> | 
				
			||||
 | 
					                    <span class="carousel-control-next-icon"> | 
				
			||||
 | 
					                        <i class="fa fa-chevron-right" | 
				
			||||
 | 
					                           style="font-size: 24px;"></i> | 
				
			||||
 | 
					                    </span> | 
				
			||||
 | 
					            </a> | 
				
			||||
 | 
					        </div> | 
				
			||||
 | 
					        <div class="container mt-5"> | 
				
			||||
 | 
					            <div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-4"> | 
				
			||||
 | 
					                <p class="m-0" | 
				
			||||
 | 
					                   style="font-weight: 600; font-size: 24px; color:#000 !important"> | 
				
			||||
 | 
					                    Our Services</p> | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					            </div> | 
				
			||||
 | 
					        </div> | 
				
			||||
 | 
					        <div class="container my-5"> | 
				
			||||
 | 
					            <div class="row py-3"> | 
				
			||||
 | 
					                <div class="col-md-4 col-sm-6 px-4 py-4"> | 
				
			||||
 | 
					                    <div | 
				
			||||
 | 
					                            style="background-color: #fff; padding: 25px; text-align: center;  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;"> | 
				
			||||
 | 
					                        <div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> | 
				
			||||
 | 
					                            <div style="background-color:#13EA36 ; border-radius: 50%; padding: 15px;    width: 68px; | 
				
			||||
 | 
					                                    height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> | 
				
			||||
 | 
					                                <img src="assets/icons/cogs.png" | 
				
			||||
 | 
					                                     alt="service-icon" width="38px" | 
				
			||||
 | 
					                                     height="auto"> | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                        </div> | 
				
			||||
 | 
					                        <p style="margin-top: 20px; font-weight: bold;">Odoo | 
				
			||||
 | 
					                            Customization</p> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                </div> | 
				
			||||
 | 
					                <div class="col-md-4 col-sm-6 px-4 py-4"> | 
				
			||||
 | 
					                    <div | 
				
			||||
 | 
					                            style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;"> | 
				
			||||
 | 
					                        <div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> | 
				
			||||
 | 
					                            <div style="background-color:#DBC711; border-radius: 50%; padding: 15px;    width: 68px; | 
				
			||||
 | 
					                                    height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> | 
				
			||||
 | 
					                                <img src="assets/icons/wrench.png" | 
				
			||||
 | 
					                                     alt="service-icon" width="38px" | 
				
			||||
 | 
					                                     height="auto"> | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                        </div> | 
				
			||||
 | 
					                        <p style="margin-top: 20px; font-weight: bold;">Odoo | 
				
			||||
 | 
					                            Implementation</p> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                </div> | 
				
			||||
 | 
					                <div class="col-md-4 col-sm-6 px-4 py-4"> | 
				
			||||
 | 
					                    <div | 
				
			||||
 | 
					                            style="background-color: #fff; padding: 25px; text-align: center;  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative; border-radius: 4px;"> | 
				
			||||
 | 
					                        <div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> | 
				
			||||
 | 
					                            <div style="background-color:#FF6B6B ; border-radius: 50%; padding: 15px;    width: 68px; | 
				
			||||
 | 
					                                    height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> | 
				
			||||
 | 
					                                <img src="assets/icons/lifebuoy.png" | 
				
			||||
 | 
					                                     alt="service-icon" width="38px" | 
				
			||||
 | 
					                                     height="auto"> | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                        </div> | 
				
			||||
 | 
					                        <p style="margin-top: 20px; font-weight: bold;">Odoo | 
				
			||||
 | 
					                            Support</p> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                </div> | 
				
			||||
 | 
					                <div class="col-md-4 col-sm-6 px-4 py-4"> | 
				
			||||
 | 
					                    <div | 
				
			||||
 | 
					                            style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative; border-radius: 4px;"> | 
				
			||||
 | 
					                        <div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> | 
				
			||||
 | 
					                            <div style="background-color:#FFA801 ; border-radius: 50%; padding: 15px;    width: 68px; | 
				
			||||
 | 
					                                    height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> | 
				
			||||
 | 
					                                <img src="assets/icons/user.png" | 
				
			||||
 | 
					                                     alt="service-icon" width="38px" | 
				
			||||
 | 
					                                     height="auto"> | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                        </div> | 
				
			||||
 | 
					                        <p style="margin-top: 20px; font-weight: bold;">Hire | 
				
			||||
 | 
					                            Odoo Developer</p> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                </div> | 
				
			||||
 | 
					                <div class="col-md-4 col-sm-6 px-4 py-4"> | 
				
			||||
 | 
					                    <div | 
				
			||||
 | 
					                            style="background-color: #fff; padding: 25px; text-align: center;  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative; border-radius: 4px;"> | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					                        <div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> | 
				
			||||
 | 
					                            <div style="background-color:#54A0FF; border-radius: 50%; padding: 15px;    width: 68px; | 
				
			||||
 | 
					                                    height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> | 
				
			||||
 | 
					                                <img src="assets/icons/puzzle.png" | 
				
			||||
 | 
					                                     alt="service-icon" width="38px" | 
				
			||||
 | 
					                                     height="auto"> | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                        </div> | 
				
			||||
 | 
					                        <p style="margin-top: 20px; font-weight: bold;">Odoo | 
				
			||||
 | 
					                            Integration</p> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                </div> | 
				
			||||
 | 
					                <div class="col-md-4 col-sm-6 px-4 py-4"> | 
				
			||||
 | 
					                    <div | 
				
			||||
 | 
					                            style="background-color: #fff; padding: 25px; text-align: center;  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;"> | 
				
			||||
 | 
					                        <div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> | 
				
			||||
 | 
					                            <div style="background-color:#6D7680 ; border-radius: 50%; padding: 15px;    width: 68px; | 
				
			||||
 | 
					                                    height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> | 
				
			||||
 | 
					                                <img src="assets/icons/update.png" | 
				
			||||
 | 
					                                     alt="service-icon" width="38px" | 
				
			||||
 | 
					                                     height="auto"> | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                        </div> | 
				
			||||
 | 
					                        <p style="margin-top: 20px; font-weight: bold;">Odoo | 
				
			||||
 | 
					                            Migration</p> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                </div> | 
				
			||||
 | 
					                <div class="col-md-4 col-sm-6 px-4 py-4"> | 
				
			||||
 | 
					                    <div | 
				
			||||
 | 
					                            style="background-color: #fff; padding: 25px; text-align: center;  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;"> | 
				
			||||
 | 
					                        <div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> | 
				
			||||
 | 
					                            <div style="background-color:#786FA6 ; border-radius: 50%; padding: 15px;    width: 68px; | 
				
			||||
 | 
					                                    height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> | 
				
			||||
 | 
					                                <img src="assets/icons/consultation.png" | 
				
			||||
 | 
					                                     alt="service-icon" width="38px" | 
				
			||||
 | 
					                                     height="auto"> | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                        </div> | 
				
			||||
 | 
					                        <p style="margin-top: 20px; font-weight: bold;">Odoo | 
				
			||||
 | 
					                            Consultancy</p> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                </div> | 
				
			||||
 | 
					                <div class="col-md-4 col-sm-6 px-4 py-4"> | 
				
			||||
 | 
					                    <div | 
				
			||||
 | 
					                            style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;position: relative;border-radius: 4px;"> | 
				
			||||
 | 
					                        <div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> | 
				
			||||
 | 
					                            <div style="background-color:#F8A5C2 ; border-radius: 50%; padding: 15px;    width: 68px; | 
				
			||||
 | 
					                                    height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> | 
				
			||||
 | 
					                                <img src="assets/icons/training.png" | 
				
			||||
 | 
					                                     alt="service-icon" width="38px" | 
				
			||||
 | 
					                                     height="auto"> | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                        </div> | 
				
			||||
 | 
					                        <p style="margin-top: 20px; font-weight: bold;">Odoo | 
				
			||||
 | 
					                            Implementation</p> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                </div> | 
				
			||||
 | 
					                <div class="col-md-4 col-sm-6 px-4 py-4"> | 
				
			||||
 | 
					                    <div | 
				
			||||
 | 
					                            style="background-color: #fff; padding: 25px; text-align: center;  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;"> | 
				
			||||
 | 
					                        <div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> | 
				
			||||
 | 
					                            <div style="background-color:#E6BE26; border-radius: 50%; padding: 15px;    width: 68px; | 
				
			||||
 | 
					                                    height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> | 
				
			||||
 | 
					                                <img src="assets/icons/license.png" | 
				
			||||
 | 
					                                     alt="service-icon" width="38px" | 
				
			||||
 | 
					                                     height="auto"> | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                        </div> | 
				
			||||
 | 
					                        <p style="margin-top: 20px; font-weight: bold;">Odoo | 
				
			||||
 | 
					                            Licensing Consultancy</p> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                </div> | 
				
			||||
 | 
					            </div> | 
				
			||||
 | 
					        </div> | 
				
			||||
 | 
					        <div class="container mt-5"> | 
				
			||||
 | 
					            <div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-4"> | 
				
			||||
 | 
					                <p class="m-0" | 
				
			||||
 | 
					                   style="font-weight: 600; font-size: 24px; color:#000 !important"> | 
				
			||||
 | 
					                    Our Industries</p> | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					            </div> | 
				
			||||
 | 
					        </div> | 
				
			||||
 | 
					        <div class="container"> | 
				
			||||
 | 
					            <div class="row my-5 py-4"> | 
				
			||||
 | 
					                <div class="col-md-3 col-sm-6 p-0"> | 
				
			||||
 | 
					                    <div class="d-flex flex-column h-100 " | 
				
			||||
 | 
					                         style="border-right: 1px solid rgb(209, 209, 209); border-bottom: 1px solid  rgb(209, 209, 209); padding: 30px; box-shadow: 6px 0 10px rgba(228, 227, 227, 0.373);"> | 
				
			||||
 | 
					                        <img src="assets/icons/trading-black.png" width="42px" | 
				
			||||
 | 
					                             height="auto" alt=""> | 
				
			||||
 | 
					                        <p style="color: #714B67;font-weight: 600; margin-top: 10px; | 
				
			||||
 | 
					                           font-size: 1.2rem; margin-bottom: 2px;">Trading</p> | 
				
			||||
 | 
					                        <p>Easily procure and sell your products</p> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                </div> | 
				
			||||
 | 
					                <div class="col-md-3 col-sm-6  p-0"> | 
				
			||||
 | 
					                    <div class="d-flex flex-column h-100" | 
				
			||||
 | 
					                         style="border-right: 1px solid rgb(209, 209, 209);border-bottom: 1px solid  rgb(209, 209, 209); padding: 30px;"> | 
				
			||||
 | 
					                        <img src="assets/icons/pos-black.png" width="42px" | 
				
			||||
 | 
					                             height="auto" alt=""> | 
				
			||||
 | 
					                        <p style="color: #714B67;font-weight: 600; margin-top: 10px; | 
				
			||||
 | 
					                            font-size: 1.2rem; margin-bottom: 2px;">POS</p> | 
				
			||||
 | 
					                        <p>Easy configuration and convivial experience</p> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                </div> | 
				
			||||
 | 
					                <div class="col-md-3 col-sm-6  p-0"> | 
				
			||||
 | 
					                    <div class="d-flex flex-column h-100" | 
				
			||||
 | 
					                         style="border-right: 1px solid  rgb(209, 209, 209);border-bottom: 1px solid   rgba(0, 0, 0, 0.2); padding: 30px; box-shadow: 0 5px 10px  rgba(228, 227, 227, 0.373)"> | 
				
			||||
 | 
					                        <img src="assets/icons/education-black.png" width="42px" | 
				
			||||
 | 
					                             height="auto" alt=""> | 
				
			||||
 | 
					                        <p style="color: #714B67;font-weight: 600; margin-top: 10px; | 
				
			||||
 | 
					                            font-size: 1.2rem; margin-bottom: 2px;"> | 
				
			||||
 | 
					                            Education</p> | 
				
			||||
 | 
					                        <p>A platform for educational management</p> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                </div> | 
				
			||||
 | 
					                <div class="col-md-3 col-sm-6  p-0"> | 
				
			||||
 | 
					                    <div class="d-flex flex-column h-100" | 
				
			||||
 | 
					                         style="border-bottom: 1px solid  rgb(209, 209, 209); padding: 30px; "> | 
				
			||||
 | 
					                        <img src="assets/icons/manufacturing-black.png" | 
				
			||||
 | 
					                             width="42px" height="auto" alt=""> | 
				
			||||
 | 
					                        <p style="color: #714B67;font-weight: 600; margin-top: 10px; | 
				
			||||
 | 
					                            font-size: 1.2rem; margin-bottom: 2px;"> | 
				
			||||
 | 
					                            Manufacturing</p> | 
				
			||||
 | 
					                        <p>Plan, track and schedule your operations</p> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                </div> | 
				
			||||
 | 
					                <div class="col-md-3 col-sm-6 p-0"> | 
				
			||||
 | 
					                    <div class="d-flex flex-column h-100" | 
				
			||||
 | 
					                         style="border-right: 1px solid  rgb(209, 209, 209); padding: 30px;"> | 
				
			||||
 | 
					                        <img src="assets/icons/ecom-black.png" width="42px" | 
				
			||||
 | 
					                             height="auto" alt=""> | 
				
			||||
 | 
					                        <p style="color: #714B67;font-weight: 600; margin-top: 10px; | 
				
			||||
 | 
					                            font-size: 1.2rem; margin-bottom: 2px;">E-commerce & | 
				
			||||
 | 
					                            Website</p> | 
				
			||||
 | 
					                        <p>Mobile friendly, awe-inspiring product pages</p> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                </div> | 
				
			||||
 | 
					                <div class="col-md-3 col-sm-6   p-0"> | 
				
			||||
 | 
					                    <div class="d-flex flex-column h-100" | 
				
			||||
 | 
					                         style="border-right: 1px solid  rgb(209, 209, 209); padding: 30px;box-shadow: 0 -5px 10px  rgba(228, 227, 227, 0.373);"> | 
				
			||||
 | 
					                        <img src="assets/icons/service-black.png" width="42px" | 
				
			||||
 | 
					                             height="auto" alt=""> | 
				
			||||
 | 
					                        <p style="color: #714B67;font-weight: 600; margin-top: 10px; | 
				
			||||
 | 
					                            font-size: 1.2rem; margin-bottom: 2px;">Service | 
				
			||||
 | 
					                            Management</p> | 
				
			||||
 | 
					                        <p>Keep track of services and invoice</p> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                </div> | 
				
			||||
 | 
					                <div class="col-md-3 col-sm-6    p-0"> | 
				
			||||
 | 
					                    <div class="d-flex flex-column h-100" | 
				
			||||
 | 
					                         style="border-right: 1px solid  rgb(209, 209, 209); padding: 30px; "> | 
				
			||||
 | 
					                        <img src="assets/icons/restaurant-black.png" | 
				
			||||
 | 
					                             width="42px" height="auto" alt=""> | 
				
			||||
 | 
					                        <p style="color: #714B67;font-weight: 600; margin-top: 10px; | 
				
			||||
 | 
					                            font-size: 1.2rem; margin-bottom: 2px;"> | 
				
			||||
 | 
					                            Restaurant</p> | 
				
			||||
 | 
					                        <p>Run your bar or restaurant methodically</p> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                </div> | 
				
			||||
 | 
					                <div class="col-md-3 col-sm-6   p-0"> | 
				
			||||
 | 
					                    <div class="d-flex flex-column h-100" | 
				
			||||
 | 
					                         style=" padding: 30px;box-shadow: -5px 0 10px  rgba(228, 227, 227, 0.373);"> | 
				
			||||
 | 
					                        <img src="assets/icons/hotel-black.png" width="42px" | 
				
			||||
 | 
					                             height="auto" alt=""> | 
				
			||||
 | 
					                        <p style="color: #714B67;font-weight: 600; margin-top: 10px; | 
				
			||||
 | 
					                            font-size: 1.2rem; margin-bottom: 2px;">Hotel | 
				
			||||
 | 
					                            Management</p> | 
				
			||||
 | 
					                        <p>An all-inclusive hotel management application</p> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                </div> | 
				
			||||
 | 
					            </div> | 
				
			||||
 | 
					        </div> | 
				
			||||
 | 
					        <div class="container mt-5"> | 
				
			||||
 | 
					            <div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-5"> | 
				
			||||
 | 
					                <p class="m-0" | 
				
			||||
 | 
					                   style="font-weight: 600; font-size: 24px; color:#000 !important"> | 
				
			||||
 | 
					                    Support</p> | 
				
			||||
 | 
					            </div> | 
				
			||||
 | 
					        </div> | 
				
			||||
 | 
					        <div class="container my-5"> | 
				
			||||
 | 
					            <div class="row" style="background-color: #FFFAFE;"> | 
				
			||||
 | 
					                <div class="col-md-6 pb-4  d-flex align-items-center justify-content-center" | 
				
			||||
 | 
					                     style="border-right: 1px solid #D9D9D9;"> | 
				
			||||
 | 
					                    <div style="padding: 30px;"> | 
				
			||||
 | 
					                        <div class="d-flex align-items-center"> | 
				
			||||
 | 
					                            <img src="assets/misc/support (1) 1.svg" alt="" | 
				
			||||
 | 
					                                 width="60px" style="margin-right: 12px;"> | 
				
			||||
 | 
					                            <div style="padding: 0px 8px;"> | 
				
			||||
 | 
					                                    <span | 
				
			||||
 | 
					                                            style="color: #714B67;font-size: 24px;font-weight: 600;padding-bottom: 1rem;">Need | 
				
			||||
 | 
					                                        Help?</span> | 
				
			||||
 | 
					                                <p class="m-0" style="color:#718096;">Got | 
				
			||||
 | 
					                                    questions or need help? Get in touch.</p> | 
				
			||||
 | 
					                                <div style="font-weight: 400;"><span><img | 
				
			||||
 | 
					                                        src="assets/misc/support-email.svg" | 
				
			||||
 | 
					                                        alt="" | 
				
			||||
 | 
					                                        width="18px" | 
				
			||||
 | 
					                                        style="filter: invert(1);margin-right: 0.8rem;"></span>odoo@cybrosys.com | 
				
			||||
 | 
					                                </div> | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                        </div> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                </div> | 
				
			||||
 | 
					                <div class="col-md-6 pb-4 d-flex align-items-center justify-content-center"> | 
				
			||||
 | 
					                    <div style="padding: 30px;"> | 
				
			||||
 | 
					                        <div class="d-flex align-items-center"> | 
				
			||||
 | 
					                            <img src="assets/misc/whatsapp 1.svg" alt="" | 
				
			||||
 | 
					                                 width="60px" style="margin-right: 12px;"> | 
				
			||||
 | 
					                            <div> | 
				
			||||
 | 
					                                <span style="color: #714B67;font-size: 24px;font-weight: 600;">WhatsApp</span> | 
				
			||||
 | 
					                                <p class="m-0" style="color:#718096;">Say hi to | 
				
			||||
 | 
					                                    us on WhatsApp!</p> | 
				
			||||
 | 
					                                <div style="font-weight: 400; font-size: 16px;"><span><img | 
				
			||||
 | 
					                                        src="assets/misc/phone.svg" | 
				
			||||
 | 
					                                        alt="" width="14px" | 
				
			||||
 | 
					                                        style="filter: invert(1); margin-right: 0.8rem;"></span>+91 | 
				
			||||
 | 
					                                    99456767686 | 
				
			||||
 | 
					                                </div> | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                        </div> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                </div> | 
				
			||||
 | 
					            </div> | 
				
			||||
 | 
					        </div> | 
				
			||||
 | 
					    </div> | 
				
			||||
 | 
					</section> | 
				
			||||
 | 
					<!-- Optional JavaScript --> | 
				
			||||
 | 
					<!-- jQuery first, then Popper.js, then Bootstrap JS --> | 
				
			||||
 | 
					<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> | 
				
			||||
 | 
					<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script> | 
				
			||||
 | 
					</body> | 
				
			||||
 | 
					</html> | 
				
			||||
| 
		 After Width: | Height: | Size: 587 KiB  | 
@ -0,0 +1,213 @@ | 
				
			|||||
 | 
					.o_action_manager { | 
				
			||||
 | 
					    overflow: auto !important; | 
				
			||||
 | 
					} | 
				
			||||
 | 
					.salon_dashboards { | 
				
			||||
 | 
					    padding-top: 10px; | 
				
			||||
 | 
					    background-color: #f8faff !important; | 
				
			||||
 | 
					} | 
				
			||||
 | 
					.salon-card h4 { | 
				
			||||
 | 
					    font-size: 1.1rem; | 
				
			||||
 | 
					} | 
				
			||||
 | 
					.breadcrumbs { | 
				
			||||
 | 
					    margin-top: 0; | 
				
			||||
 | 
					} | 
				
			||||
 | 
					/*    Widget One | 
				
			||||
 | 
					---------------------------*/ | 
				
			||||
 | 
					.stat-content { | 
				
			||||
 | 
					    display: inline-block; | 
				
			||||
 | 
					    width: 66%; | 
				
			||||
 | 
					} | 
				
			||||
 | 
					.stat-icon { | 
				
			||||
 | 
					    display: inline-block; | 
				
			||||
 | 
					} | 
				
			||||
 | 
					.stat-widget-one .stat-icon { | 
				
			||||
 | 
					    vertical-align: top; | 
				
			||||
 | 
					    margin: auto; | 
				
			||||
 | 
					    width: 100%; | 
				
			||||
 | 
					    color: #01c490; | 
				
			||||
 | 
					} | 
				
			||||
 | 
					.stat-widget-one .stat-icon i { | 
				
			||||
 | 
					    font-size: 30px; | 
				
			||||
 | 
					    font-weight: 900; | 
				
			||||
 | 
					    display: inline-block; | 
				
			||||
 | 
					    color: #01c490; | 
				
			||||
 | 
					} | 
				
			||||
 | 
					.stat-widget-one .stat-text { | 
				
			||||
 | 
					    font-size: 14px; | 
				
			||||
 | 
					    color: #868e96; | 
				
			||||
 | 
					    font-weight: bold; | 
				
			||||
 | 
					} | 
				
			||||
 | 
					.stat-widget-one .stat-digit { | 
				
			||||
 | 
					    font-size: 24px; | 
				
			||||
 | 
					    color: #02448b; | 
				
			||||
 | 
					} | 
				
			||||
 | 
					.stat-count { | 
				
			||||
 | 
					    font-size: 20px; | 
				
			||||
 | 
					    text-align: center; | 
				
			||||
 | 
					    color: #00438b; | 
				
			||||
 | 
					} | 
				
			||||
 | 
					.stat-title { | 
				
			||||
 | 
					    font-size: 17px; | 
				
			||||
 | 
					    text-align: center; | 
				
			||||
 | 
					    color: #00438b; | 
				
			||||
 | 
					} | 
				
			||||
 | 
					/*=====================Dashboard===========================*/ | 
				
			||||
 | 
					.salon_dashboards { | 
				
			||||
 | 
					    background-color: #f8faff !important; | 
				
			||||
 | 
					    padding: 0px !important; | 
				
			||||
 | 
					} | 
				
			||||
 | 
					.container-fluid.o_hr_dashboard { | 
				
			||||
 | 
					    padding: 0px !important; | 
				
			||||
 | 
					} | 
				
			||||
 | 
					.salon-card { | 
				
			||||
 | 
					    padding: 0px; | 
				
			||||
 | 
					    margin-bottom: 1.5rem; | 
				
			||||
 | 
					    border-radius: 0px; | 
				
			||||
 | 
					    box-shadow: none; | 
				
			||||
 | 
					    background: none; | 
				
			||||
 | 
					    transition: transform 0.2s ease, box-shadow 0.2s ease; | 
				
			||||
 | 
					    will-change: transform, box-shadow; | 
				
			||||
 | 
					} | 
				
			||||
 | 
					.salon-card:hover { | 
				
			||||
 | 
					    transform: translateY(-2px) translateZ(0) !important; | 
				
			||||
 | 
					    box-shadow: 0 10px 10px 0 rgba(62, 57, 107, 0.12), 0 0 0 transparent !important; | 
				
			||||
 | 
					} | 
				
			||||
 | 
					.salon { | 
				
			||||
 | 
					    margin-top: 3%; | 
				
			||||
 | 
					    margin-bottom: 2%; | 
				
			||||
 | 
					} | 
				
			||||
 | 
					.salon .stat-icon { | 
				
			||||
 | 
					    border-radius: 15px 0 0 15px; | 
				
			||||
 | 
					    width: 30%; | 
				
			||||
 | 
					    height: 100px; | 
				
			||||
 | 
					    text-align: center; | 
				
			||||
 | 
					    padding-top: 10%; | 
				
			||||
 | 
					    background: #314384ff; | 
				
			||||
 | 
					    color: #fff; | 
				
			||||
 | 
					} | 
				
			||||
 | 
					.salon .salon-card { | 
				
			||||
 | 
					    border-radius: 15px; | 
				
			||||
 | 
					    transition: transform 0.2s ease, box-shadow 0.2s ease; | 
				
			||||
 | 
					    will-change: transform, box-shadow; | 
				
			||||
 | 
					    box-shadow: 0 10px 40px 0 rgba(62, 57, 107, 0.07), | 
				
			||||
 | 
					    0 2px 9px 0 rgba(62, 57, 107, 0.06); | 
				
			||||
 | 
					} | 
				
			||||
 | 
					.stat-widget-one .stat-text { | 
				
			||||
 | 
					    font-size: 14px; | 
				
			||||
 | 
					    color: #314384ff; | 
				
			||||
 | 
					    margin: 2rem 0rem 1rem 0rem; | 
				
			||||
 | 
					    text-align: center; | 
				
			||||
 | 
					} | 
				
			||||
 | 
					.stat-widget-one .stat-digit { | 
				
			||||
 | 
					    font-size: 20px; | 
				
			||||
 | 
					    font-weight: bolder; | 
				
			||||
 | 
					    padding: 1px 10px 2px 0; | 
				
			||||
 | 
					    color: #8061a9; | 
				
			||||
 | 
					    text-shadow: 0px 0px 20px #000000; | 
				
			||||
 | 
					    text-align: center; | 
				
			||||
 | 
					} | 
				
			||||
 | 
					.stat-widget-one .stat-icon i { | 
				
			||||
 | 
					    /*border-radius: 15px 0 0 15px;*/ | 
				
			||||
 | 
					    font-size: 25px; | 
				
			||||
 | 
					    font-weight: 900; | 
				
			||||
 | 
					    display: inline-block; | 
				
			||||
 | 
					    color: #fff; | 
				
			||||
 | 
					} | 
				
			||||
 | 
					.stat-widget-one { | 
				
			||||
 | 
					    border-radius: 15px; | 
				
			||||
 | 
					    background-color: white; | 
				
			||||
 | 
					    text-align: inherit !important; | 
				
			||||
 | 
					} | 
				
			||||
 | 
					.stat-widget-one { | 
				
			||||
 | 
					    width: 100%; | 
				
			||||
 | 
					} | 
				
			||||
 | 
					.salon_sales .stat-icon { | 
				
			||||
 | 
					    background: #964ec2 !important; | 
				
			||||
 | 
					} | 
				
			||||
 | 
					.salon_clients .stat-icon { | 
				
			||||
 | 
					    background: #813de6 !important; | 
				
			||||
 | 
					} | 
				
			||||
 | 
					.salon_orders .stat-icon { | 
				
			||||
 | 
					    background: #6f23a9 !important; | 
				
			||||
 | 
					} | 
				
			||||
 | 
					.salon_sales .stat-widget-one .stat-text { | 
				
			||||
 | 
					    color: #964ec2; | 
				
			||||
 | 
					} | 
				
			||||
 | 
					.salon_clients .stat-widget-one .stat-text { | 
				
			||||
 | 
					    color: #813de6; | 
				
			||||
 | 
					} | 
				
			||||
 | 
					.salon_orders .stat-widget-one .stat-text { | 
				
			||||
 | 
					    color: #6f23a9; | 
				
			||||
 | 
					} | 
				
			||||
 | 
					.salon-card-body { | 
				
			||||
 | 
					    display: flex; | 
				
			||||
 | 
					    justify-content: space-between; | 
				
			||||
 | 
					    align-items: center; | 
				
			||||
 | 
					} | 
				
			||||
 | 
					/*Chair*/ | 
				
			||||
 | 
					img { | 
				
			||||
 | 
					    padding: 5px; | 
				
			||||
 | 
					} | 
				
			||||
 | 
					article { | 
				
			||||
 | 
					    display: grid; | 
				
			||||
 | 
					    grid-template-columns: repeat(auto-fill, minmax(17em, 1fr)); | 
				
			||||
 | 
					    grid-gap: 1em; | 
				
			||||
 | 
					    height: fit-content; | 
				
			||||
 | 
					    margin-left: 1vw; | 
				
			||||
 | 
					} | 
				
			||||
 | 
					@media (max-width: 575.98px) { | 
				
			||||
 | 
					    .salon_chair { | 
				
			||||
 | 
					        width: 100%; | 
				
			||||
 | 
					        position: relative; | 
				
			||||
 | 
					    } | 
				
			||||
 | 
					} | 
				
			||||
 | 
					.chair_name { | 
				
			||||
 | 
					    opacity: 100%; | 
				
			||||
 | 
					    position: absolute; | 
				
			||||
 | 
					    padding: 26px 26px 3px 73px; | 
				
			||||
 | 
					    color: #ffffff; | 
				
			||||
 | 
					    font-weight: bolder; | 
				
			||||
 | 
					    -webkit-filter: drop-shadow(0px 4px 5px #000000); | 
				
			||||
 | 
					    filter: drop-shadow(0px 4px 5px #000000); | 
				
			||||
 | 
					} | 
				
			||||
 | 
					.chair_orders { | 
				
			||||
 | 
					    opacity: 100%; | 
				
			||||
 | 
					    position: absolute; | 
				
			||||
 | 
					    padding: 62px 0px 2px 94px; | 
				
			||||
 | 
					    color: #ffffff; | 
				
			||||
 | 
					    font-weight: bolder; | 
				
			||||
 | 
					    -webkit-filter: drop-shadow(0px 4px 5px #000000); | 
				
			||||
 | 
					    filter: drop-shadow(0px 4px 5px #000000); | 
				
			||||
 | 
					} | 
				
			||||
 | 
					.chair_setting { | 
				
			||||
 | 
					    opacity: 0.0; | 
				
			||||
 | 
					    -webkit-transition: all 500ms ease-in-out; | 
				
			||||
 | 
					    -moz-transition: all 500ms ease-in-out; | 
				
			||||
 | 
					    -ms-transition: all 500ms ease-in-out; | 
				
			||||
 | 
					    -o-transition: all 500ms ease-in-out; | 
				
			||||
 | 
					    transition: all 500ms ease-in-out; | 
				
			||||
 | 
					} | 
				
			||||
 | 
					.salon_chair:hover .chair_setting { | 
				
			||||
 | 
					    opacity: 1.0; | 
				
			||||
 | 
					    padding: 16px 0 0px 165px; | 
				
			||||
 | 
					    color: #4d4d4d; | 
				
			||||
 | 
					    font-size: medium; | 
				
			||||
 | 
					    -webkit-filter: drop-shadow(0px 4px 5px #da9bff); | 
				
			||||
 | 
					    filter: drop-shadow(0px 2px 6px #d999ff); | 
				
			||||
 | 
					} | 
				
			||||
 | 
					.salon_chair { | 
				
			||||
 | 
					    opacity: 85%; | 
				
			||||
 | 
					    background-image: url("images/chair.png"); | 
				
			||||
 | 
					    background-repeat: no-repeat; | 
				
			||||
 | 
					    background-size: contain; | 
				
			||||
 | 
					    width: auto; | 
				
			||||
 | 
					    height: 100vw; | 
				
			||||
 | 
					} | 
				
			||||
 | 
					.salon_chair { | 
				
			||||
 | 
					    height: 200px; | 
				
			||||
 | 
					    width: 100%; | 
				
			||||
 | 
					} | 
				
			||||
 | 
					.salon_chair { | 
				
			||||
 | 
					    -webkit-filter: drop-shadow(0px 4px 4px #3e3e3e); | 
				
			||||
 | 
					    filter: drop-shadow(0px 4px 4px #373737); | 
				
			||||
 | 
					} | 
				
			||||
@ -0,0 +1,46 @@ | 
				
			|||||
 | 
					.chair_box_website { | 
				
			||||
 | 
					  text-align: center; | 
				
			||||
 | 
					  border: 1px solid #666; | 
				
			||||
 | 
					  padding: 10px 15px; | 
				
			||||
 | 
					  box-shadow: 7px 8px 5px #888888; | 
				
			||||
 | 
					  background-color: #337ab7; | 
				
			||||
 | 
					  color: #000000; | 
				
			||||
 | 
					} | 
				
			||||
 | 
					.field_booking_chair { | 
				
			||||
 | 
					  font-weight: bold; | 
				
			||||
 | 
					} | 
				
			||||
 | 
					input[type="text"] { | 
				
			||||
 | 
					  width: 100%; | 
				
			||||
 | 
					} | 
				
			||||
 | 
					input[type="email"] { | 
				
			||||
 | 
					  width: 100%; | 
				
			||||
 | 
					} | 
				
			||||
 | 
					input[type="checkbox"] + label { | 
				
			||||
 | 
					  color: #7c7bad; | 
				
			||||
 | 
					  font-style: italic; | 
				
			||||
 | 
					} | 
				
			||||
 | 
					input[type="checkbox"]:checked + label { | 
				
			||||
 | 
					  color: #00a09d; | 
				
			||||
 | 
					  font-style: normal; | 
				
			||||
 | 
					} | 
				
			||||
 | 
					select { | 
				
			||||
 | 
					  width: 100%; | 
				
			||||
 | 
					} | 
				
			||||
 | 
					.selection_service { | 
				
			||||
 | 
					  height: 6em; | 
				
			||||
 | 
					  overflow: auto; | 
				
			||||
 | 
					  border: 1px solid #b3b3b3; | 
				
			||||
 | 
					  border-radius: 5px; | 
				
			||||
 | 
					  background-color: #fcfcfc; | 
				
			||||
 | 
					} | 
				
			||||
 | 
					#booking_chair_details { | 
				
			||||
 | 
					  height: 200px !important; | 
				
			||||
 | 
					  text-align: center; | 
				
			||||
 | 
					  border: 1px solid #666; | 
				
			||||
 | 
					  padding: 15px 0px; | 
				
			||||
 | 
					  box-shadow: 7px 8px 5px #888888; | 
				
			||||
 | 
					  background-color: #7c7bad; | 
				
			||||
 | 
					  border-radius: 58px; | 
				
			||||
 | 
					  color: #fff; | 
				
			||||
 | 
					  margin-bottom: 10px; | 
				
			||||
 | 
					} | 
				
			||||
@ -0,0 +1,143 @@ | 
				
			|||||
 | 
					/** @odoo-module */ | 
				
			||||
 | 
					import { rpc } from "@web/core/network/rpc"; | 
				
			||||
 | 
					import { Component, onMounted, useState } from "@odoo/owl"; | 
				
			||||
 | 
					import { registry } from "@web/core/registry"; | 
				
			||||
 | 
					import { useService } from "@web/core/utils/hooks"; | 
				
			||||
 | 
					const actionRegistry = registry.category("actions"); | 
				
			||||
 | 
					import { _t } from "@web/core/l10n/translation"; | 
				
			||||
 | 
					const { useRef } = owl; | 
				
			||||
 | 
					/* Create a component named 'SalonDashboard' with extending Component*/ | 
				
			||||
 | 
					export class SalonDashboard extends Component { | 
				
			||||
 | 
					    setup() { | 
				
			||||
 | 
					        super.setup(...arguments); | 
				
			||||
 | 
					        this.bookings_count = useRef("bookings_count"); | 
				
			||||
 | 
					        this.recent_count = useRef("recent_count"); | 
				
			||||
 | 
					        this.orders_count = useRef("orders_count"); | 
				
			||||
 | 
					        this.clients_count = useRef("clients_count"); | 
				
			||||
 | 
					        this.state = useState({ list: [] }); | 
				
			||||
 | 
					        this.orm = useService('orm'); | 
				
			||||
 | 
					        onMounted(() => { | 
				
			||||
 | 
					            this.render_dashboards(); | 
				
			||||
 | 
					        }); | 
				
			||||
 | 
					    } | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** Function that renders values into the dashboard **/ | 
				
			||||
 | 
					    async render_dashboards() { | 
				
			||||
 | 
					        const result = await this.orm.call('salon.booking', 'get_booking_count', [0], {}); | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					        if (this.bookings_count.el) { | 
				
			||||
 | 
					            this.bookings_count.el.innerHTML = `<span class='stat-digit'>${result.bookings}</span>`; | 
				
			||||
 | 
					        } | 
				
			||||
 | 
					        if (this.recent_count.el) { | 
				
			||||
 | 
					            this.recent_count.el.innerHTML = `<span class='stat-digit'>${result.sales}</span>`; | 
				
			||||
 | 
					        } | 
				
			||||
 | 
					        if (this.orders_count.el) { | 
				
			||||
 | 
					            this.orders_count.el.innerHTML = `<span class='stat-digit'>${result.orders}</span>`; | 
				
			||||
 | 
					        } | 
				
			||||
 | 
					        if (this.clients_count.el) { | 
				
			||||
 | 
					            this.clients_count.el.innerHTML = `<span class='stat-digit'>${result.clients}</span>`; | 
				
			||||
 | 
					        } | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					        this.state.list = await rpc("/salon/chairs", {}); | 
				
			||||
 | 
					    } | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** Click function of 'Bookings' card and open bookings list view **/ | 
				
			||||
 | 
					    show_bookings(ev) { | 
				
			||||
 | 
					        ev.stopPropagation(); | 
				
			||||
 | 
					        ev.preventDefault(); | 
				
			||||
 | 
					        this.env.services.action.doAction({ | 
				
			||||
 | 
					            name: _t("Salon Bookings"), | 
				
			||||
 | 
					            type: 'ir.actions.act_window', | 
				
			||||
 | 
					            res_model: 'salon.booking', | 
				
			||||
 | 
					            view_mode: 'list,form', | 
				
			||||
 | 
					            views: [[false, 'list'], [false, 'form']], | 
				
			||||
 | 
					            domain: [['state', '=', 'approved']], | 
				
			||||
 | 
					            target: 'current' | 
				
			||||
 | 
					        }); | 
				
			||||
 | 
					    } | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** Click function of 'Recent Works' card in dashboard **/ | 
				
			||||
 | 
					    show_sales(ev) { | 
				
			||||
 | 
					        ev.stopPropagation(); | 
				
			||||
 | 
					        ev.preventDefault(); | 
				
			||||
 | 
					        this.env.services.action.doAction({ | 
				
			||||
 | 
					            name: _t("Recent Works"), | 
				
			||||
 | 
					            type: 'ir.actions.act_window', | 
				
			||||
 | 
					            res_model: 'salon.order', | 
				
			||||
 | 
					            view_mode: 'list,form', | 
				
			||||
 | 
					            views: [[false, 'list'], [false, 'form']], | 
				
			||||
 | 
					            domain: [['stage_id', 'in', [3, 4]]], | 
				
			||||
 | 
					            target: 'current' | 
				
			||||
 | 
					        }); | 
				
			||||
 | 
					    } | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** Click function of 'Salon Client' card **/ | 
				
			||||
 | 
					    show_clients(ev) { | 
				
			||||
 | 
					        ev.stopPropagation(); | 
				
			||||
 | 
					        ev.preventDefault(); | 
				
			||||
 | 
					        this.env.services.action.doAction({ | 
				
			||||
 | 
					            name: _t("Clients"), | 
				
			||||
 | 
					            type: 'ir.actions.act_window', | 
				
			||||
 | 
					            res_model: 'res.partner', | 
				
			||||
 | 
					            view_mode: 'list,form', | 
				
			||||
 | 
					            views: [[false, 'list'], [false, 'form']], | 
				
			||||
 | 
					            domain: [['partner_salon', '=', true]], | 
				
			||||
 | 
					            target: 'current' | 
				
			||||
 | 
					        }); | 
				
			||||
 | 
					    } | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** Click function of 'Salon Orders' card **/ | 
				
			||||
 | 
					    show_orders(ev) { | 
				
			||||
 | 
					        ev.stopPropagation(); | 
				
			||||
 | 
					        ev.preventDefault(); | 
				
			||||
 | 
					        this.env.services.action.doAction({ | 
				
			||||
 | 
					            name: _t("Salon Orders"), | 
				
			||||
 | 
					            type: 'ir.actions.act_window', | 
				
			||||
 | 
					            res_model: 'salon.order', | 
				
			||||
 | 
					            view_mode: 'list,form,calendar', | 
				
			||||
 | 
					            views: [[false, 'list'], [false, 'form']], | 
				
			||||
 | 
					            target: 'current' | 
				
			||||
 | 
					        }); | 
				
			||||
 | 
					    } | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** Click function of dashboard chairs **/ | 
				
			||||
 | 
					    chairs_click(ev) { | 
				
			||||
 | 
					        ev.stopPropagation(); | 
				
			||||
 | 
					        ev.preventDefault(); | 
				
			||||
 | 
					        const active_id = ev.target.id; | 
				
			||||
 | 
					        this.env.services.action.doAction({ | 
				
			||||
 | 
					            name: _t("Chair Orders"), | 
				
			||||
 | 
					            type: 'ir.actions.act_window', | 
				
			||||
 | 
					            res_model: 'salon.order', | 
				
			||||
 | 
					            view_mode: 'kanban,list,form', | 
				
			||||
 | 
					            views: [[false, 'kanban'], [false, 'list'], [false, 'form']], | 
				
			||||
 | 
					            domain: [['chair_id', '=', parseInt(active_id)]], | 
				
			||||
 | 
					            context: { | 
				
			||||
 | 
					                default_chair_id: parseInt(active_id) | 
				
			||||
 | 
					            }, | 
				
			||||
 | 
					            target: 'current' | 
				
			||||
 | 
					        }); | 
				
			||||
 | 
					    } | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** Click function of dashboard chair's settings icon **/ | 
				
			||||
 | 
					    settings_click(ev) { | 
				
			||||
 | 
					        ev.stopPropagation(); | 
				
			||||
 | 
					        ev.preventDefault(); | 
				
			||||
 | 
					        const active_id = ev.target.id; | 
				
			||||
 | 
					        this.env.services.action.doAction({ | 
				
			||||
 | 
					            name: _t("Chair Orders"), | 
				
			||||
 | 
					            type: 'ir.actions.act_window', | 
				
			||||
 | 
					            res_model: 'salon.chair', | 
				
			||||
 | 
					            view_mode: 'form', | 
				
			||||
 | 
					            views: [[false, 'form']], | 
				
			||||
 | 
					            context: { | 
				
			||||
 | 
					                default_name: active_id | 
				
			||||
 | 
					            }, | 
				
			||||
 | 
					            target: 'current' | 
				
			||||
 | 
					        }); | 
				
			||||
 | 
					    } | 
				
			||||
 | 
					} | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					SalonDashboard.template = "SalonSpaDashBoard"; | 
				
			||||
 | 
					actionRegistry.add("salon_dashboard", SalonDashboard); | 
				
			||||
 | 
					
 | 
				
			||||
@ -0,0 +1,103 @@ | 
				
			|||||
 | 
					/** @odoo-module */ | 
				
			||||
 | 
					import publicWidget from "@web/legacy/js/public/public_widget"; | 
				
			||||
 | 
					import { rpc } from "@web/core/network/rpc"; | 
				
			||||
 | 
					import { _t } from "@web/core/l10n/translation"; | 
				
			||||
 | 
					/** Extends publicWidget to define button click functions.**/ | 
				
			||||
 | 
					publicWidget.registry.SalonManagement = publicWidget.Widget.extend({ | 
				
			||||
 | 
					    selector: '.chair_booking', | 
				
			||||
 | 
					    events: { | 
				
			||||
 | 
					        'click #send_button': 'ClickSend', | 
				
			||||
 | 
					        'click #check_button': 'ClickCheckButton', | 
				
			||||
 | 
					    }, | 
				
			||||
 | 
					    /** Function to check validation cases and create booking | 
				
			||||
 | 
					        while click send button from booking page(website). **/ | 
				
			||||
 | 
					    ClickSend(ev) { | 
				
			||||
 | 
					        var name = this.$el.find("#name")[0].value; | 
				
			||||
 | 
					        var date = this.$el.find("#date")[0].value; | 
				
			||||
 | 
					        var time = this.$el.find("#time")[0].value; | 
				
			||||
 | 
					        var phone = this.$el.find("#phone")[0].value; | 
				
			||||
 | 
					        var email = this.$el.find("#email")[0].value; | 
				
			||||
 | 
					        var service = this.$el.find('.check_box_salon:checkbox:checked'); | 
				
			||||
 | 
					        var chair = this.$el.find("#chair")[0].value; | 
				
			||||
 | 
					        var list_service = []; | 
				
			||||
 | 
					        var number = service.length; | 
				
			||||
 | 
					        for (var item = 0; item < (number); item++) { | 
				
			||||
 | 
					            var value = parseInt(service[item].attributes['service-id'].value); | 
				
			||||
 | 
					            list_service.push(value); | 
				
			||||
 | 
					        } | 
				
			||||
 | 
					        if (name == "" || date == "" || time == "" || phone == "" || email == "" || list_service.length == 0) { | 
				
			||||
 | 
					            alert("All fields are mandatory"); | 
				
			||||
 | 
					        } else { | 
				
			||||
 | 
					        var colonIndex = time.indexOf(":"); // Find the index of ":"
 | 
				
			||||
 | 
					        var hours = time.substring(0, colonIndex); | 
				
			||||
 | 
					        var minutes = time.substring(colonIndex + 1) | 
				
			||||
 | 
					        var colon = time[colonIndex]; | 
				
			||||
 | 
					        if (isNaN(hours) || isNaN(minutes) || colon != ':') { | 
				
			||||
 | 
					            alert("Select a valid Time"); | 
				
			||||
 | 
					        } else { | 
				
			||||
 | 
					            var time_left = parseInt(hours); | 
				
			||||
 | 
					            var time_right = parseInt(minutes);; | 
				
			||||
 | 
					                if ((time_left < 25) && (time_right < 60) && (time_left >= 0) && (time_right >= 0)) { | 
				
			||||
 | 
					                    rpc('/page/salon_details', { | 
				
			||||
 | 
					                        name: name, | 
				
			||||
 | 
					                        date: date, | 
				
			||||
 | 
					                        salon_time: time, | 
				
			||||
 | 
					                        phone: phone, | 
				
			||||
 | 
					                        email: email, | 
				
			||||
 | 
					                        chair: chair, | 
				
			||||
 | 
					                        service_list: list_service | 
				
			||||
 | 
					                    }).then( function(result){ | 
				
			||||
 | 
					                    if (JSON.parse(result).result == true){ | 
				
			||||
 | 
					                        window.location.href = "/page/salon_management/salon_booking_thank_you"; | 
				
			||||
 | 
					                    } | 
				
			||||
 | 
					                    }); | 
				
			||||
 | 
					                    } | 
				
			||||
 | 
					                 else { | 
				
			||||
 | 
					                    alert("Select a valid time"); | 
				
			||||
 | 
					                } | 
				
			||||
 | 
					            } | 
				
			||||
 | 
					        } | 
				
			||||
 | 
					    }, | 
				
			||||
 | 
					    /** Website function to check already booked chairs and details **/ | 
				
			||||
 | 
					    ClickCheckButton(ev){ | 
				
			||||
 | 
					        var check_date = this.$el.find("#check_date").val(); | 
				
			||||
 | 
					        if (check_date != "") { | 
				
			||||
 | 
					            rpc('/page/salon_check_date', { | 
				
			||||
 | 
					                check_date | 
				
			||||
 | 
					            }).then( function(order_details){ | 
				
			||||
 | 
					                var x; | 
				
			||||
 | 
					                var total_orders = ""; | 
				
			||||
 | 
					                var order = ""; | 
				
			||||
 | 
					                var chair_name; | 
				
			||||
 | 
					                for (x in order_details) { | 
				
			||||
 | 
					                    var chair_name = order_details[x]['name'] | 
				
			||||
 | 
					                    var i; | 
				
			||||
 | 
					                    var lines = ""; | 
				
			||||
 | 
					                    for (i = 0; i < order_details[x]['orders'].length; i++) { | 
				
			||||
 | 
					                        lines += '<tr><td style="background:#7c7bad;"><span>' + order_details[x]['orders'][i]['number'] + | 
				
			||||
 | 
					                            '</span></td><td style="background:#7c7bad;"><span>' + order_details[x]['orders'][i]['start_time_only'] + | 
				
			||||
 | 
					                            '</span></td><td style="background:#7c7bad;"><span>' + order_details[x]['orders'][i]['end_time_only'] + '</span></td></tr>' | 
				
			||||
 | 
					                    } | 
				
			||||
 | 
					                    order += '<div class="col-lg-4 s_title pt16 pb16"><div style="height: 200px!important; text-align: center;' + | 
				
			||||
 | 
					                        'border: 1px solid #666;padding: 15px 0px;box-shadow: 7px 8px 5px #888888;background-color:#7c7bad;border-radius:58px;color:#fff;margin-bottom: 10px;">' + | 
				
			||||
 | 
					                        '<span style="font-size: 15px;">' + chair_name + '</span>' + | 
				
			||||
 | 
					                        '<br/><a style="color:#fff;font-size:15px;">Order Details</a>' + | 
				
			||||
 | 
					                        '<div id="style-2" style="overflow-y:scroll;height:105px;padding-right:25px;padding-left:25px;margin-right:10px;">' + | 
				
			||||
 | 
					                        '<table class="table"><th style="font-size:11px;background:#7c7bad;">Order No.</th><th style="font-size:11px;background:#7c7bad;">Start Time</th>' + | 
				
			||||
 | 
					                        '<th style="font-size:11px;background:#7c7bad;">End Time</th><div><tbody style="font-size: 10px;">' + | 
				
			||||
 | 
					                        lines + '</tbody></div></table></div></div></div>' | 
				
			||||
 | 
					                } | 
				
			||||
 | 
					                total_orders += '<div id="booking_chair_div" class="col-lg-12 s_title pt16 pb16 row">' + order + '</div>' | 
				
			||||
 | 
					                var res = document.getElementById('booking_chair_div') | 
				
			||||
 | 
					                res.innerHTML = ""; | 
				
			||||
 | 
					                res.innerHTML = total_orders; | 
				
			||||
 | 
					                var date_value = 'DATE : <t>' + check_date + '</t>' | 
				
			||||
 | 
					                var date_field = document.getElementById('searched_date') | 
				
			||||
 | 
					                date_field.innerHTML = ""; | 
				
			||||
 | 
					                date_field.innerHTML = date_value; | 
				
			||||
 | 
					            }) | 
				
			||||
 | 
					        } else { | 
				
			||||
 | 
					            alert("Fill the Field"); | 
				
			||||
 | 
					        } | 
				
			||||
 | 
					    } | 
				
			||||
 | 
					}); | 
				
			||||
@ -0,0 +1,96 @@ | 
				
			|||||
 | 
					<?xml version="1.0" encoding="UTF-8"?> | 
				
			||||
 | 
					<!--Salon management dashboard template--> | 
				
			||||
 | 
					<templates id="template" xml:space="preserve"> | 
				
			||||
 | 
					    <t t-name="SalonSpaDashBoard"> | 
				
			||||
 | 
					    <link rel="stylesheet" | 
				
			||||
 | 
					          href="/salon_management/static/src/css/salon_dashboard.css"/> | 
				
			||||
 | 
					        <div class="row main-section"> | 
				
			||||
 | 
					      <div class="col-sm-6 col-md-3-12 col-md-6 col-lg-3 salon_spa_bookings salon salon_bookings" | 
				
			||||
 | 
					           t-on-click="show_bookings"> | 
				
			||||
 | 
					        <div class="salon-card"> | 
				
			||||
 | 
					          <div class="salon-card-body"> | 
				
			||||
 | 
					            <div class="stat-widget-one"> | 
				
			||||
 | 
					              <div class="stat-icon"> | 
				
			||||
 | 
					                <i class="fa fa-calendar"/> | 
				
			||||
 | 
					              </div> | 
				
			||||
 | 
					                <div class="stat-content"> | 
				
			||||
 | 
					                <div class="stat-text">Bookings</div> | 
				
			||||
 | 
					                    <div class="stat-digit" t-ref="bookings_count"> | 
				
			||||
 | 
					                </div> | 
				
			||||
 | 
					              </div> | 
				
			||||
 | 
					            </div> | 
				
			||||
 | 
					          </div> | 
				
			||||
 | 
					        </div> | 
				
			||||
 | 
					      </div> | 
				
			||||
 | 
					            <div class="col-sm-6 col-md-3-12 col-md-6 col-lg-3 salon_spa_orders salon salon_orders" | 
				
			||||
 | 
					                 t-on-click="show_orders"> | 
				
			||||
 | 
					        <div class="salon-card"> | 
				
			||||
 | 
					          <div class="salon-card-body"> | 
				
			||||
 | 
					            <div class="stat-widget-one"> | 
				
			||||
 | 
					              <div class="stat-icon"> | 
				
			||||
 | 
					                <i class="fa fa-calendar"/> | 
				
			||||
 | 
					              </div> | 
				
			||||
 | 
					                <div class="stat-content"> | 
				
			||||
 | 
					                <div class="stat-text">Salon Orders</div> | 
				
			||||
 | 
					                    <div class="stat-digit" t-ref="orders_count"> | 
				
			||||
 | 
					                </div> | 
				
			||||
 | 
					              </div> | 
				
			||||
 | 
					            </div> | 
				
			||||
 | 
					          </div> | 
				
			||||
 | 
					        </div> | 
				
			||||
 | 
					      </div> | 
				
			||||
 | 
					            <div class="col-sm-6 col-md-3-12 col-md-6 col-lg-3 salon_spa_sales salon salon_sales" | 
				
			||||
 | 
					                 t-on-click="show_sales"> | 
				
			||||
 | 
					        <div class="salon-card"> | 
				
			||||
 | 
					          <div class="salon-card-body"> | 
				
			||||
 | 
					            <div class="stat-widget-one"> | 
				
			||||
 | 
					              <div class="stat-icon"> | 
				
			||||
 | 
					                <i class="fa fa-money"/> | 
				
			||||
 | 
					              </div> | 
				
			||||
 | 
					                <div class="stat-content"> | 
				
			||||
 | 
					                <div class="stat-text">Recent Works</div> | 
				
			||||
 | 
					                    <div class="stat-digit" t-ref="recent_count"> | 
				
			||||
 | 
					                </div> | 
				
			||||
 | 
					              </div> | 
				
			||||
 | 
					            </div> | 
				
			||||
 | 
					          </div> | 
				
			||||
 | 
					        </div> | 
				
			||||
 | 
					      </div> | 
				
			||||
 | 
					            <div class="col-sm-6 col-md-3-12 col-md-6 col-lg-3 salon_spa_clients salon salon_clients" | 
				
			||||
 | 
					                 t-on-click="show_clients"> | 
				
			||||
 | 
					        <div class="salon-card"> | 
				
			||||
 | 
					          <div class="salon-card-body"> | 
				
			||||
 | 
					            <div class="stat-widget-one"> | 
				
			||||
 | 
					              <div class="stat-icon"> | 
				
			||||
 | 
					                <i class="fa fa-user "/> | 
				
			||||
 | 
					              </div> | 
				
			||||
 | 
					                <div class="stat-content"> | 
				
			||||
 | 
					                <div class="stat-text">Salon Clients</div> | 
				
			||||
 | 
					                    <div class="stat-digit" t-ref="clients_count"> | 
				
			||||
 | 
					                </div> | 
				
			||||
 | 
					              </div> | 
				
			||||
 | 
					            </div> | 
				
			||||
 | 
					          </div> | 
				
			||||
 | 
					        </div> | 
				
			||||
 | 
					      </div> | 
				
			||||
 | 
					    </div> | 
				
			||||
 | 
					        <!--  Dashboard chairs view--> | 
				
			||||
 | 
					        <article role="main" id="chairs_dashboard_view"> | 
				
			||||
 | 
					      <t t-foreach="this.state.list" t-as="chair" t-key="chair['id']"> | 
				
			||||
 | 
					        <div class="salon_chair" t-att-id="chair['id']" | 
				
			||||
 | 
					             t-att-value="chair['id']" t-on-click="chairs_click" | 
				
			||||
 | 
					        > | 
				
			||||
 | 
					            <h4 class="chair_name" t-att-id="chair['id']"> | 
				
			||||
 | 
					                <t t-esc="chair['name']"/> | 
				
			||||
 | 
					            </h4> | 
				
			||||
 | 
					            <h2 class="chair_orders" t-att-id="chair['id']"> | 
				
			||||
 | 
					                <t t-esc="chair['orders']"/> | 
				
			||||
 | 
					            </h2> | 
				
			||||
 | 
					            <i class="fa fa-cog chair_setting" | 
				
			||||
 | 
					               t-att-id="chair['name']" | 
				
			||||
 | 
					               t-on-click="settings_click"/> | 
				
			||||
 | 
					        </div> | 
				
			||||
 | 
					      </t> | 
				
			||||
 | 
					    </article> | 
				
			||||
 | 
					  </t> | 
				
			||||
 | 
					</templates> | 
				
			||||
@ -0,0 +1,60 @@ | 
				
			|||||
 | 
					<?xml version="1.0" encoding="utf-8"?> | 
				
			||||
 | 
					<odoo> | 
				
			||||
 | 
					    <!--  Res config settings view form--> | 
				
			||||
 | 
					    <record id="res_config_settings_view_form" model="ir.ui.view"> | 
				
			||||
 | 
					        <field name="name">res.config.settings.view.form.inherit.Salon.Management</field> | 
				
			||||
 | 
					        <field name="model">res.config.settings</field> | 
				
			||||
 | 
					        <field name="priority" eval="45"/> | 
				
			||||
 | 
					        <field name="inherit_id" ref="base.res_config_settings_view_form"/> | 
				
			||||
 | 
					        <field name="arch" type="xml"> | 
				
			||||
 | 
					            <xpath expr="//form" position="inside"> | 
				
			||||
 | 
					                <div class="app_settings_block" data-string="Salon" | 
				
			||||
 | 
					                     string="Salon" data-key="salon_management"> | 
				
			||||
 | 
					                    <h2>Booking Chairs(Choose the chair when its free)</h2> | 
				
			||||
 | 
					                    <div class="row mt16 o_settings_container"> | 
				
			||||
 | 
					                        <div class="col-xs-12 col-md-6 o_setting_box"> | 
				
			||||
 | 
					                            <div class="o_setting_left_pane"/> | 
				
			||||
 | 
					                            <div class="o_setting_right_pane"> | 
				
			||||
 | 
					                                <div class="content-group"> | 
				
			||||
 | 
					                                    <div class="row mt16"> | 
				
			||||
 | 
					                                        <label string="Booking Chairs" | 
				
			||||
 | 
					                                               for="salon_booking_chair_ids" | 
				
			||||
 | 
					                                               class="col-md-3 o_light_label"/> | 
				
			||||
 | 
					                                        <field name="salon_booking_chair_ids" | 
				
			||||
 | 
					                                               widget="many2many_tags"/> | 
				
			||||
 | 
					                                    </div> | 
				
			||||
 | 
					                                </div> | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                        </div> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                    <h2>Holidays</h2> | 
				
			||||
 | 
					                    <div class="row mt16 o_settings_container"> | 
				
			||||
 | 
					                        <div class="col-xs-12 col-md-6 o_setting_box"> | 
				
			||||
 | 
					                            <div class="o_setting_left_pane"/> | 
				
			||||
 | 
					                            <div class="o_setting_right_pane"> | 
				
			||||
 | 
					                                <div class="content-group"> | 
				
			||||
 | 
					                                    <div class="row mt16"> | 
				
			||||
 | 
					                                        <label string="Holidays" | 
				
			||||
 | 
					                                               for="salon_holiday_ids" | 
				
			||||
 | 
					                                               class="col-md-3 o_light_label"/> | 
				
			||||
 | 
					                                        <field name="salon_holiday_ids" | 
				
			||||
 | 
					                                               widget="many2many_tags"/> | 
				
			||||
 | 
					                                    </div> | 
				
			||||
 | 
					                                </div> | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                        </div> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                </div> | 
				
			||||
 | 
					            </xpath> | 
				
			||||
 | 
					        </field> | 
				
			||||
 | 
					    </record> | 
				
			||||
 | 
					    <!--   Res config settings action--> | 
				
			||||
 | 
					    <record id="res_config_settings_action" model="ir.actions.act_window"> | 
				
			||||
 | 
					        <field name="name">Settings</field> | 
				
			||||
 | 
					        <field name="type">ir.actions.act_window</field> | 
				
			||||
 | 
					        <field name="res_model">res.config.settings</field> | 
				
			||||
 | 
					        <field name="view_mode">form</field> | 
				
			||||
 | 
					        <field name="target">inline</field> | 
				
			||||
 | 
					        <field name="context">{'module' : 'salon_management'}</field> | 
				
			||||
 | 
					    </record> | 
				
			||||
 | 
					</odoo> | 
				
			||||
@ -0,0 +1,14 @@ | 
				
			|||||
 | 
					<?xml version="1.0" encoding="utf-8" ?> | 
				
			||||
 | 
					<odoo> | 
				
			||||
 | 
					    <!--  Res partner view form--> | 
				
			||||
 | 
					    <record id="view_partner_form" model="ir.ui.view"> | 
				
			||||
 | 
					        <field name="name">res.partner.view.form.inherit.salon.management</field> | 
				
			||||
 | 
					        <field name="model">res.partner</field> | 
				
			||||
 | 
					        <field name="inherit_id" ref="base.view_partner_form"/> | 
				
			||||
 | 
					        <field name="arch" type="xml"> | 
				
			||||
 | 
					            <xpath expr="//field[@name='category_id']" position="after"> | 
				
			||||
 | 
					                <field name="partner_salon"/> | 
				
			||||
 | 
					            </xpath> | 
				
			||||
 | 
					        </field> | 
				
			||||
 | 
					    </record> | 
				
			||||
 | 
					</odoo> | 
				
			||||
@ -0,0 +1,276 @@ | 
				
			|||||
 | 
					<?xml version="1.0" encoding="utf-8"?> | 
				
			||||
 | 
					<odoo> | 
				
			||||
 | 
					    <!--    Salon booking form--> | 
				
			||||
 | 
					    <template id="salon_booking_form" name="Salon Booking"> | 
				
			||||
 | 
					        <t t-call="website.layout"> | 
				
			||||
 | 
					            <div class="container chair_booking"> | 
				
			||||
 | 
					                <div class="row s_nb_column_fixed "> | 
				
			||||
 | 
					                    <div class="col-lg-6 s_title pt16 pb16"> | 
				
			||||
 | 
					                        <h3> | 
				
			||||
 | 
					                            Working Time | 
				
			||||
 | 
					                        </h3> | 
				
			||||
 | 
					                        <table border="1"> | 
				
			||||
 | 
					                            <th>Day</th> | 
				
			||||
 | 
					                            <th>Starting Time</th> | 
				
			||||
 | 
					                            <th>Closing Time</th> | 
				
			||||
 | 
					                            <tbody> | 
				
			||||
 | 
					                                <t t-foreach="working_time" | 
				
			||||
 | 
					                                   t-as="working_time_obj"> | 
				
			||||
 | 
					                                    <tr> | 
				
			||||
 | 
					                                        <td> | 
				
			||||
 | 
					                                            <span t-field="working_time_obj.name"/> | 
				
			||||
 | 
					                                        </td> | 
				
			||||
 | 
					                                        <td> | 
				
			||||
 | 
					                                            <span t-field="working_time_obj.from_time" | 
				
			||||
 | 
					                                                  t-options='{"widget": "float_time"}'/> | 
				
			||||
 | 
					                                        </td> | 
				
			||||
 | 
					                                        <td> | 
				
			||||
 | 
					                                            <span t-field="working_time_obj.to_time" | 
				
			||||
 | 
					                                                  t-options='{"widget": "float_time"}'/> | 
				
			||||
 | 
					                                        </td> | 
				
			||||
 | 
					                                    </tr> | 
				
			||||
 | 
					                                </t> | 
				
			||||
 | 
					                            </tbody> | 
				
			||||
 | 
					                        </table> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                    <div class="col-lg-6 s_title pt16 pb16"> | 
				
			||||
 | 
					                        <h3>Book Your Chair</h3> | 
				
			||||
 | 
					                        <form> | 
				
			||||
 | 
					                            <div class="row s_nb_column_fixed"> | 
				
			||||
 | 
					                                <div class="col-lg-2 s_title pt16 pb16 field_booking_chair"> | 
				
			||||
 | 
					                                    NAME | 
				
			||||
 | 
					                                </div> | 
				
			||||
 | 
					                                <div class="col-lg-10 s_title pt16 pb16"> | 
				
			||||
 | 
					                                    <input type="text" id="name" required="1" | 
				
			||||
 | 
					                                           placeholder="Enter your Name"/> | 
				
			||||
 | 
					                                </div> | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                            <div class="row s_nb_column_fixed"> | 
				
			||||
 | 
					                                <div class="col-lg-2 s_title pt16 pb16 field_booking_chair"> | 
				
			||||
 | 
					                                    SERVICES | 
				
			||||
 | 
					                                </div> | 
				
			||||
 | 
					                                <div class="col-lg-10 s_title pt16 pb16"> | 
				
			||||
 | 
					                                    <div class="selection_service"> | 
				
			||||
 | 
					                                        <div style="padding-left: 15px;padding-top: 15px;"> | 
				
			||||
 | 
					                                            <t t-foreach="salon_services" | 
				
			||||
 | 
					                                               t-as="service"> | 
				
			||||
 | 
					                                                <div> | 
				
			||||
 | 
					                                                    <input type="checkbox" | 
				
			||||
 | 
					                                                           t-att-service-id="service.id" | 
				
			||||
 | 
					                                                           class="check_box_salon"/> | 
				
			||||
 | 
					                                                    <label for="service.id" | 
				
			||||
 | 
					                                                           t-esc="service.name"/> | 
				
			||||
 | 
					                                                </div> | 
				
			||||
 | 
					                                            </t> | 
				
			||||
 | 
					                                        </div> | 
				
			||||
 | 
					                                    </div> | 
				
			||||
 | 
					                                </div> | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                            <div class="row s_nb_column_fixed"> | 
				
			||||
 | 
					                                <div class="col-lg-2 s_title field_booking_chair"> | 
				
			||||
 | 
					                                    DATE | 
				
			||||
 | 
					                                </div> | 
				
			||||
 | 
					                                <div class="col-lg-10 s_title pt16 pb16 row"> | 
				
			||||
 | 
					                                    <div class="col-lg-4 s_title pt16 pb16"> | 
				
			||||
 | 
					                                        <input type="date" id="date" | 
				
			||||
 | 
					                                               required="1" | 
				
			||||
 | 
					                                               placeholder="dd/mm/yyyy" | 
				
			||||
 | 
					                                               onkeyup="var v = this.value;if (v.match(/^\d{2}$/) !== null) {this.value = v + '/';} else if (v.match(/^\d{2}\/\d{2}$/) !== null) {this.value = v + '/';}" | 
				
			||||
 | 
					                                               maxlength="10"/> | 
				
			||||
 | 
					                                    </div> | 
				
			||||
 | 
					                                    <div class="col-lg-3 s_title pt16 pb16"> | 
				
			||||
 | 
					                                        <input type="text" id="time" | 
				
			||||
 | 
					                                               required="1" | 
				
			||||
 | 
					                                               placeholder="HH:MM" | 
				
			||||
 | 
					                                               onkeyup="var v = this.value;if (v.match(/^\d{2}$/) !== null) {this.value = v + ':';}" | 
				
			||||
 | 
					                                               maxlength="5"/> | 
				
			||||
 | 
					                                    </div> | 
				
			||||
 | 
					                                    <div class="col-lg-5 s_title pt16 pb16" | 
				
			||||
 | 
					                                         style="font-size: 12px;"> | 
				
			||||
 | 
					                                        (Select date & time based on | 
				
			||||
 | 
					                                        availability of chair) | 
				
			||||
 | 
					                                    </div> | 
				
			||||
 | 
					                                </div> | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                            <div class="row s_nb_column_fixed"> | 
				
			||||
 | 
					                                <div class="col-lg-2 s_title pt16 pb16 field_booking_chair"> | 
				
			||||
 | 
					                                    CHAIR | 
				
			||||
 | 
					                                </div> | 
				
			||||
 | 
					                                <div class="col-lg-10 s_title pt16 pb16 row"> | 
				
			||||
 | 
					                                    <div class="col-lg-5 s_title pt16 pb16"> | 
				
			||||
 | 
					                                        <select id="chair" required="True"> | 
				
			||||
 | 
					                                            <t t-esc="chair_details"/> | 
				
			||||
 | 
					                                            <t t-foreach="chair_details" | 
				
			||||
 | 
					                                               t-as="chair"> | 
				
			||||
 | 
					                                                <option t-att-value="chair.id" | 
				
			||||
 | 
					                                                        t-esc="chair.name"/> | 
				
			||||
 | 
					                                            </t> | 
				
			||||
 | 
					                                        </select> | 
				
			||||
 | 
					                                    </div> | 
				
			||||
 | 
					                                    <div class="col-lg-7 s_title pt16 pb16" | 
				
			||||
 | 
					                                         style="font-size: 12px;"> | 
				
			||||
 | 
					                                        (Select the chair that free in the | 
				
			||||
 | 
					                                        preferred time) | 
				
			||||
 | 
					                                    </div> | 
				
			||||
 | 
					                                </div> | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                            <div class="row s_nb_column_fixed"> | 
				
			||||
 | 
					                                <div class="col-lg-2 s_title pt16 pb16 field_booking_chair"> | 
				
			||||
 | 
					                                    PHONE | 
				
			||||
 | 
					                                </div> | 
				
			||||
 | 
					                                <div class="col-lg-10 s_title pt16 pb16"> | 
				
			||||
 | 
					                                    <input type="text" id="phone" | 
				
			||||
 | 
					                                           required="1" | 
				
			||||
 | 
					                                           placeholder="Enter your Phone number(eg:999**12345)"/> | 
				
			||||
 | 
					                                </div> | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                            <div class="row s_nb_column_fixed"> | 
				
			||||
 | 
					                                <div class="col-lg-2 s_title pt16 pb16 field_booking_chair"> | 
				
			||||
 | 
					                                    E-MAIL | 
				
			||||
 | 
					                                </div> | 
				
			||||
 | 
					                                <div class="col-lg-10 s_title pt16 pb16"> | 
				
			||||
 | 
					                                    <input type="email" id="email" | 
				
			||||
 | 
					                                           required="1" | 
				
			||||
 | 
					                                           placeholder="Enter your E-Mail Address(eg:example@gmail.com)"/> | 
				
			||||
 | 
					                                </div> | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                            <div class="row s_nb_column_fixed"> | 
				
			||||
 | 
					                                <div class="col-lg-12 s_title pt16 pb16"> | 
				
			||||
 | 
					                                    <button type="button" id="send_button" | 
				
			||||
 | 
					                                            t-on-click="ClickSend" | 
				
			||||
 | 
					                                            class="btn btn-primary btn-md o_website_form_send"> | 
				
			||||
 | 
					                                        Send | 
				
			||||
 | 
					                                    </button> | 
				
			||||
 | 
					                                </div> | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                        </form> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                </div> | 
				
			||||
 | 
					                <div> | 
				
			||||
 | 
					                    <section id="chair_details"> | 
				
			||||
 | 
					                        <div class="container"> | 
				
			||||
 | 
					                            <h3>Already Booked Chairs and Details</h3> | 
				
			||||
 | 
					                            <hr/> | 
				
			||||
 | 
					                            <div class="row s_nb_column_fixed"> | 
				
			||||
 | 
					                                <div class="col-lg-12 s_title pt16 pb16"> | 
				
			||||
 | 
					                                    <div class="row"> | 
				
			||||
 | 
					                                        <div class="col-lg-5 s_title pt16 pb16"> | 
				
			||||
 | 
					                                            <div class="row"> | 
				
			||||
 | 
					                                                <div class="col-lg-2 s_title pt16 pb16"> | 
				
			||||
 | 
					                                                    DATE : | 
				
			||||
 | 
					                                                </div> | 
				
			||||
 | 
					                                                <div class="col-lg-6 s_title pt16 pb16"> | 
				
			||||
 | 
					                                                    <input id="check_date" | 
				
			||||
 | 
					                                                           type="date" | 
				
			||||
 | 
					                                                           placeholder="Select a date"/> | 
				
			||||
 | 
					                                                </div> | 
				
			||||
 | 
					                                                <div class="col-lg-4 s_title pt16 pb16"> | 
				
			||||
 | 
					                                                    <button type="submit" | 
				
			||||
 | 
					                                                            id="check_button" | 
				
			||||
 | 
					                                                            t-on-click="ClickCheckButton" | 
				
			||||
 | 
					                                                            class="btn btn-primary btn-md o_website_form_send"> | 
				
			||||
 | 
					                                                        Check | 
				
			||||
 | 
					                                                    </button> | 
				
			||||
 | 
					                                                </div> | 
				
			||||
 | 
					                                            </div> | 
				
			||||
 | 
					                                        </div> | 
				
			||||
 | 
					                                        <div class="col-lg-3 s_title pt16 pb16"> | 
				
			||||
 | 
					                                            <div class="col-lg-12 s_title pt16 pb16" | 
				
			||||
 | 
					                                                 id="searched_date"> | 
				
			||||
 | 
					                                                DATE : | 
				
			||||
 | 
					                                                <t t-esc="date_search"/> | 
				
			||||
 | 
					                                            </div> | 
				
			||||
 | 
					                                        </div> | 
				
			||||
 | 
					                                        <div class="col-lg-4 s_title pt16 pb16 row"> | 
				
			||||
 | 
					                                            <div class="col-lg-4 s_title pt16 pb16"> | 
				
			||||
 | 
					                                                HOLIDAYS : | 
				
			||||
 | 
					                                            </div> | 
				
			||||
 | 
					                                            <div t-foreach="holiday" | 
				
			||||
 | 
					                                                 t-as="holiday_obj" | 
				
			||||
 | 
					                                                 class="col-lg-2 s_title pt16 pb16"> | 
				
			||||
 | 
					                                                <span t-field="holiday_obj.name"/> | 
				
			||||
 | 
					                                                <span>&nbsp;</span> | 
				
			||||
 | 
					                                            </div> | 
				
			||||
 | 
					                                        </div> | 
				
			||||
 | 
					                                    </div> | 
				
			||||
 | 
					                                </div> | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                            <div id="booking_chair_div" | 
				
			||||
 | 
					                                 class="col-lg-12 s_title pt16 pb16 row"> | 
				
			||||
 | 
					                                <div t-foreach="chair_details" t-as="chair_obj" | 
				
			||||
 | 
					                                     class="col-lg-4 s_title pt16 pb16"> | 
				
			||||
 | 
					                                    <div t-if="chair_obj.active_booking_chairs == 1"> | 
				
			||||
 | 
					                                        <div style="height: 200px!important; text-align: center; border: 1px solid #666;padding: 15px 0px;box-shadow: 7px 8px 5px #888888;background-color:#7c7bad;border-radius:58px;color:#fff;margin-bottom: 10px;"> | 
				
			||||
 | 
					                                            <span style="font-size: 15px;" | 
				
			||||
 | 
					                                                  t-field="chair_obj.name"/> | 
				
			||||
 | 
					                                            <br/> | 
				
			||||
 | 
					                                            <a style="color:#fff;font-size:15px;"> | 
				
			||||
 | 
					                                                Order Details | 
				
			||||
 | 
					                                            </a> | 
				
			||||
 | 
					                                            <div id="style-2" | 
				
			||||
 | 
					                                                 style="overflow-y:scroll;height:105px;padding-right:25px;padding-left:25px;margin-right:10px;"> | 
				
			||||
 | 
					                                                <table class="table"> | 
				
			||||
 | 
					                                                    <th style="font-size:11px;background:#7c7bad;"> | 
				
			||||
 | 
					                                                        Order No. | 
				
			||||
 | 
					                                                    </th> | 
				
			||||
 | 
					                                                    <th style="font-size:11px;background:#7c7bad;"> | 
				
			||||
 | 
					                                                        Start Time | 
				
			||||
 | 
					                                                    </th> | 
				
			||||
 | 
					                                                    <th style="font-size:11px;background:#7c7bad;"> | 
				
			||||
 | 
					                                                        End Time | 
				
			||||
 | 
					                                                    </th> | 
				
			||||
 | 
					                                                    <div> | 
				
			||||
 | 
					                                                        <tbody style="font-size: 10px;"> | 
				
			||||
 | 
					                                                            <t t-foreach="order_details" | 
				
			||||
 | 
					                                                               t-as="order_obj"> | 
				
			||||
 | 
					                                                                <t t-if="order_obj.chair_id.id == chair_obj.id"> | 
				
			||||
 | 
					                                                                    <tr> | 
				
			||||
 | 
					                                                                        <td style="background:#7c7bad;"> | 
				
			||||
 | 
					                                                                            <span t-field="order_obj.id"/> | 
				
			||||
 | 
					                                                                            . | 
				
			||||
 | 
					                                                                        </td> | 
				
			||||
 | 
					                                                                        <td style="background:#7c7bad;"> | 
				
			||||
 | 
					                                                                            <span t-field="order_obj.start_time" | 
				
			||||
 | 
					                                                                                  t-options='{"format": "HH:mm"}'/> | 
				
			||||
 | 
					                                                                        </td> | 
				
			||||
 | 
					                                                                        <td style="background:#7c7bad;"> | 
				
			||||
 | 
					                                                                            <span t-field="order_obj.end_time" | 
				
			||||
 | 
					                                                                                  t-options='{"format": "HH:mm"}'/> | 
				
			||||
 | 
					                                                                        </td> | 
				
			||||
 | 
					                                                                    </tr> | 
				
			||||
 | 
					                                                                </t> | 
				
			||||
 | 
					                                                            </t> | 
				
			||||
 | 
					                                                        </tbody> | 
				
			||||
 | 
					                                                    </div> | 
				
			||||
 | 
					                                                </table> | 
				
			||||
 | 
					                                            </div> | 
				
			||||
 | 
					                                        </div> | 
				
			||||
 | 
					                                    </div> | 
				
			||||
 | 
					                                </div> | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                        </div> | 
				
			||||
 | 
					                    </section> | 
				
			||||
 | 
					                </div> | 
				
			||||
 | 
					            </div> | 
				
			||||
 | 
					        </t> | 
				
			||||
 | 
					    </template> | 
				
			||||
 | 
					    <!--    Template to view thank you message after register via portal--> | 
				
			||||
 | 
					    <template id="salon_booking_thank_you" name="Thank you"> | 
				
			||||
 | 
					        <t t-call="website.layout"> | 
				
			||||
 | 
					            <form> | 
				
			||||
 | 
					                <center> | 
				
			||||
 | 
					                    <div> | 
				
			||||
 | 
					                        <span class="d-block fa fa-4x fa-thumbs-up mx-auto rounded-circle bg-primary"/> | 
				
			||||
 | 
					                        <br/> | 
				
			||||
 | 
					                        <h1 class="text-center">Thank You!</h1> | 
				
			||||
 | 
					                        <div class="pb16 pt16 s_hr" data-snippet="s_hr" data-name="Separator"> | 
				
			||||
 | 
					                            <hr class="mx-auto border-top w-50 border-dark text-center"/> | 
				
			||||
 | 
					                        </div> | 
				
			||||
 | 
					                        <p class="lead">Your request has been successfully submitted. | 
				
			||||
 | 
					                        </p> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                </center> | 
				
			||||
 | 
					            </form> | 
				
			||||
 | 
					        </t> | 
				
			||||
 | 
					    </template> | 
				
			||||
 | 
					</odoo> | 
				
			||||
@ -0,0 +1,60 @@ | 
				
			|||||
 | 
					<?xml version="1.0" encoding="utf-8" ?> | 
				
			||||
 | 
					<odoo> | 
				
			||||
 | 
					    <!--   Salon booking view form--> | 
				
			||||
 | 
					    <record id="salon_booking_view_form" model="ir.ui.view"> | 
				
			||||
 | 
					        <field name="name">salon.booking.view.form</field> | 
				
			||||
 | 
					        <field name="model">salon.booking</field> | 
				
			||||
 | 
					        <field name="arch" type="xml"> | 
				
			||||
 | 
					            <form> | 
				
			||||
 | 
					                <header> | 
				
			||||
 | 
					                    <button name="action_approve_booking" invisible="state != 'draft'" string="Approve" | 
				
			||||
 | 
					                            class="oe_highlight" type="object"/> | 
				
			||||
 | 
					                    <button name="action_reject_booking" invisible="state != 'draft'" string="Reject" | 
				
			||||
 | 
					                            class="oe_highlight" type="object"/> | 
				
			||||
 | 
					                    <field name="state" widget="statusbar" statusbar_visible="draft,approved,rejected"/> | 
				
			||||
 | 
					                </header> | 
				
			||||
 | 
					                <sheet> | 
				
			||||
 | 
					                    <group> | 
				
			||||
 | 
					                        <group> | 
				
			||||
 | 
					                            <field name="name"/> | 
				
			||||
 | 
					                            <field name="phone"/> | 
				
			||||
 | 
					                            <field name="service_ids" widget="many2many_tags"/> | 
				
			||||
 | 
					                        </group> | 
				
			||||
 | 
					                        <group> | 
				
			||||
 | 
					                            <field name="time"/> | 
				
			||||
 | 
					                            <field name="email"/> | 
				
			||||
 | 
					                            <field name="chair_id"/> | 
				
			||||
 | 
					                            <field name="company_id" invisible="1"/> | 
				
			||||
 | 
					                        </group> | 
				
			||||
 | 
					                    </group> | 
				
			||||
 | 
					                    <notebook> | 
				
			||||
 | 
					                        <page string="Current Bookings"> | 
				
			||||
 | 
					                            <field name="filtered_order_ids"/> | 
				
			||||
 | 
					                        </page> | 
				
			||||
 | 
					                    </notebook> | 
				
			||||
 | 
					                </sheet> | 
				
			||||
 | 
					            </form> | 
				
			||||
 | 
					        </field> | 
				
			||||
 | 
					    </record> | 
				
			||||
 | 
					    <!--  Salons booking view tree--> | 
				
			||||
 | 
					    <record id="salons_booking_view_tree" model="ir.ui.view"> | 
				
			||||
 | 
					        <field name="name">salon.booking.view.tree</field> | 
				
			||||
 | 
					        <field name="model">salon.booking</field> | 
				
			||||
 | 
					        <field name="arch" type="xml"> | 
				
			||||
 | 
					            <list decoration-info="state == 'draft'"> | 
				
			||||
 | 
					                <field name="name"/> | 
				
			||||
 | 
					                <field name="time"/> | 
				
			||||
 | 
					                <field name="phone"/> | 
				
			||||
 | 
					                <field name="email"/> | 
				
			||||
 | 
					                <field name="state" widget="badge" decoration-info="state == 'draft'" | 
				
			||||
 | 
					                       decoration-success="state == 'approved'" decoration-danger="state == 'rejected'"/> | 
				
			||||
 | 
					            </list> | 
				
			||||
 | 
					        </field> | 
				
			||||
 | 
					    </record> | 
				
			||||
 | 
					    <!-- Salon booking action--> | 
				
			||||
 | 
					    <record id="salon_booking_action" model="ir.actions.act_window"> | 
				
			||||
 | 
					        <field name="name">Salon Bookings</field> | 
				
			||||
 | 
					        <field name="res_model">salon.booking</field> | 
				
			||||
 | 
					        <field name="view_mode">list,form</field> | 
				
			||||
 | 
					    </record> | 
				
			||||
 | 
					</odoo> | 
				
			||||
@ -0,0 +1,62 @@ | 
				
			|||||
 | 
					<?xml version="1.0" encoding="utf-8"?> | 
				
			||||
 | 
					<odoo> | 
				
			||||
 | 
					    <!--    Salon chair action--> | 
				
			||||
 | 
					    <record id="salon_chair_action" model="ir.actions.act_window"> | 
				
			||||
 | 
					        <field name="name">Chairs</field> | 
				
			||||
 | 
					        <field name="res_model">salon.chair</field> | 
				
			||||
 | 
					        <field name="view_mode">list,form</field> | 
				
			||||
 | 
					    </record> | 
				
			||||
 | 
					    <!--    Salon chair view form--> | 
				
			||||
 | 
					    <record id="salon_chair_view_form" model="ir.ui.view"> | 
				
			||||
 | 
					        <field name="name">salon.chair.view.form</field> | 
				
			||||
 | 
					        <field name="model">salon.chair</field> | 
				
			||||
 | 
					        <field name="arch" type="xml"> | 
				
			||||
 | 
					            <form> | 
				
			||||
 | 
					                <sheet> | 
				
			||||
 | 
					                    <h1> | 
				
			||||
 | 
					                        <field name="name"/> | 
				
			||||
 | 
					                    </h1> | 
				
			||||
 | 
					                    <group> | 
				
			||||
 | 
					                        <group> | 
				
			||||
 | 
					                            <field name="user_id" /> | 
				
			||||
 | 
					                            <field name="number_of_orders" invisible="1"/> | 
				
			||||
 | 
					                            <field name="collection_today" invisible="1"/> | 
				
			||||
 | 
					                            <field name="active_booking_chairs" invisible="1"/> | 
				
			||||
 | 
					                        </group> | 
				
			||||
 | 
					                        <group> | 
				
			||||
 | 
					                            <field name="date"/> | 
				
			||||
 | 
					                        </group> | 
				
			||||
 | 
					                    </group> | 
				
			||||
 | 
					                    <notebook> | 
				
			||||
 | 
					                        <page string="Users"> | 
				
			||||
 | 
					                            <field name="user_line" mode="list"> | 
				
			||||
 | 
					                                <list string="Salon User Lines" | 
				
			||||
 | 
					                                      editable="bottom" delete="false"> | 
				
			||||
 | 
					                                    <field name="read_only_checker" | 
				
			||||
 | 
					                                           column_invisible="1"/> | 
				
			||||
 | 
					                                    <field name="user_id" | 
				
			||||
 | 
					                                           domain="[('user_salon_active', '=', False)]" | 
				
			||||
 | 
					                                           readonly="read_only_checker" | 
				
			||||
 | 
					                                           options="{'no_create': True}"/> | 
				
			||||
 | 
					                                    <field name="start_date" readonly="read_only_checker"/> | 
				
			||||
 | 
					                                    <field name="end_date"/> | 
				
			||||
 | 
					                                </list> | 
				
			||||
 | 
					                            </field> | 
				
			||||
 | 
					                        </page> | 
				
			||||
 | 
					                    </notebook> | 
				
			||||
 | 
					                </sheet> | 
				
			||||
 | 
					            </form> | 
				
			||||
 | 
					        </field> | 
				
			||||
 | 
					    </record> | 
				
			||||
 | 
					    <!--    Salon chair view tree--> | 
				
			||||
 | 
					    <record id="salon_chair_view_tree" model="ir.ui.view"> | 
				
			||||
 | 
					        <field name="name">salon.chair.view.tree</field> | 
				
			||||
 | 
					        <field name="model">salon.chair</field> | 
				
			||||
 | 
					        <field name="arch" type="xml"> | 
				
			||||
 | 
					            <list> | 
				
			||||
 | 
					                <field name="name"/> | 
				
			||||
 | 
					                <field name="user_id"/> | 
				
			||||
 | 
					            </list> | 
				
			||||
 | 
					        </field> | 
				
			||||
 | 
					    </record> | 
				
			||||
 | 
					</odoo> | 
				
			||||
@ -0,0 +1,37 @@ | 
				
			|||||
 | 
					<?xml version="1.0" encoding="utf-8" ?> | 
				
			||||
 | 
					<odoo> | 
				
			||||
 | 
					    <data> | 
				
			||||
 | 
					        <!--  Salon management menus --> | 
				
			||||
 | 
					        <menuitem id="salon_management_menu_root" name="Salon" | 
				
			||||
 | 
					                  groups="salon_management.group_salon_user" | 
				
			||||
 | 
					                  action="salon_management_client_action" | 
				
			||||
 | 
					                  web_icon="salon_management,static/description/icon.png"/> | 
				
			||||
 | 
					        <menuitem id="salon_dashboard_menu_action" | 
				
			||||
 | 
					                  name="Dashboard" parent="salon_management_menu_root" | 
				
			||||
 | 
					                  action="salon_management_client_action" | 
				
			||||
 | 
					                  sequence="-100"/> | 
				
			||||
 | 
					        <menuitem id="salon_management_salon_root" name="Salon" | 
				
			||||
 | 
					                  parent="salon_management_menu_root"/> | 
				
			||||
 | 
					        <menuitem id="salon_chair_menu_action" name="Chair" | 
				
			||||
 | 
					                  parent="salon_management_salon_root" | 
				
			||||
 | 
					                  action="salon_chair_action"/> | 
				
			||||
 | 
					        <menuitem id="salon_service_menu_action" | 
				
			||||
 | 
					                  parent="salon_management_salon_root" | 
				
			||||
 | 
					                  action="salon_service_action"/> | 
				
			||||
 | 
					        <menuitem id="salon_order_menu_action" | 
				
			||||
 | 
					                  parent="salon_management_salon_root" name="Salon Orders" | 
				
			||||
 | 
					                  action="salon_order_action"/> | 
				
			||||
 | 
					        <menuitem id="salon_booking_menu_action" name="Bookings" | 
				
			||||
 | 
					                  parent="salon_management_salon_root" | 
				
			||||
 | 
					                  action="salon_booking_action"/> | 
				
			||||
 | 
					        <menuitem id="salon_management_settings_menu_root" | 
				
			||||
 | 
					                  parent="salon_management_menu_root" name="Configuration"/> | 
				
			||||
 | 
					        <menuitem id="salon_config_settings_menu_action" | 
				
			||||
 | 
					                  parent="salon_management_settings_menu_root" name="Settings" | 
				
			||||
 | 
					                  action="res_config_settings_action"/> | 
				
			||||
 | 
					        <menuitem id="salon_working_hours_menu_action" | 
				
			||||
 | 
					                  parent="salon_management_settings_menu_root" | 
				
			||||
 | 
					                  name="Working Hours" action="salon_working_hours_action"/> | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    </data> | 
				
			||||
 | 
					</odoo> | 
				
			||||
@ -0,0 +1,269 @@ | 
				
			|||||
 | 
					<?xml version="1.0" encoding="utf-8" ?> | 
				
			||||
 | 
					<odoo> | 
				
			||||
 | 
					    <!-- Salon order view tree--> | 
				
			||||
 | 
					    <record id="salon_order_view_tree" model="ir.ui.view"> | 
				
			||||
 | 
					        <field name="name">salon.order.view.tree</field> | 
				
			||||
 | 
					        <field name="model">salon.order</field> | 
				
			||||
 | 
					        <field name="arch" type="xml"> | 
				
			||||
 | 
					            <list> | 
				
			||||
 | 
					                <field name="name"/> | 
				
			||||
 | 
					                <field name="chair_id"/> | 
				
			||||
 | 
					                <field name="start_time"/> | 
				
			||||
 | 
					                <field name="end_time"/> | 
				
			||||
 | 
					                <field name="currency_id" column_invisible="1"/> | 
				
			||||
 | 
					                <field name="time_taken_total" widget="float_time"/> | 
				
			||||
 | 
					                <field name="price_subtotal" widget="monetary"/> | 
				
			||||
 | 
					                <field name="stage_id"/> | 
				
			||||
 | 
					            </list> | 
				
			||||
 | 
					        </field> | 
				
			||||
 | 
					    </record> | 
				
			||||
 | 
					    <!-- Salon order view kanban--> | 
				
			||||
 | 
					    <record id="salon_order_view_kanban" model="ir.ui.view"> | 
				
			||||
 | 
					        <field name="name">salon.order.view.kanban</field> | 
				
			||||
 | 
					        <field name="model">salon.order</field> | 
				
			||||
 | 
					        <field name="arch" type="xml"> | 
				
			||||
 | 
					            <kanban default_group_by="stage_id" | 
				
			||||
 | 
					                    class="o_kanban_small_column" quick_create="false" | 
				
			||||
 | 
					                    on_create="quick_create"> | 
				
			||||
 | 
					                <field name="color"/> | 
				
			||||
 | 
					                <field name="stage_id"/> | 
				
			||||
 | 
					                <field name="currency_id" invisible="1"/> | 
				
			||||
 | 
					                <templates> | 
				
			||||
 | 
					                    <t t-name="kanban-box"> | 
				
			||||
 | 
					                        <div t-attf-class="#{kanban_color(record.color.raw_value)} oe_kanban_global_click"> | 
				
			||||
 | 
					                            <div class="o_dropdown_kanban dropdown"> | 
				
			||||
 | 
					                                <a role="button" | 
				
			||||
 | 
					                                   class="dropdown-toggle o-no-caret btn" | 
				
			||||
 | 
					                                   data-toggle="dropdown" href="#" | 
				
			||||
 | 
					                                   aria-label="Dropdown menu" | 
				
			||||
 | 
					                                   title="Dropdown menu"> | 
				
			||||
 | 
					                                    <span class="fa fa-ellipsis-v"/> | 
				
			||||
 | 
					                                </a> | 
				
			||||
 | 
					                                <div class="dropdown-menu" role="menu"> | 
				
			||||
 | 
					                                    <t t-if="widget.editable"> | 
				
			||||
 | 
					                                        <a role="menuitem" type="edit" | 
				
			||||
 | 
					                                           class="dropdown-item">Edit... | 
				
			||||
 | 
					                                        </a> | 
				
			||||
 | 
					                                    </t> | 
				
			||||
 | 
					                                    <t t-if="widget.deletable"> | 
				
			||||
 | 
					                                        <a role="menuitem" type="delete" | 
				
			||||
 | 
					                                           class="dropdown-item">Delete | 
				
			||||
 | 
					                                        </a> | 
				
			||||
 | 
					                                    </t> | 
				
			||||
 | 
					                                    <ul class="oe_kanban_colorpicker" | 
				
			||||
 | 
					                                        data-field="color"/> | 
				
			||||
 | 
					                                </div> | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                            <div class="oe_kanban_content"> | 
				
			||||
 | 
					                                <div> | 
				
			||||
 | 
					                                    <strong> | 
				
			||||
 | 
					                                        <field name="name"/> | 
				
			||||
 | 
					                                    </strong> | 
				
			||||
 | 
					                                </div> | 
				
			||||
 | 
					                                <div class="text-muted"> | 
				
			||||
 | 
					                                    <a>Customer :</a> | 
				
			||||
 | 
					                                    <field name="customer_name"/> | 
				
			||||
 | 
					                                    <div style="float: right;"> | 
				
			||||
 | 
					                                        <a>Chair :</a> | 
				
			||||
 | 
					                                        <field name="chair_id"/> | 
				
			||||
 | 
					                                    </div> | 
				
			||||
 | 
					                                </div> | 
				
			||||
 | 
					                                <div class="text-muted"> | 
				
			||||
 | 
					                                    <a>Amount :</a> | 
				
			||||
 | 
					                                    <field name="price_subtotal" | 
				
			||||
 | 
					                                           widget="monetary"/> | 
				
			||||
 | 
					                                </div> | 
				
			||||
 | 
					                                <div class="text-muted"> | 
				
			||||
 | 
					                                    <a>Total time taken :</a> | 
				
			||||
 | 
					                                    <field name="time_taken_total" | 
				
			||||
 | 
					                                           widget="float_time"/> | 
				
			||||
 | 
					                                </div> | 
				
			||||
 | 
					                                <div class="text-muted"> | 
				
			||||
 | 
					                                    <a>Date :</a> | 
				
			||||
 | 
					                                    <field name="date"/> | 
				
			||||
 | 
					                                </div> | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                            <div class="oe_clear"/> | 
				
			||||
 | 
					                        </div> | 
				
			||||
 | 
					                    </t> | 
				
			||||
 | 
					                </templates> | 
				
			||||
 | 
					            </kanban> | 
				
			||||
 | 
					        </field> | 
				
			||||
 | 
					    </record> | 
				
			||||
 | 
					    <!-- Salon order view form--> | 
				
			||||
 | 
					    <record id="salon_order_view_form" model="ir.ui.view"> | 
				
			||||
 | 
					        <field name="name">salon.order.view.form</field> | 
				
			||||
 | 
					        <field name="model">salon.order</field> | 
				
			||||
 | 
					        <field name="arch" type="xml"> | 
				
			||||
 | 
					            <form> | 
				
			||||
 | 
					                <header> | 
				
			||||
 | 
					                    <button name="action_validate" | 
				
			||||
 | 
					                            invisible="stage_id != 1 or validation_controller == True" | 
				
			||||
 | 
					                            string="Validate" type="object" | 
				
			||||
 | 
					                            class="oe_highlight"/> | 
				
			||||
 | 
					                    <button name="action_confirm" | 
				
			||||
 | 
					                            invisible="stage_id != 1 or validation_controller != True" | 
				
			||||
 | 
					                            string="Confirm" type="object" | 
				
			||||
 | 
					                            class="oe_highlight"/> | 
				
			||||
 | 
					                    <button name="action_create_invoice" | 
				
			||||
 | 
					                            invisible="stage_id != 2" | 
				
			||||
 | 
					                            string="Create Invoice" type="object" | 
				
			||||
 | 
					                            class="oe_highlight"/> | 
				
			||||
 | 
					                    <button name="action_cancel" string="Cancel" | 
				
			||||
 | 
					                            invisible="stage_id not in [1,2]" | 
				
			||||
 | 
					                            type="object"/> | 
				
			||||
 | 
					                    <button name="action_close" | 
				
			||||
 | 
					                            invisible="stage_id != [1,2]" string="Close" | 
				
			||||
 | 
					                            type="object"/> | 
				
			||||
 | 
					                    <field name="stage_id" widget="statusbar" | 
				
			||||
 | 
					                           domain="[('id','in',[1,2,4])]"/> | 
				
			||||
 | 
					                </header> | 
				
			||||
 | 
					                <sheet> | 
				
			||||
 | 
					                    <div class="oe_button_box" name="button_box"> | 
				
			||||
 | 
					                        <button name="action_view_invoice_salon" | 
				
			||||
 | 
					                                type="object" class="oe_stat_button" | 
				
			||||
 | 
					                                icon="fa-pencil-square-o" | 
				
			||||
 | 
					                                invisible="stage_id not in [3,4]"> | 
				
			||||
 | 
					                            <field name="count" widget="statinfo" | 
				
			||||
 | 
					                                   string="Invoice"/> | 
				
			||||
 | 
					                        </button> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                    <group> | 
				
			||||
 | 
					                        <group> | 
				
			||||
 | 
					                            <field name="partner_id" | 
				
			||||
 | 
					                                   domain="[('partner_salon','=',True)]" | 
				
			||||
 | 
					                                   readonly="stage_id != 1"/> | 
				
			||||
 | 
					                            <field name="customer_name" | 
				
			||||
 | 
					                                   readonly="stage_id != 1"/> | 
				
			||||
 | 
					                            <field name="chair_id" | 
				
			||||
 | 
					                                   domain="[('active_booking_chairs','!=',True)]" | 
				
			||||
 | 
					                                   readonly="stage_id != 1" | 
				
			||||
 | 
					                                   options="{'no_create': True}"/> | 
				
			||||
 | 
					                            <field name="currency_id" invisible="1"/> | 
				
			||||
 | 
					                        </group> | 
				
			||||
 | 
					                        <group> | 
				
			||||
 | 
					                            <field name="booking_identifier" invisible="1"/> | 
				
			||||
 | 
					                            <field name="date" readonly="stage_id != 1"/> | 
				
			||||
 | 
					                            <field name="start_time" | 
				
			||||
 | 
					                                   readonly="stage_id != 1" | 
				
			||||
 | 
					                                   invisible="stage_id != 1 or booking_identifier != True"/> | 
				
			||||
 | 
					                            <field name="end_time" readonly="stage_id != 1" | 
				
			||||
 | 
					                                   invisible="stage_id != 1 or booking_identifier != True"/> | 
				
			||||
 | 
					                            <field name="inv_stage_identifier" | 
				
			||||
 | 
					                                   invisible="1"/> | 
				
			||||
 | 
					                            <field name="time_taken_total" invisible="1"/> | 
				
			||||
 | 
					                            <field name="validation_controller" | 
				
			||||
 | 
					                                   invisible="1"/> | 
				
			||||
 | 
					                        </group> | 
				
			||||
 | 
					                    </group> | 
				
			||||
 | 
					                    <notebook> | 
				
			||||
 | 
					                        <page string="Order Lines"> | 
				
			||||
 | 
					                            <field name="order_line_ids" mode="list,kanban" | 
				
			||||
 | 
					                                   readonly="stage_id != 1"> | 
				
			||||
 | 
					                                <form string="Salon Order Lines"> | 
				
			||||
 | 
					                                    <group> | 
				
			||||
 | 
					                                        <group> | 
				
			||||
 | 
					                                            <field name="service_id"/> | 
				
			||||
 | 
					                                            <field name="time_taken"/> | 
				
			||||
 | 
					                                            <field name="currency_id" | 
				
			||||
 | 
					                                                   invisible="1"/> | 
				
			||||
 | 
					                                            <field name="price" | 
				
			||||
 | 
					                                                   widget="monetary"/> | 
				
			||||
 | 
					                                        </group> | 
				
			||||
 | 
					                                    </group> | 
				
			||||
 | 
					                                </form> | 
				
			||||
 | 
					                                <list string="Salon Order Lines" | 
				
			||||
 | 
					                                      editable="bottom"> | 
				
			||||
 | 
					                                    <field name="service_id"/> | 
				
			||||
 | 
					                                    <field name="time_taken" | 
				
			||||
 | 
					                                           widget="float_time"/> | 
				
			||||
 | 
					                                    <field name="currency_id" | 
				
			||||
 | 
					                                           column_invisible="1"/> | 
				
			||||
 | 
					                                    <field name="price" widget="monetary"/> | 
				
			||||
 | 
					                                    <field name="price_subtotal" | 
				
			||||
 | 
					                                           widget="monetary"/> | 
				
			||||
 | 
					                                </list> | 
				
			||||
 | 
					                                <kanban class="o_kanban_mobile"> | 
				
			||||
 | 
					                                    <field name="service_id"/> | 
				
			||||
 | 
					                                    <field name="time_taken"/> | 
				
			||||
 | 
					                                    <field name="price_subtotal" | 
				
			||||
 | 
					                                           widget="monetary"/> | 
				
			||||
 | 
					                                    <templates> | 
				
			||||
 | 
					                                        <t t-name="kanban-box"> | 
				
			||||
 | 
					                                            <div t-attf-class="oe_kanban_card oe_kanban_global_click"> | 
				
			||||
 | 
					                                                <div class="row"> | 
				
			||||
 | 
					                                                    <div class="col-xs-12"> | 
				
			||||
 | 
					                                                        <strong> | 
				
			||||
 | 
					                                                            <span> | 
				
			||||
 | 
					                                                                <t t-esc="record.service_id.value"/> | 
				
			||||
 | 
					                                                            </span> | 
				
			||||
 | 
					                                                        </strong> | 
				
			||||
 | 
					                                                    </div> | 
				
			||||
 | 
					                                                </div> | 
				
			||||
 | 
					                                                <div class="row"> | 
				
			||||
 | 
					                                                    <div class="col-xs-4 text-muted"> | 
				
			||||
 | 
					                                                        <span class="pull-right text-right"> | 
				
			||||
 | 
					                                                            <t t-esc="record.time_taken.value"/> | 
				
			||||
 | 
					                                                        </span> | 
				
			||||
 | 
					                                                    </div> | 
				
			||||
 | 
					                                                </div> | 
				
			||||
 | 
					                                                <div class="row"> | 
				
			||||
 | 
					                                                    <div class="col-xs-4 text-muted"> | 
				
			||||
 | 
					                                                        <span class="pull-right text-right"> | 
				
			||||
 | 
					                                                            <t t-esc="record.price_subtotal.value"/> | 
				
			||||
 | 
					                                                        </span> | 
				
			||||
 | 
					                                                    </div> | 
				
			||||
 | 
					                                                </div> | 
				
			||||
 | 
					                                            </div> | 
				
			||||
 | 
					                                        </t> | 
				
			||||
 | 
					                                    </templates> | 
				
			||||
 | 
					                                </kanban> | 
				
			||||
 | 
					                            </field> | 
				
			||||
 | 
					                            <group class="oe_subtotal_footer oe_right" | 
				
			||||
 | 
					                                   colspan="2" name="salon_total"> | 
				
			||||
 | 
					                                <div class="oe_subtotal_footer_separator oe_inline o_td_label"> | 
				
			||||
 | 
					                                    <label for="price_subtotal"/> | 
				
			||||
 | 
					                                    <button name="action_update_total" | 
				
			||||
 | 
					                                            string="(update)" type="object" | 
				
			||||
 | 
					                                            class="oe_edit_only oe_link"/> | 
				
			||||
 | 
					                                </div> | 
				
			||||
 | 
					                                <field name="price_subtotal" nolabel="1" | 
				
			||||
 | 
					                                       class="oe_subtotal_footer_separator" | 
				
			||||
 | 
					                                       widget="monetary"/> | 
				
			||||
 | 
					                            </group> | 
				
			||||
 | 
					                            <field name="note" class="oe_inline" | 
				
			||||
 | 
					                                   placeholder="Setup default terms and conditions in your company settings."/> | 
				
			||||
 | 
					                            <div class="oe_clear"/> | 
				
			||||
 | 
					                        </page> | 
				
			||||
 | 
					                    </notebook> | 
				
			||||
 | 
					                </sheet> | 
				
			||||
 | 
					            </form> | 
				
			||||
 | 
					        </field> | 
				
			||||
 | 
					    </record> | 
				
			||||
 | 
					    <!-- Salon order action--> | 
				
			||||
 | 
					    <record id="salon_order_action" model="ir.actions.act_window"> | 
				
			||||
 | 
					        <field name="name">Salon Orders</field> | 
				
			||||
 | 
					        <field name="res_model">salon.order</field> | 
				
			||||
 | 
					        <field name="view_mode">kanban,list,form</field> | 
				
			||||
 | 
					        <field name="help" type="html"> | 
				
			||||
 | 
					            <p class="o_view_nocontent_smiling_face"> | 
				
			||||
 | 
					                No data yet! | 
				
			||||
 | 
					            </p> | 
				
			||||
 | 
					            <p>Create order to manage salon orders.</p> | 
				
			||||
 | 
					        </field> | 
				
			||||
 | 
					    </record> | 
				
			||||
 | 
					    <!-- Salon active orders dashboard action --> | 
				
			||||
 | 
					    <record id="salon_active_orders_dashboard_action" | 
				
			||||
 | 
					            model="ir.actions.act_window"> | 
				
			||||
 | 
					        <field name="name">Salon Orders</field> | 
				
			||||
 | 
					        <field name="res_model">salon.order</field> | 
				
			||||
 | 
					        <field name="view_mode">kanban,list,form</field> | 
				
			||||
 | 
					        <field name="help" type="html"> | 
				
			||||
 | 
					            <p class="o_view_nocontent_smiling_face"> | 
				
			||||
 | 
					                No Booking! | 
				
			||||
 | 
					            </p> | 
				
			||||
 | 
					            <p>Currently no booking for this chair</p> | 
				
			||||
 | 
					        </field> | 
				
			||||
 | 
					        <field name="domain">[('chair_id', '=', active_id)]</field> | 
				
			||||
 | 
					    </record> | 
				
			||||
 | 
					</odoo> | 
				
			||||
@ -0,0 +1,39 @@ | 
				
			|||||
 | 
					<?xml version="1.0" encoding="utf-8"?> | 
				
			||||
 | 
					<odoo> | 
				
			||||
 | 
					    <!--  Salon service action--> | 
				
			||||
 | 
					    <record id="salon_service_action" model="ir.actions.act_window"> | 
				
			||||
 | 
					        <field name="name">Services</field> | 
				
			||||
 | 
					        <field name="res_model">salon.service</field> | 
				
			||||
 | 
					        <field name="view_mode">list,form</field> | 
				
			||||
 | 
					    </record> | 
				
			||||
 | 
					    <!--  Salon service view form--> | 
				
			||||
 | 
					    <record id="salon_service_view_form" model="ir.ui.view"> | 
				
			||||
 | 
					        <field name="name">salon.service.view.form</field> | 
				
			||||
 | 
					        <field name="model">salon.service</field> | 
				
			||||
 | 
					        <field name="arch" type="xml"> | 
				
			||||
 | 
					            <form> | 
				
			||||
 | 
					                <sheet> | 
				
			||||
 | 
					                    <group> | 
				
			||||
 | 
					                        <field name="name"/> | 
				
			||||
 | 
					                        <field name="currency_id" invisible="1"/> | 
				
			||||
 | 
					                        <field name="price" widget="monetary"/> | 
				
			||||
 | 
					                        <field name="time_taken" widget="float_time"/> | 
				
			||||
 | 
					                    </group> | 
				
			||||
 | 
					                </sheet> | 
				
			||||
 | 
					            </form> | 
				
			||||
 | 
					        </field> | 
				
			||||
 | 
					    </record> | 
				
			||||
 | 
					    <!--    Salon service view tree--> | 
				
			||||
 | 
					    <record id="salon_service_view_tree" model="ir.ui.view"> | 
				
			||||
 | 
					        <field name="name">salon.service.view.tree</field> | 
				
			||||
 | 
					        <field name="model">salon.service</field> | 
				
			||||
 | 
					        <field name="arch" type="xml"> | 
				
			||||
 | 
					            <list editable="bottom"> | 
				
			||||
 | 
					                <field name="name"/> | 
				
			||||
 | 
					                <field name="currency_id" column_invisible="1"/> | 
				
			||||
 | 
					                <field name="price" widget="monetary"/> | 
				
			||||
 | 
					                <field name="time_taken" widget="float_time"/> | 
				
			||||
 | 
					            </list> | 
				
			||||
 | 
					        </field> | 
				
			||||
 | 
					    </record> | 
				
			||||
 | 
					</odoo> | 
				
			||||
@ -0,0 +1,43 @@ | 
				
			|||||
 | 
					<?xml version="1.0" encoding="utf-8"?> | 
				
			||||
 | 
					<odoo> | 
				
			||||
 | 
					    <!--    Salon working hours action--> | 
				
			||||
 | 
					    <record id="salon_working_hours_action" model="ir.actions.act_window"> | 
				
			||||
 | 
					        <field name="name">Working Hours</field> | 
				
			||||
 | 
					        <field name="res_model">salon.working.hours</field> | 
				
			||||
 | 
					        <field name="view_mode">list,form</field> | 
				
			||||
 | 
					    </record> | 
				
			||||
 | 
					    <!--    Salon working hours view form--> | 
				
			||||
 | 
					    <record id="salon_working_hours_view_form" model="ir.ui.view"> | 
				
			||||
 | 
					        <field name="name">salon.working.view.form</field> | 
				
			||||
 | 
					        <field name="model">salon.working.hours</field> | 
				
			||||
 | 
					        <field name="arch" type="xml"> | 
				
			||||
 | 
					            <form> | 
				
			||||
 | 
					                <sheet> | 
				
			||||
 | 
					                    <h1> | 
				
			||||
 | 
					                        <field name="name"/> | 
				
			||||
 | 
					                    </h1> | 
				
			||||
 | 
					                    <group> | 
				
			||||
 | 
					                        <group> | 
				
			||||
 | 
					                            <field name="from_time" widget="float_time"/> | 
				
			||||
 | 
					                        </group> | 
				
			||||
 | 
					                        <group> | 
				
			||||
 | 
					                            <field name="to_time" widget="float_time"/> | 
				
			||||
 | 
					                        </group> | 
				
			||||
 | 
					                    </group> | 
				
			||||
 | 
					                </sheet> | 
				
			||||
 | 
					            </form> | 
				
			||||
 | 
					        </field> | 
				
			||||
 | 
					    </record> | 
				
			||||
 | 
					    <!--    Salon working hours view tree--> | 
				
			||||
 | 
					    <record id="salon_working_hours_view_tree" model="ir.ui.view"> | 
				
			||||
 | 
					        <field name="name">salon.working.view.tree</field> | 
				
			||||
 | 
					        <field name="model">salon.working.hours</field> | 
				
			||||
 | 
					        <field name="arch" type="xml"> | 
				
			||||
 | 
					            <list editable="bottom"> | 
				
			||||
 | 
					                <field name="name"/> | 
				
			||||
 | 
					                <field name="from_time" widget="float_time"/> | 
				
			||||
 | 
					                <field name="to_time" widget="float_time"/> | 
				
			||||
 | 
					            </list> | 
				
			||||
 | 
					        </field> | 
				
			||||
 | 
					    </record> | 
				
			||||
 | 
					</odoo> | 
				
			||||