diff --git a/website_pre_booking/README.rst b/website_pre_booking/README.rst new file mode 100644 index 000000000..e22826a3a --- /dev/null +++ b/website_pre_booking/README.rst @@ -0,0 +1,48 @@ +.. image:: https://img.shields.io/badge/license-AGPL--3-blue.svg + :target: https://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +Website pre booking +=================== +This module will help you to managing prebooking management in website. + +Configuration +============= +* No additional configurations needed + +Company +------- +* `Cybrosys Techno Solutions `__ + +License +------- +Affero General Public License v3.0 (AGPL v3) +(https://www.odoo.com/documentation/16.0/legal/licenses.html) + +Credits +------- +Developer: (V17) Vishnu KP + (V18) Gayathri V +Contact : odoo@cybrosys.com + +Contacts +-------- +* Mail Contact : odoo@cybrosys.com +* Website : https://cybrosys.com + +Bug Tracker +----------- +Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. + +Maintainer +========== +.. image:: https://cybrosys.com/images/logo.png + :target: https://cybrosys.com + +This module is maintained by Cybrosys Technologies. + +For support and more information, please visit `Our Website `__ + +Further information +=================== +HTML Description: ``__ diff --git a/website_pre_booking/__init__.py b/website_pre_booking/__init__.py new file mode 100644 index 000000000..49be73308 --- /dev/null +++ b/website_pre_booking/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Gayathri V() +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################# +from . import controllers +from . import models diff --git a/website_pre_booking/__manifest__.py b/website_pre_booking/__manifest__.py new file mode 100644 index 000000000..52ad72ee4 --- /dev/null +++ b/website_pre_booking/__manifest__.py @@ -0,0 +1,55 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Gayathri V() +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################# +{ + 'name': 'Website Pre Booking', + 'version': '18.0.1.0.0', + 'category': 'Website', + 'summary': 'Allows pre booking option for website', + 'description': """This module will help you to managing prebooking of + product management in website""", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': "https://www.cybrosys.com", + 'depends': ['portal', 'website_sale'], + 'data': [ + 'security/ir.model.access.csv', + 'data/ir_sequence_data.xml', + 'views/portal_views.xml', + 'views/website_prebook_views.xml', + 'views/website_sale_inherit.xml', + 'views/prebook_details_template.xml', + 'views/pre_booking_template.xml', + 'views/product_template_views.xml', + ], + 'assets': { + 'web.assets_frontend': [ + '/website_pre_booking/static/src/css/prebooking.css', + '/website_pre_booking/static/src/js/pre_booking.js' + ], + }, + 'images': ['static/description/banner.png'], + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/website_pre_booking/controllers/__init__.py b/website_pre_booking/controllers/__init__.py new file mode 100644 index 000000000..8d3e16fc4 --- /dev/null +++ b/website_pre_booking/controllers/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Gayathri V() +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################# +from . import pre_booking_portal +from . import website_pre_booking diff --git a/website_pre_booking/controllers/pre_booking_portal.py b/website_pre_booking/controllers/pre_booking_portal.py new file mode 100644 index 000000000..ac6fcf1b8 --- /dev/null +++ b/website_pre_booking/controllers/pre_booking_portal.py @@ -0,0 +1,47 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Gayathri V() +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################# +from odoo import http, _ +from odoo.http import request +from odoo.addons.portal.controllers import portal + + +class CustomerPortal(portal.CustomerPortal): + """Used to manage a customer portal""" + def _prepare_home_portal_values(self, counters): + """Super the function to add new button in the home portal""" + values = super()._prepare_home_portal_values(counters) + if 'pre_bookings_count' in counters: + current_user = request.env['res.users'].sudo().browse( + request.env.uid) + pre_bookings_count = request.env['website.prebook'].search_count([('partner_id', '=', current_user.partner_id.id)]) + values['pre_bookings_count'] = pre_bookings_count + return values + + @http.route(['/my/pre_bookings'], type='http', auth="user", website=True) + def portal_my_pre_bookings(self, **kwargs): + """Function to view the logined user pre bookings in the account.""" + current_user = request.env['res.users'].sudo().browse(request.env.uid) + pre_booking = request.env['website.prebook'].sudo().search( + [('partner_id', '=', current_user.partner_id.id)]) + return request.render("website_pre_booking.portal_my_pre_bookings", + {'pre_bookings': pre_booking, + 'page_name': 'pre_booking'}) diff --git a/website_pre_booking/controllers/website_pre_booking.py b/website_pre_booking/controllers/website_pre_booking.py new file mode 100644 index 000000000..e8894c5e7 --- /dev/null +++ b/website_pre_booking/controllers/website_pre_booking.py @@ -0,0 +1,124 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Gayathri V() +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################# +from odoo import fields, http, _ +from odoo.http import request + + +class CustomerPortal(http.Controller): + """Used to manage a customer portal""" + + @http.route(['/my/prebook_request/'], + type='http', auth="public", website=True) + def portal_my_employee_request(self, product, **kwargs): + """Pre-book button to pre-book the product""" + if kwargs.get('prod_qty'): + vals = { + 'product': product.id, + 'quantity': int(kwargs.get('prod_qty')) + } + current_user = request.env['res.users'].sudo().browse( + request.session.uid) + partner = current_user.partner_id + if kwargs.get('category'): + product_qty = int(kwargs['category'].split('=')[1]) + else: + product_qty = int(kwargs.get('prod_qty')) + if request.session.uid: + pre_booking = request.env['website.prebook'].sudo().create({ + 'partner_id': partner.id, + 'booking_date': fields.datetime.today(), + 'product_id': product.id, + 'quantity': product_qty, + 'website_id': request.website.id, + }) + if pre_booking: + max_quantity = product.pre_max_quantity + product.sudo().write({'pre_max_quantity': int(max_quantity - product_qty)}) + + return request.render("website_pre_booking.pre_booking_done", + {'ref': pre_booking.reference}) + + else: + return request.render("website_pre_booking.prebook_address", vals) + + @http.route(['/prebook/address'], type='http', methods=['GET', 'POST'], + auth="public", website=True, sitemap=False) + def pre_address(self, **kw): + """If not login, create a new user""" + product = request.env['product.template'].sudo().browse( + int(kw.get('product'))) + partner = request.env['res.partner'].sudo().create({ + 'name': kw.get('name'), + 'email': kw.get('email'), + 'phone': kw.get('phone'), + }) + pre_booking = request.env['website.prebook'].sudo().create({ + 'partner_id': partner.id, + 'booking_date': fields.datetime.today(), + 'product_id': product.id, + 'quantity': int(kw.get('quantity')) + }) + if pre_booking: + max_quantity = product.pre_max_quantity + product.pre_max_quantity = max_quantity - 1 + return request.render("website_pre_booking.pre_booking_done", + {'ref': pre_booking.reference}) + + @http.route('/track/prebooking', website=True, auth='user', csrf=False) + def submit_booking(self, **kwargs): + """For tracking the specific pre-orders using refernce code""" + bookings = request.env['website.prebook'].sudo().search( + [('reference', '=', kwargs.get('reference'))]) + if bookings and bookings.sale_id: + if bookings.sale_id.state == 'draft': + state = 'Quotation' + elif bookings.sale_id.state == 'sent': + state = 'Quotation Sent' + elif bookings.sale_id.state == 'sale': + state = 'Sales Order' + elif bookings.sale_id.state == 'done': + state = 'Locked' + elif bookings.sale_id.state == 'cancel': + state = 'Cancelled' + else: + state = 'Draft' + vals = { + 'reference': bookings.reference, + 'product': bookings.product_id.name, + 'status': state if bookings.sale_id else bookings.state, + 'date': bookings.booking_date, + } + return request.render("website_pre_booking.my_booking_template", + vals) + + @http.route(['/my/prebookings', '/my/prebookings/page/'], + type='http', auth="user", website=True) + def my_prebookings(self): + """Can track the pre bookings from the website""" + value = [] + values = {'value': value} + return request.render("website_pre_booking.my_booking_template", values) + + @http.route(['/sale/fail'], type='http', auth="user", website=True) + def my_prebookings_fail(self): + """Can track the pre bookings from the website""" + return request.render("website_pre_booking.pre_booking_failed") diff --git a/website_pre_booking/data/ir_sequence_data.xml b/website_pre_booking/data/ir_sequence_data.xml new file mode 100644 index 000000000..927c341d0 --- /dev/null +++ b/website_pre_booking/data/ir_sequence_data.xml @@ -0,0 +1,13 @@ + + + + + + Pre Booking + prebook.sequence + PB + 4 + + + + diff --git a/website_pre_booking/doc/RELEASE_NOTES.md b/website_pre_booking/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..8bc6189ac --- /dev/null +++ b/website_pre_booking/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 30.10.2024 +#### Version 18.0.1.0.0 +##### ADD +- Initial commit for Website Pre Booking diff --git a/website_pre_booking/models/__init__.py b/website_pre_booking/models/__init__.py new file mode 100644 index 000000000..f06fb4dae --- /dev/null +++ b/website_pre_booking/models/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Gayathri V() +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################# +from . import product_template +from . import website_prebook diff --git a/website_pre_booking/models/product_template.py b/website_pre_booking/models/product_template.py new file mode 100644 index 000000000..5dcb5078f --- /dev/null +++ b/website_pre_booking/models/product_template.py @@ -0,0 +1,35 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Gayathri V() +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################# +from odoo import fields, models + + +class ProductTemplate(models.Model): + """ Class for inheriting product.template model to adding new fields""" + _inherit = 'product.template' + + pre_book = fields.Boolean(string='Pre Booking Available', + help='Enabling this field to identify the prebook') + from_date = fields.Date(string='From Date', + help='Prebook available from date') + to_date = fields.Date(string='To Date',help='Prebook available to date') + pre_max_quantity = fields.Integer(string="Pre Book Maximum Quantity", + help='Maximum quantity to pre book') diff --git a/website_pre_booking/models/website_prebook.py b/website_pre_booking/models/website_prebook.py new file mode 100644 index 000000000..950284ced --- /dev/null +++ b/website_pre_booking/models/website_prebook.py @@ -0,0 +1,86 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Gayathri V() +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################# +from odoo import api, fields, models, _ + + +class WebsitePrebook(models.Model): + """ Class for defining website. Prebook model""" + _name = 'website.prebook' + _rec_name = 'reference' + + partner_id = fields.Many2one('res.partner', string="Customer", + help="Add the customer name") + booking_date = fields.Date('Booking Date', help="Pre booking date") + product_id = fields.Many2one('product.template', string="Product", + help="Add the product") + state = fields.Selection([ + ('draft', 'Draft'), + ('confirm', 'Confirmed'), + ], string='Status', default='draft', help="state of pre-booking" + ) + website_id = fields.Many2one( + "website", + string="Website", + ondelete="restrict", + index=True, + readonly=True, help="name of the website" + ) + reference = fields.Char(string='Reference', required=True, copy=False, + readonly=True, + default=lambda self: _('New')) + sale_id = fields.Many2one('sale.order', string='Sale order', + help="sale order") + quantity = fields.Integer(string='Quantity') + + @api.model + def create(self, vals): + """Supering create function for creating sequence""" + if vals.get('reference', _('New')) == _('New'): + vals['reference'] = self.env['ir.sequence'].next_by_code('prebook.sequence') or _('New') + return super(WebsitePrebook, self).create(vals) + + def action_confirm(self): + """Sale order creation while confirming the button""" + sale_order = self.env['sale.order'].create({ + 'partner_id': self.partner_id.id, + 'website_id': self.website_id.id, + 'order_line': [(0, 0, { + 'product_template_id': self.product_id.id, + 'product_id': self.product_id.product_variant_id.id, + 'name': self.product_id.product_variant_id.name, + 'product_uom_qty': self.quantity, + })], + }) + self.sale_id = sale_order.id + self.state = 'confirm' + + def action_view_sale_order(self): + """Smart button view function""" + return { + 'name': 'Sale Order', + 'view_mode': 'form', + 'view_type': 'form', + 'view_id': self.env.ref('sale.view_order_form').id, + 'res_id': self.sale_id.id, + 'res_model': 'sale.order', + 'type': 'ir.actions.act_window', + } diff --git a/website_pre_booking/security/ir.model.access.csv b/website_pre_booking/security/ir.model.access.csv new file mode 100644 index 000000000..1773d48d1 --- /dev/null +++ b/website_pre_booking/security/ir.model.access.csv @@ -0,0 +1,2 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_website_prebook,access.website.prebook,model_website_prebook,,1,1,1,1 diff --git a/website_pre_booking/static/description/assets/cybro-icon.png b/website_pre_booking/static/description/assets/cybro-icon.png new file mode 100644 index 000000000..06e73e11d Binary files /dev/null and b/website_pre_booking/static/description/assets/cybro-icon.png differ diff --git a/website_pre_booking/static/description/assets/cybro-odoo.png b/website_pre_booking/static/description/assets/cybro-odoo.png new file mode 100644 index 000000000..ed02e07a4 Binary files /dev/null and b/website_pre_booking/static/description/assets/cybro-odoo.png differ diff --git a/website_pre_booking/static/description/assets/icons/arrows-repeat.svg b/website_pre_booking/static/description/assets/icons/arrows-repeat.svg new file mode 100644 index 000000000..1d7efabc5 --- /dev/null +++ b/website_pre_booking/static/description/assets/icons/arrows-repeat.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/website_pre_booking/static/description/assets/icons/banner-1.png b/website_pre_booking/static/description/assets/icons/banner-1.png new file mode 100644 index 000000000..c180db172 Binary files /dev/null and b/website_pre_booking/static/description/assets/icons/banner-1.png differ diff --git a/website_pre_booking/static/description/assets/icons/banner-2.svg b/website_pre_booking/static/description/assets/icons/banner-2.svg new file mode 100644 index 000000000..e606d97d9 --- /dev/null +++ b/website_pre_booking/static/description/assets/icons/banner-2.svg @@ -0,0 +1,73 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/website_pre_booking/static/description/assets/icons/banner-bg.png b/website_pre_booking/static/description/assets/icons/banner-bg.png new file mode 100644 index 000000000..a8238d3c0 Binary files /dev/null and b/website_pre_booking/static/description/assets/icons/banner-bg.png differ diff --git a/website_pre_booking/static/description/assets/icons/banner-bg.svg b/website_pre_booking/static/description/assets/icons/banner-bg.svg new file mode 100644 index 000000000..b1378103e --- /dev/null +++ b/website_pre_booking/static/description/assets/icons/banner-bg.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/website_pre_booking/static/description/assets/icons/banner-call.svg b/website_pre_booking/static/description/assets/icons/banner-call.svg new file mode 100644 index 000000000..96c687e81 --- /dev/null +++ b/website_pre_booking/static/description/assets/icons/banner-call.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/website_pre_booking/static/description/assets/icons/banner-mail.svg b/website_pre_booking/static/description/assets/icons/banner-mail.svg new file mode 100644 index 000000000..cbf0d158d --- /dev/null +++ b/website_pre_booking/static/description/assets/icons/banner-mail.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/website_pre_booking/static/description/assets/icons/banner-pattern.svg b/website_pre_booking/static/description/assets/icons/banner-pattern.svg new file mode 100644 index 000000000..9c1c7e101 --- /dev/null +++ b/website_pre_booking/static/description/assets/icons/banner-pattern.svg @@ -0,0 +1,343 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/website_pre_booking/static/description/assets/icons/banner-promo.svg b/website_pre_booking/static/description/assets/icons/banner-promo.svg new file mode 100644 index 000000000..d52791b11 --- /dev/null +++ b/website_pre_booking/static/description/assets/icons/banner-promo.svg @@ -0,0 +1,147 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/website_pre_booking/static/description/assets/icons/brand-pair.svg b/website_pre_booking/static/description/assets/icons/brand-pair.svg new file mode 100644 index 000000000..d8db7fc1e --- /dev/null +++ b/website_pre_booking/static/description/assets/icons/brand-pair.svg @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/website_pre_booking/static/description/assets/icons/capture (1).png b/website_pre_booking/static/description/assets/icons/capture (1).png new file mode 100644 index 000000000..8824deafc Binary files /dev/null and b/website_pre_booking/static/description/assets/icons/capture (1).png differ diff --git a/website_pre_booking/static/description/assets/icons/check.png b/website_pre_booking/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/website_pre_booking/static/description/assets/icons/check.png differ diff --git a/website_pre_booking/static/description/assets/icons/chevron.png b/website_pre_booking/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/website_pre_booking/static/description/assets/icons/chevron.png differ diff --git a/website_pre_booking/static/description/assets/icons/close-icon.svg b/website_pre_booking/static/description/assets/icons/close-icon.svg new file mode 100644 index 000000000..df8cce37a --- /dev/null +++ b/website_pre_booking/static/description/assets/icons/close-icon.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/website_pre_booking/static/description/assets/icons/cogs.png b/website_pre_booking/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/website_pre_booking/static/description/assets/icons/cogs.png differ diff --git a/website_pre_booking/static/description/assets/icons/collabarate-icon.svg b/website_pre_booking/static/description/assets/icons/collabarate-icon.svg new file mode 100644 index 000000000..dd4e10518 --- /dev/null +++ b/website_pre_booking/static/description/assets/icons/collabarate-icon.svg @@ -0,0 +1,3 @@ + + + diff --git a/website_pre_booking/static/description/assets/icons/consultation.png b/website_pre_booking/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/website_pre_booking/static/description/assets/icons/consultation.png differ diff --git a/website_pre_booking/static/description/assets/icons/cybro-logo.png b/website_pre_booking/static/description/assets/icons/cybro-logo.png new file mode 100644 index 000000000..ff4b78220 Binary files /dev/null and b/website_pre_booking/static/description/assets/icons/cybro-logo.png differ diff --git a/website_pre_booking/static/description/assets/icons/down.svg b/website_pre_booking/static/description/assets/icons/down.svg new file mode 100644 index 000000000..f21c36271 --- /dev/null +++ b/website_pre_booking/static/description/assets/icons/down.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/website_pre_booking/static/description/assets/icons/ecom-black.png b/website_pre_booking/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/website_pre_booking/static/description/assets/icons/ecom-black.png differ diff --git a/website_pre_booking/static/description/assets/icons/education-black.png b/website_pre_booking/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/website_pre_booking/static/description/assets/icons/education-black.png differ diff --git a/website_pre_booking/static/description/assets/icons/faq.png b/website_pre_booking/static/description/assets/icons/faq.png new file mode 100644 index 000000000..4250b5b81 Binary files /dev/null and b/website_pre_booking/static/description/assets/icons/faq.png differ diff --git a/website_pre_booking/static/description/assets/icons/feature-icon.svg b/website_pre_booking/static/description/assets/icons/feature-icon.svg new file mode 100644 index 000000000..fa0ea6850 --- /dev/null +++ b/website_pre_booking/static/description/assets/icons/feature-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/website_pre_booking/static/description/assets/icons/feature.png b/website_pre_booking/static/description/assets/icons/feature.png new file mode 100644 index 000000000..ac7a785c0 Binary files /dev/null and b/website_pre_booking/static/description/assets/icons/feature.png differ diff --git a/website_pre_booking/static/description/assets/icons/gear.svg b/website_pre_booking/static/description/assets/icons/gear.svg new file mode 100644 index 000000000..0cc66b6ea --- /dev/null +++ b/website_pre_booking/static/description/assets/icons/gear.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/website_pre_booking/static/description/assets/icons/hero.gif b/website_pre_booking/static/description/assets/icons/hero.gif new file mode 100644 index 000000000..498c7ed40 Binary files /dev/null and b/website_pre_booking/static/description/assets/icons/hero.gif differ diff --git a/website_pre_booking/static/description/assets/icons/hire-odoo.svg b/website_pre_booking/static/description/assets/icons/hire-odoo.svg new file mode 100644 index 000000000..e1ac089b0 --- /dev/null +++ b/website_pre_booking/static/description/assets/icons/hire-odoo.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/website_pre_booking/static/description/assets/icons/hotel-black.png b/website_pre_booking/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/website_pre_booking/static/description/assets/icons/hotel-black.png differ diff --git a/website_pre_booking/static/description/assets/icons/img.png b/website_pre_booking/static/description/assets/icons/img.png new file mode 100644 index 000000000..70197f477 Binary files /dev/null and b/website_pre_booking/static/description/assets/icons/img.png differ diff --git a/website_pre_booking/static/description/assets/icons/license.png b/website_pre_booking/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/website_pre_booking/static/description/assets/icons/license.png differ diff --git a/website_pre_booking/static/description/assets/icons/life-ring-icon.svg b/website_pre_booking/static/description/assets/icons/life-ring-icon.svg new file mode 100644 index 000000000..3ae6e1d89 --- /dev/null +++ b/website_pre_booking/static/description/assets/icons/life-ring-icon.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/website_pre_booking/static/description/assets/icons/lifebuoy.png b/website_pre_booking/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/website_pre_booking/static/description/assets/icons/lifebuoy.png differ diff --git a/website_pre_booking/static/description/assets/icons/mail.svg b/website_pre_booking/static/description/assets/icons/mail.svg new file mode 100644 index 000000000..1eedde695 --- /dev/null +++ b/website_pre_booking/static/description/assets/icons/mail.svg @@ -0,0 +1,3 @@ + + + diff --git a/website_pre_booking/static/description/assets/icons/manufacturing-black.png b/website_pre_booking/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/website_pre_booking/static/description/assets/icons/manufacturing-black.png differ diff --git a/website_pre_booking/static/description/assets/icons/notes.png b/website_pre_booking/static/description/assets/icons/notes.png new file mode 100644 index 000000000..ee5e95404 Binary files /dev/null and b/website_pre_booking/static/description/assets/icons/notes.png differ diff --git a/website_pre_booking/static/description/assets/icons/notification icon.svg b/website_pre_booking/static/description/assets/icons/notification icon.svg new file mode 100644 index 000000000..053189973 --- /dev/null +++ b/website_pre_booking/static/description/assets/icons/notification icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/website_pre_booking/static/description/assets/icons/odoo-consultancy.svg b/website_pre_booking/static/description/assets/icons/odoo-consultancy.svg new file mode 100644 index 000000000..e05f65bde --- /dev/null +++ b/website_pre_booking/static/description/assets/icons/odoo-consultancy.svg @@ -0,0 +1,4 @@ + + + + diff --git a/website_pre_booking/static/description/assets/icons/odoo-licencing.svg b/website_pre_booking/static/description/assets/icons/odoo-licencing.svg new file mode 100644 index 000000000..2606c88b0 --- /dev/null +++ b/website_pre_booking/static/description/assets/icons/odoo-licencing.svg @@ -0,0 +1,3 @@ + + + diff --git a/website_pre_booking/static/description/assets/icons/odoo-logo.png b/website_pre_booking/static/description/assets/icons/odoo-logo.png new file mode 100644 index 000000000..0e4d0eb5a Binary files /dev/null and b/website_pre_booking/static/description/assets/icons/odoo-logo.png differ diff --git a/website_pre_booking/static/description/assets/icons/patter.svg b/website_pre_booking/static/description/assets/icons/patter.svg new file mode 100644 index 000000000..25c9c0a8f --- /dev/null +++ b/website_pre_booking/static/description/assets/icons/patter.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/website_pre_booking/static/description/assets/icons/pattern1.png b/website_pre_booking/static/description/assets/icons/pattern1.png new file mode 100644 index 000000000..09ab0fb2d Binary files /dev/null and b/website_pre_booking/static/description/assets/icons/pattern1.png differ diff --git a/website_pre_booking/static/description/assets/icons/photo-capture.png b/website_pre_booking/static/description/assets/icons/photo-capture.png new file mode 100644 index 000000000..06c111758 Binary files /dev/null and b/website_pre_booking/static/description/assets/icons/photo-capture.png differ diff --git a/website_pre_booking/static/description/assets/icons/pos-black.png b/website_pre_booking/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/website_pre_booking/static/description/assets/icons/pos-black.png differ diff --git a/website_pre_booking/static/description/assets/icons/puzzle-piece-icon.svg b/website_pre_booking/static/description/assets/icons/puzzle-piece-icon.svg new file mode 100644 index 000000000..3e9ad9373 --- /dev/null +++ b/website_pre_booking/static/description/assets/icons/puzzle-piece-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/website_pre_booking/static/description/assets/icons/puzzle.png b/website_pre_booking/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/website_pre_booking/static/description/assets/icons/puzzle.png differ diff --git a/website_pre_booking/static/description/assets/icons/replace-icon.svg b/website_pre_booking/static/description/assets/icons/replace-icon.svg new file mode 100644 index 000000000..d0e3a7af1 --- /dev/null +++ b/website_pre_booking/static/description/assets/icons/replace-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/website_pre_booking/static/description/assets/icons/restaurant-black.png b/website_pre_booking/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/website_pre_booking/static/description/assets/icons/restaurant-black.png differ diff --git a/website_pre_booking/static/description/assets/icons/screenshot-main.png b/website_pre_booking/static/description/assets/icons/screenshot-main.png new file mode 100644 index 000000000..575f8e676 Binary files /dev/null and b/website_pre_booking/static/description/assets/icons/screenshot-main.png differ diff --git a/website_pre_booking/static/description/assets/icons/screenshot.png b/website_pre_booking/static/description/assets/icons/screenshot.png new file mode 100644 index 000000000..cef272529 Binary files /dev/null and b/website_pre_booking/static/description/assets/icons/screenshot.png differ diff --git a/website_pre_booking/static/description/assets/icons/service-black.png b/website_pre_booking/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/website_pre_booking/static/description/assets/icons/service-black.png differ diff --git a/website_pre_booking/static/description/assets/icons/skype-fill.svg b/website_pre_booking/static/description/assets/icons/skype-fill.svg new file mode 100644 index 000000000..c17423639 --- /dev/null +++ b/website_pre_booking/static/description/assets/icons/skype-fill.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/website_pre_booking/static/description/assets/icons/skype.png b/website_pre_booking/static/description/assets/icons/skype.png new file mode 100644 index 000000000..51b409fb3 Binary files /dev/null and b/website_pre_booking/static/description/assets/icons/skype.png differ diff --git a/website_pre_booking/static/description/assets/icons/skype.svg b/website_pre_booking/static/description/assets/icons/skype.svg new file mode 100644 index 000000000..df3dad39b --- /dev/null +++ b/website_pre_booking/static/description/assets/icons/skype.svg @@ -0,0 +1,3 @@ + + + diff --git a/website_pre_booking/static/description/assets/icons/star-1.svg b/website_pre_booking/static/description/assets/icons/star-1.svg new file mode 100644 index 000000000..7e55ab162 --- /dev/null +++ b/website_pre_booking/static/description/assets/icons/star-1.svg @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/website_pre_booking/static/description/assets/icons/star-2.svg b/website_pre_booking/static/description/assets/icons/star-2.svg new file mode 100644 index 000000000..5ae9f507a --- /dev/null +++ b/website_pre_booking/static/description/assets/icons/star-2.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/website_pre_booking/static/description/assets/icons/support.png b/website_pre_booking/static/description/assets/icons/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/website_pre_booking/static/description/assets/icons/support.png differ diff --git a/website_pre_booking/static/description/assets/icons/test-1 - Copy.png b/website_pre_booking/static/description/assets/icons/test-1 - Copy.png new file mode 100644 index 000000000..f6a902663 Binary files /dev/null and b/website_pre_booking/static/description/assets/icons/test-1 - Copy.png differ diff --git a/website_pre_booking/static/description/assets/icons/test-1.png b/website_pre_booking/static/description/assets/icons/test-1.png new file mode 100644 index 000000000..0908add2b Binary files /dev/null and b/website_pre_booking/static/description/assets/icons/test-1.png differ diff --git a/website_pre_booking/static/description/assets/icons/test-2.png b/website_pre_booking/static/description/assets/icons/test-2.png new file mode 100644 index 000000000..4671fe91e Binary files /dev/null and b/website_pre_booking/static/description/assets/icons/test-2.png differ diff --git a/website_pre_booking/static/description/assets/icons/trading-black.png b/website_pre_booking/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/website_pre_booking/static/description/assets/icons/trading-black.png differ diff --git a/website_pre_booking/static/description/assets/icons/training.png b/website_pre_booking/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/website_pre_booking/static/description/assets/icons/training.png differ diff --git a/website_pre_booking/static/description/assets/icons/translate.svg b/website_pre_booking/static/description/assets/icons/translate.svg new file mode 100644 index 000000000..af9c8a1aa --- /dev/null +++ b/website_pre_booking/static/description/assets/icons/translate.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/website_pre_booking/static/description/assets/icons/update.png b/website_pre_booking/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/website_pre_booking/static/description/assets/icons/update.png differ diff --git a/website_pre_booking/static/description/assets/icons/user.png b/website_pre_booking/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/website_pre_booking/static/description/assets/icons/user.png differ diff --git a/website_pre_booking/static/description/assets/icons/video.png b/website_pre_booking/static/description/assets/icons/video.png new file mode 100644 index 000000000..576705b17 Binary files /dev/null and b/website_pre_booking/static/description/assets/icons/video.png differ diff --git a/website_pre_booking/static/description/assets/icons/whatsapp.png b/website_pre_booking/static/description/assets/icons/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/website_pre_booking/static/description/assets/icons/whatsapp.png differ diff --git a/website_pre_booking/static/description/assets/icons/wrench-icon.svg b/website_pre_booking/static/description/assets/icons/wrench-icon.svg new file mode 100644 index 000000000..174b5a465 --- /dev/null +++ b/website_pre_booking/static/description/assets/icons/wrench-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/website_pre_booking/static/description/assets/icons/wrench.png b/website_pre_booking/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/website_pre_booking/static/description/assets/icons/wrench.png differ diff --git a/website_pre_booking/static/description/assets/misc/Cybrosys R.png b/website_pre_booking/static/description/assets/misc/Cybrosys R.png new file mode 100644 index 000000000..da4058087 Binary files /dev/null and b/website_pre_booking/static/description/assets/misc/Cybrosys R.png differ diff --git a/website_pre_booking/static/description/assets/misc/email.svg b/website_pre_booking/static/description/assets/misc/email.svg new file mode 100644 index 000000000..15291cdc3 --- /dev/null +++ b/website_pre_booking/static/description/assets/misc/email.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/website_pre_booking/static/description/assets/misc/phone.svg b/website_pre_booking/static/description/assets/misc/phone.svg new file mode 100644 index 000000000..b7bd7f251 --- /dev/null +++ b/website_pre_booking/static/description/assets/misc/phone.svg @@ -0,0 +1,3 @@ + + + diff --git a/website_pre_booking/static/description/assets/misc/star (1) 2.svg b/website_pre_booking/static/description/assets/misc/star (1) 2.svg new file mode 100644 index 000000000..5ae9f507a --- /dev/null +++ b/website_pre_booking/static/description/assets/misc/star (1) 2.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/website_pre_booking/static/description/assets/misc/support (1) 1.svg b/website_pre_booking/static/description/assets/misc/support (1) 1.svg new file mode 100644 index 000000000..7d37a8f30 --- /dev/null +++ b/website_pre_booking/static/description/assets/misc/support (1) 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/website_pre_booking/static/description/assets/misc/support-email.svg b/website_pre_booking/static/description/assets/misc/support-email.svg new file mode 100644 index 000000000..eb70370d6 --- /dev/null +++ b/website_pre_booking/static/description/assets/misc/support-email.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/website_pre_booking/static/description/assets/misc/tick-mark.svg b/website_pre_booking/static/description/assets/misc/tick-mark.svg new file mode 100644 index 000000000..2dbb40187 --- /dev/null +++ b/website_pre_booking/static/description/assets/misc/tick-mark.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/website_pre_booking/static/description/assets/misc/whatsapp 1.svg b/website_pre_booking/static/description/assets/misc/whatsapp 1.svg new file mode 100644 index 000000000..0bfaf8fc6 --- /dev/null +++ b/website_pre_booking/static/description/assets/misc/whatsapp 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/website_pre_booking/static/description/assets/misc/whatsapp.svg b/website_pre_booking/static/description/assets/misc/whatsapp.svg new file mode 100644 index 000000000..b618aea1d --- /dev/null +++ b/website_pre_booking/static/description/assets/misc/whatsapp.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/website_pre_booking/static/description/assets/modules/1.gif b/website_pre_booking/static/description/assets/modules/1.gif new file mode 100644 index 000000000..ae3a880a2 Binary files /dev/null and b/website_pre_booking/static/description/assets/modules/1.gif differ diff --git a/website_pre_booking/static/description/assets/modules/1.jpg b/website_pre_booking/static/description/assets/modules/1.jpg new file mode 100644 index 000000000..08bbafeb6 Binary files /dev/null and b/website_pre_booking/static/description/assets/modules/1.jpg differ diff --git a/website_pre_booking/static/description/assets/modules/2.gif b/website_pre_booking/static/description/assets/modules/2.gif new file mode 100644 index 000000000..d19e2b352 Binary files /dev/null and b/website_pre_booking/static/description/assets/modules/2.gif differ diff --git a/website_pre_booking/static/description/assets/modules/2.png b/website_pre_booking/static/description/assets/modules/2.png new file mode 100644 index 000000000..a1209a01f Binary files /dev/null and b/website_pre_booking/static/description/assets/modules/2.png differ diff --git a/website_pre_booking/static/description/assets/modules/3.jpg b/website_pre_booking/static/description/assets/modules/3.jpg new file mode 100644 index 000000000..3d171226b Binary files /dev/null and b/website_pre_booking/static/description/assets/modules/3.jpg differ diff --git a/website_pre_booking/static/description/assets/modules/3.png b/website_pre_booking/static/description/assets/modules/3.png new file mode 100644 index 000000000..8513873ea Binary files /dev/null and b/website_pre_booking/static/description/assets/modules/3.png differ diff --git a/website_pre_booking/static/description/assets/modules/4.jpg b/website_pre_booking/static/description/assets/modules/4.jpg new file mode 100644 index 000000000..1f3f2e27f Binary files /dev/null and b/website_pre_booking/static/description/assets/modules/4.jpg differ diff --git a/website_pre_booking/static/description/assets/modules/4.png b/website_pre_booking/static/description/assets/modules/4.png new file mode 100644 index 000000000..3bedf7981 Binary files /dev/null and b/website_pre_booking/static/description/assets/modules/4.png differ diff --git a/website_pre_booking/static/description/assets/modules/5.jpg b/website_pre_booking/static/description/assets/modules/5.jpg new file mode 100644 index 000000000..0db717519 Binary files /dev/null and b/website_pre_booking/static/description/assets/modules/5.jpg differ diff --git a/website_pre_booking/static/description/assets/modules/5.png b/website_pre_booking/static/description/assets/modules/5.png new file mode 100644 index 000000000..0e311ca87 Binary files /dev/null and b/website_pre_booking/static/description/assets/modules/5.png differ diff --git a/website_pre_booking/static/description/assets/modules/6.jpg b/website_pre_booking/static/description/assets/modules/6.jpg new file mode 100644 index 000000000..67c7f7062 Binary files /dev/null and b/website_pre_booking/static/description/assets/modules/6.jpg differ diff --git a/website_pre_booking/static/description/assets/modules/dashboard_pos.jpg b/website_pre_booking/static/description/assets/modules/dashboard_pos.jpg new file mode 100644 index 000000000..2c258bc8d Binary files /dev/null and b/website_pre_booking/static/description/assets/modules/dashboard_pos.jpg differ diff --git a/website_pre_booking/static/description/assets/modules/dynamic_accounts_report.jpg b/website_pre_booking/static/description/assets/modules/dynamic_accounts_report.jpg new file mode 100644 index 000000000..b967912c5 Binary files /dev/null and b/website_pre_booking/static/description/assets/modules/dynamic_accounts_report.jpg differ diff --git a/website_pre_booking/static/description/assets/modules/hr_payroll_community.jpg b/website_pre_booking/static/description/assets/modules/hr_payroll_community.jpg new file mode 100644 index 000000000..2c2b887f1 Binary files /dev/null and b/website_pre_booking/static/description/assets/modules/hr_payroll_community.jpg differ diff --git a/website_pre_booking/static/description/assets/modules/invoice_format_editor.jpg b/website_pre_booking/static/description/assets/modules/invoice_format_editor.jpg new file mode 100644 index 000000000..606ce2051 Binary files /dev/null and b/website_pre_booking/static/description/assets/modules/invoice_format_editor.jpg differ diff --git a/website_pre_booking/static/description/assets/modules/m1.png b/website_pre_booking/static/description/assets/modules/m1.png new file mode 100644 index 000000000..acb4c76c6 Binary files /dev/null and b/website_pre_booking/static/description/assets/modules/m1.png differ diff --git a/website_pre_booking/static/description/assets/modules/m2.png b/website_pre_booking/static/description/assets/modules/m2.png new file mode 100644 index 000000000..3ef91f771 Binary files /dev/null and b/website_pre_booking/static/description/assets/modules/m2.png differ diff --git a/website_pre_booking/static/description/assets/modules/m3.png b/website_pre_booking/static/description/assets/modules/m3.png new file mode 100644 index 000000000..72febf6ae Binary files /dev/null and b/website_pre_booking/static/description/assets/modules/m3.png differ diff --git a/website_pre_booking/static/description/assets/modules/m4.png b/website_pre_booking/static/description/assets/modules/m4.png new file mode 100644 index 000000000..f7d7f9241 Binary files /dev/null and b/website_pre_booking/static/description/assets/modules/m4.png differ diff --git a/website_pre_booking/static/description/assets/modules/m5.png b/website_pre_booking/static/description/assets/modules/m5.png new file mode 100644 index 000000000..1d3324e88 Binary files /dev/null and b/website_pre_booking/static/description/assets/modules/m5.png differ diff --git a/website_pre_booking/static/description/assets/modules/m6.png b/website_pre_booking/static/description/assets/modules/m6.png new file mode 100644 index 000000000..80938c15a Binary files /dev/null and b/website_pre_booking/static/description/assets/modules/m6.png differ diff --git a/website_pre_booking/static/description/assets/modules/pos_greetings.jpg b/website_pre_booking/static/description/assets/modules/pos_greetings.jpg new file mode 100644 index 000000000..d9dd6d429 Binary files /dev/null and b/website_pre_booking/static/description/assets/modules/pos_greetings.jpg differ diff --git a/website_pre_booking/static/description/assets/modules/pos_order_line_image.jpg b/website_pre_booking/static/description/assets/modules/pos_order_line_image.jpg new file mode 100644 index 000000000..4d3d30f4d Binary files /dev/null and b/website_pre_booking/static/description/assets/modules/pos_order_line_image.jpg differ diff --git a/website_pre_booking/static/description/assets/screenshots/1.png b/website_pre_booking/static/description/assets/screenshots/1.png new file mode 100644 index 000000000..250eed8ab Binary files /dev/null and b/website_pre_booking/static/description/assets/screenshots/1.png differ diff --git a/website_pre_booking/static/description/assets/screenshots/2.png b/website_pre_booking/static/description/assets/screenshots/2.png new file mode 100644 index 000000000..e6f4e9f87 Binary files /dev/null and b/website_pre_booking/static/description/assets/screenshots/2.png differ diff --git a/website_pre_booking/static/description/assets/screenshots/3.png b/website_pre_booking/static/description/assets/screenshots/3.png new file mode 100644 index 000000000..bf1e90730 Binary files /dev/null and b/website_pre_booking/static/description/assets/screenshots/3.png differ diff --git a/website_pre_booking/static/description/assets/screenshots/4.png b/website_pre_booking/static/description/assets/screenshots/4.png new file mode 100644 index 000000000..6f6d8c820 Binary files /dev/null and b/website_pre_booking/static/description/assets/screenshots/4.png differ diff --git a/website_pre_booking/static/description/assets/screenshots/5.png b/website_pre_booking/static/description/assets/screenshots/5.png new file mode 100644 index 000000000..0f09c488d Binary files /dev/null and b/website_pre_booking/static/description/assets/screenshots/5.png differ diff --git a/website_pre_booking/static/description/assets/screenshots/6.png b/website_pre_booking/static/description/assets/screenshots/6.png new file mode 100644 index 000000000..544b13cb8 Binary files /dev/null and b/website_pre_booking/static/description/assets/screenshots/6.png differ diff --git a/website_pre_booking/static/description/assets/screenshots/7.png b/website_pre_booking/static/description/assets/screenshots/7.png new file mode 100644 index 000000000..749e802b2 Binary files /dev/null and b/website_pre_booking/static/description/assets/screenshots/7.png differ diff --git a/website_pre_booking/static/description/banner.png b/website_pre_booking/static/description/banner.png new file mode 100644 index 000000000..85d6d7794 Binary files /dev/null and b/website_pre_booking/static/description/banner.png differ diff --git a/website_pre_booking/static/description/icon.png b/website_pre_booking/static/description/icon.png new file mode 100644 index 000000000..4f027129c Binary files /dev/null and b/website_pre_booking/static/description/icon.png differ diff --git a/website_pre_booking/static/description/index.html b/website_pre_booking/static/description/index.html new file mode 100644 index 000000000..0cb974ad6 --- /dev/null +++ b/website_pre_booking/static/description/index.html @@ -0,0 +1,1117 @@ + + + + + + Website Pre Booking + + + + + + + + + + +
+
+ + + +
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+ +
+
+
+
+

+ This module helps to pre-book the products in + website. +

+

+ Website Pre Booking +

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

Key + Highlights

+
+
+
+
+ +
+
+ Manage the pre-booking orders in the website +
+

+ This module helps to manage the pre-booking + orders in the website

+
+
+
+
+
+ +
+
+ Track your Pre-bookings. +
+

+ Track the Pre-bookings in website

+
+
+
+
+ +
+
+
+ Website Pre Booking +

+ Are you ready to make your business more + organized? +
Improve now! +

+ +
+
+ +
+
+
+ + + + +
+
+ +
+
+
+
+ acc_bg +
+ +
+
+
+
+

+ Enable option from Product + Form. +

+
+
+

+ Enable option from Product form + page. +

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

+ Option for + Pre-booking. +

+
+
+

+ Button for pre-booking +

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

+ Success + Message. +

+
+
+

+ The View of Customer Screen with + Order lines and a button to open + the Modal of Review Section +

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

+ Portal View + +

+
+
+

+ User can view the details in + customer portal +

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

+ Tracking + +

+
+
+

+ Order Tracking +

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

+ Pre Booked order + +

+
+
+

+ The Pre-Booked order +

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

+ Manage the pre-booking orders in the website +

+
+ +
+
+
+
+
+
+ +
+

+ Track your Pre-bookings. +

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

+ The Website Pre-Booking module enables customers to pre-book products or services directly from your website, allowing them to reserve upcoming items or schedule services in advance. + + +

+
+
+ +
+ +
+

+ Customers can use the Pre-Book button available on selected products or services. They select the quantity, date (if applicable), and fill in any additional details required to complete the pre-booking. +

+
+
+ +
+ +
+

+ Enable the "Notify + User" option and + specify a contact to + receive an email + containing a + detailed report with + the failure reason + and backup details. + This option will + also send an email + upon successful + backup. +

+
+
+ +
+ +
+

+ Select the backup + destination as local + storage and specify + a backup path to a + location on the + system to create + backups on your own + system. +

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

+ Latest Release 18.0.1.0.0 +

+ + 29th October, 2024 + +
+
+
+
+
+ Add +
+
+
+
    +
  • + Initial Commit +
  • + +
+
+
+
+
+
+
+
+
+
+ + + + + + +
+

+ Our Services

+ +
+
+ +
+
+ .... +
+
+ +
+ +
+
+ + + + + + diff --git a/website_pre_booking/static/src/css/prebooking.css b/website_pre_booking/static/src/css/prebooking.css new file mode 100644 index 000000000..4a4a46563 --- /dev/null +++ b/website_pre_booking/static/src/css/prebooking.css @@ -0,0 +1,223 @@ + +/* CSS */ +.button-40 { + background-color: #a31f2bbf; + border: 1px solid transparent; + box-sizing: border-box; + color: #FFFFFF; + cursor: pointer; + flex: 0 0 auto; + font-family: "Inter var",ui-sans-serif,system-ui,-apple-system,system-ui,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"; + font-size: 1.125rem; + font-weight: 600; + line-height: 1.5rem; + padding: .75rem 1.2rem; + text-align: center; + text-decoration: none #6B7280 solid; + text-decoration-thickness: auto; + transition-duration: .2s; + transition-property: background-color,border-color,color,fill,stroke; + transition-timing-function: cubic-bezier(.4, 0, 0.2, 1); + user-select: none; + -webkit-user-select: none; + touch-action: manipulation; + width: auto; +} + +.button-40:hover { + background-color: #374151; +} + +.button-40:focus { + box-shadow: none; + outline: 2px solid transparent; + outline-offset: 2px; +} + +@media (min-width: 768px) { + .button-40 { + padding: .75rem 1.5rem; + } +} + + + +.leaderboard { + max-width: 490px; + width: 100%; + border-radius: 12px; + + header { + --start: 15%; + + height: 130px; + background-image: repeating-radial-gradient(circle at var(--start), transparent 0%, transparent 10%, rgba(54, 89, 219, .33) 10%, rgba(54, 89, 219, .33) 17%), linear-gradient(to right, #5b7cfa, #3659db); + color: #fff; + position: relative; + border-radius: 12px 12px 0 0; + overflow: hidden; + + .leaderboard__title { + position: absolute; + z-index: 2; + top: 50%; + right: calc(var(--start) * .75); + transform: translateY(-50%); + text-transform: uppercase; + margin: 0; + + span { + display: block; + } + + &--top { + font-size: 24px; + font-weight: 700; + letter-spacing: 6.5px; + } + + &--bottom { + font-size: 13px; + font-weight: 500; + letter-spacing: 3.55px; + opacity: .65; + transform: translateY(-2px); + } + } + + .leaderboard__icon { + fill: #fff; + opacity: .35; + width: 50px; + position: absolute; + top: 50%; + left: var(--start); + transform: translate(-50%, -50%); + } + } + + &__profiles { + background-color: #fff; + border-radius: 0 0 12px 12px; + padding: 15px 15px 20px; + display: grid; + row-gap: 8px; + } + + &__profile { + display: grid; + grid-template-columns: 1fr 3fr 1fr; + align-items: center; + padding: 10px 30px 10px 10px; + overflow: hidden; + border-radius: 10px; + box-shadow: 0 5px 7px -1px rgba(51, 51, 51, 0.23); + cursor: pointer; + transition: transform .25s cubic-bezier(.7,.98,.86,.98), box-shadow .25s cubic-bezier(.7,.98,.86,.98); + background-color: #fff; + + &:hover { + transform: scale(1.2); + box-shadow: 0 9px 47px 11px rgba(51, 51, 51, 0.18); + } + } + + &__picture { + max-width: 100%; + width: 60px; + border-radius: 50%; + box-shadow: 0 0 0 10px #ebeef3, 0 0 0 22px #f3f4f6; + } + + &__name { + color: #979cb0; + font-weight: 600; + font-size: 20px; + letter-spacing: 0.64px; + margin-left: 12px; + } + + &__value { + color: #35d8ac; + font-weight: 700; + font-size: 34px; + text-align: right; + + & > span { + opacity: .8; + font-weight: 600; + font-size: 13px; + margin-left: 3px; + } + } +} + + + + +// bare minimuu styles + +body { + margin: 0; + background-color: #eaeaea; + display: grid; + height: 100vh; + place-items: center; + font-family: 'Source Sans Pro', sans-serif; +} + +.leaderboard { + box-shadow: 0 0 40px -10px rgba(0, 0, 0, .4); +} + +.o_image { + height:122px; + width:81px; +} + +body{ + background: #f2f2f2; + font-family: 'Open Sans', sans-serif; +} + +.search { + width: 100%; + position: relative; + display: flex; +} + +.searchTerm { + width: 100%; + border: 3px solid #00B4CC; + border-right: none; + padding: 5px; + height: 36px; + border-radius: 5px 0 0 5px; + outline: none; + color: #000000; +} + +.searchTerm:focus{ + color: #000000; +} + +.searchButton { + width: 40px; + height: 36px; + border: 1px solid #00B4CC; + background: #00B4CC; + text-align: center; + color: #fff; + border-radius: 0 5px 5px 0; + cursor: pointer; + font-size: 20px; +} + +/*Resize the wrap to see the search bar change!*/ +.wrap{ + width: 19%; + position: absolute; + top: 30%; + left: 50%; + transform: translate(-50%, -50%); +} \ No newline at end of file diff --git a/website_pre_booking/static/src/js/pre_booking.js b/website_pre_booking/static/src/js/pre_booking.js new file mode 100644 index 000000000..a074107a7 --- /dev/null +++ b/website_pre_booking/static/src/js/pre_booking.js @@ -0,0 +1,21 @@ +/** @odoo-module **/ +import {WebsiteSale} from "@website_sale/js/website_sale"; +import publicWidget from '@web/legacy/js/public/public_widget'; + +publicWidget.registry.WebsiteSalePrebooking = publicWidget.Widget.extend({ + selector: '#product_detail', + events:{ + 'click .pre_booking': '_preBooking', + }, + _preBooking: function (ev) { + let pre_max_qty = parseFloat($(ev.currentTarget).data('id')); + let add_qty_value = parseFloat($('.quantity').val()); + if (!isNaN(pre_max_qty) && !isNaN(add_qty_value)) { + if (pre_max_qty >= add_qty_value) { + window.location = $(ev.currentTarget).val()+'?prod_qty='+add_qty_value + } else { + window.location = '/sale/fail'; + } + } + } +}); diff --git a/website_pre_booking/views/portal_views.xml b/website_pre_booking/views/portal_views.xml new file mode 100644 index 000000000..cf06be28b --- /dev/null +++ b/website_pre_booking/views/portal_views.xml @@ -0,0 +1,56 @@ + + + + + + + + + + diff --git a/website_pre_booking/views/pre_booking_template.xml b/website_pre_booking/views/pre_booking_template.xml new file mode 100644 index 000000000..86b1825ec --- /dev/null +++ b/website_pre_booking/views/pre_booking_template.xml @@ -0,0 +1,137 @@ + + + + + + + + + + + diff --git a/website_pre_booking/views/prebook_details_template.xml b/website_pre_booking/views/prebook_details_template.xml new file mode 100644 index 000000000..a5a0cebd2 --- /dev/null +++ b/website_pre_booking/views/prebook_details_template.xml @@ -0,0 +1,70 @@ + + + + + Track PreBookings + /my/prebookings + + 31 + + + + + diff --git a/website_pre_booking/views/product_template_views.xml b/website_pre_booking/views/product_template_views.xml new file mode 100644 index 000000000..900154982 --- /dev/null +++ b/website_pre_booking/views/product_template_views.xml @@ -0,0 +1,23 @@ + + + + + product.template.view.form.inherit.website.pre.booking + + product.template + + + + + + + + + + + + + + + + diff --git a/website_pre_booking/views/website_prebook_views.xml b/website_pre_booking/views/website_prebook_views.xml new file mode 100644 index 000000000..a9956c7e5 --- /dev/null +++ b/website_pre_booking/views/website_prebook_views.xml @@ -0,0 +1,92 @@ + + + + + website.prebook.view.form + website.prebook + +
+
+
+ +
+ +
+
+

+ +

+
+ + + + + + + + + + + + + + + +
+
+
+
+ + + website.prebook.view.list + website.prebook + + + + + + + + + + + + + Pre Bookings + ir.actions.act_window + website.prebook + list,kanban,form + +

+ Create! +

+
+
+ + + Pre Bookings + ir.actions.act_window + website.prebook + list,kanban,form + +

+ Create! +

+
+
+ + +
diff --git a/website_pre_booking/views/website_sale_inherit.xml b/website_pre_booking/views/website_sale_inherit.xml new file mode 100644 index 000000000..1d0eb4837 --- /dev/null +++ b/website_pre_booking/views/website_sale_inherit.xml @@ -0,0 +1,19 @@ + + + + + +