@ -0,0 +1,46 @@ |
|||||
|
.. 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 <https://cybrosys.com/>`__ |
||||
|
|
||||
|
License |
||||
|
------- |
||||
|
Affero General Public License v3.0 (AGPL v3) |
||||
|
(https://www.odoo.com/documentation/16.0/legal/licenses.html) |
||||
|
|
||||
|
Credits |
||||
|
------- |
||||
|
Developer: (V17) Vishnu KP @ 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) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Vishnu KP(<https://www.cybrosys.com>) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU AFFERO |
||||
|
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
||||
|
# |
||||
|
# This program is distributed in the hope that it will be useful, |
||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
|
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
||||
|
# (AGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
from . import controllers |
||||
|
from . import models |
@ -0,0 +1,55 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Vishnu KP(<https://www.cybrosys.com>) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU AFFERO |
||||
|
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
||||
|
# |
||||
|
# This program is distributed in the hope that it will be useful, |
||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
|
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
||||
|
# (AGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
{ |
||||
|
'name': 'Website Pre Booking', |
||||
|
'version': '17.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, |
||||
|
} |
@ -0,0 +1,23 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Vishnu KP(<https://www.cybrosys.com>) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU AFFERO |
||||
|
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
||||
|
# |
||||
|
# This program is distributed in the hope that it will be useful, |
||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
|
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
||||
|
# (AGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
from . import pre_booking_portal |
||||
|
from . import website_pre_booking |
@ -0,0 +1,47 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Vishnu KP(<https://www.cybrosys.com>) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU AFFERO |
||||
|
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
||||
|
# |
||||
|
# This program is distributed in the hope that it will be useful, |
||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
|
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
||||
|
# (AGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
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'}) |
@ -0,0 +1,119 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Vishnu KP(<https://www.cybrosys.com>) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU AFFERO |
||||
|
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
||||
|
# |
||||
|
# This program is distributed in the hope that it will be useful, |
||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
|
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
||||
|
# (AGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
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/<model("product.template"):product>'], |
||||
|
type='http', auth="public", website=True) |
||||
|
def portal_my_employee_request(self, product, **kwargs): |
||||
|
"""Pre-book button to pre-book the product""" |
||||
|
vals = { |
||||
|
'product': product.id, |
||||
|
} |
||||
|
current_user = request.env['res.users'].sudo().browse( |
||||
|
request.session.uid) |
||||
|
partner = current_user.partner_id |
||||
|
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): |
||||
|
print('If not login create a new user', **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}) |
||||
|
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' |
||||
|
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) |
||||
|
else: |
||||
|
return request.render("website_pre_booking.my_booking_template", |
||||
|
{'vals': True}) |
||||
|
|
||||
|
@http.route(['/my/prebookings', '/my/prebookings/page/<int: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") |
@ -0,0 +1,13 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<data> |
||||
|
<!-- Sequences for prebooking --> |
||||
|
<record id="seq_booking" model="ir.sequence"> |
||||
|
<field name="name">Pre Booking</field> |
||||
|
<field name="code">prebook.sequence</field> |
||||
|
<field name="prefix">PB</field> |
||||
|
<field name="padding">4</field> |
||||
|
<field name="company_id" eval="False"/> |
||||
|
</record> |
||||
|
</data> |
||||
|
</odoo> |
@ -0,0 +1,6 @@ |
|||||
|
## Module <website_pre_booking> |
||||
|
|
||||
|
#### 09.05.2024 |
||||
|
#### Version 17.0.1.0.0 |
||||
|
##### ADD |
||||
|
- Initial commit for Website Pre Booking |
@ -0,0 +1,23 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Vishnu KP(<https://www.cybrosys.com>) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU AFFERO |
||||
|
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
||||
|
# |
||||
|
# This program is distributed in the hope that it will be useful, |
||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
|
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
||||
|
# (AGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
from . import product_template |
||||
|
from . import website_prebook |
@ -0,0 +1,35 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Vishnu KP(<https://www.cybrosys.com>) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU AFFERO |
||||
|
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
||||
|
# |
||||
|
# This program is distributed in the hope that it will be useful, |
||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
|
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
||||
|
# (AGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
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') |
@ -0,0 +1,86 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Vishnu KP(<https://www.cybrosys.com>) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU AFFERO |
||||
|
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
||||
|
# |
||||
|
# This program is distributed in the hope that it will be useful, |
||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
|
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
||||
|
# (AGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
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', |
||||
|
} |
|
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: 32 KiB |
After Width: | Height: | Size: 34 KiB |
After Width: | Height: | Size: 48 KiB |
After Width: | Height: | Size: 45 KiB |
After Width: | Height: | Size: 33 KiB |
After Width: | Height: | Size: 34 KiB |
After Width: | Height: | Size: 156 KiB |
After Width: | Height: | Size: 114 KiB |
After Width: | Height: | Size: 99 KiB |
After Width: | Height: | Size: 170 KiB |
After Width: | Height: | Size: 111 KiB |
After Width: | Height: | Size: 50 KiB |
After Width: | Height: | Size: 113 KiB |
After Width: | Height: | Size: 132 KiB |
After Width: | Height: | Size: 85 KiB |
After Width: | Height: | Size: 66 KiB |
@ -0,0 +1,647 @@ |
|||||
|
<!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:#017E84 !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:#7C7BAD !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;"> |
||||
|
Website Pre Booking</h1> |
||||
|
<p class="my-3 mb-4" |
||||
|
style="max-width: 80%; font-weight: 400 !important; line-height: 32px; color: #718096;"> |
||||
|
This module helps to pre-book the products in website |
||||
|
</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;">Manage the pre-booking orders in the website</p> |
||||
|
<p class="m-0" style="color:#718096">This module helps to manage the pre-booking orders in 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;">Track your Pre-bookings.</p> |
||||
|
<p class="m-0" style="color:#718096">Track the Pre-bookings in website |
||||
|
</p> |
||||
|
</div> |
||||
|
</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="row justify-content-center p-3 w-100 m-0"> |
||||
|
<img src="assets/screenshots/ss8.png" class="img-responsive" width="100%" height="auto"> |
||||
|
</div> |
||||
|
<div class="px-3"> |
||||
|
<h4 class="mt-2" |
||||
|
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
||||
|
Enable option from Product form page</h4> |
||||
|
<h6 class="mt-2" |
||||
|
style=" font-weight:300 !important; color:#282F33 !important; font-size:0.7rem !important">Enable option from Product form page.</h6> |
||||
|
</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="row justify-content-center p-3 w-100 m-0"> |
||||
|
<img src="assets/screenshots/ss5.png" class="img-responsive" width="100%" height="auto"> |
||||
|
</div> |
||||
|
<div class="px-3"> |
||||
|
<h4 class="mt-2" |
||||
|
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
||||
|
Option for pre-booking</h4> |
||||
|
<h6 class="mt-2" |
||||
|
style=" font-weight:300 !important; color:#282F33 !important; font-size:0.7rem !important"> |
||||
|
Button for pre-booking |
||||
|
</h6> |
||||
|
</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="row justify-content-center p-3 w-100 m-0"> |
||||
|
<img src="assets/screenshots/ss6.png" class="img-responsive" width="100%" height="auto"> |
||||
|
</div> |
||||
|
<div class="px-3"> |
||||
|
<h4 class="mt-2" |
||||
|
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
||||
|
Success message </h4> |
||||
|
<h6 class="mt-2" |
||||
|
style=" font-weight:300 !important; color:#282F33 !important; font-size:0.7rem !important"> |
||||
|
The View of Customer Screen with Order lines and a button to open the Modal of Review Section</h6> |
||||
|
</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="row justify-content-center p-3 w-100 m-0"> |
||||
|
<img src="assets/screenshots/ss1.png" class="img-responsive" width="100%" height="auto"> |
||||
|
</div> |
||||
|
<div class="px-3"> |
||||
|
<h4 class="mt-2" |
||||
|
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
||||
|
Portal View</h4> |
||||
|
<h6 class="mt-2" |
||||
|
style=" font-weight:300 !important; color:#282F33 !important; font-size:0.7rem !important"> |
||||
|
User can view the details in customer portal</h6> |
||||
|
</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="row justify-content-center p-3 w-100 m-0"> |
||||
|
<img src="assets/screenshots/ss9.png" class="img-responsive" width="100%" height="auto"> |
||||
|
</div> |
||||
|
<div class="px-3"> |
||||
|
<h4 class="mt-2" |
||||
|
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
||||
|
</h4> |
||||
|
<h6 class="mt-2" |
||||
|
style=" font-weight:300 !important; color:#282F33 !important; font-size:0.7rem !important"> |
||||
|
</h6> |
||||
|
</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="row justify-content-center p-3 w-100 m-0"> |
||||
|
<img src="assets/screenshots/ss3.png" class="img-responsive" width="100%" height="auto"> |
||||
|
</div> |
||||
|
<div class="px-3"> |
||||
|
<h4 class="mt-2" |
||||
|
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
||||
|
Tracking</h4> |
||||
|
<h6 class="mt-2" |
||||
|
style=" font-weight:300 !important; color:#282F33 !important; font-size:0.7rem !important"> |
||||
|
Order Tracking</h6> |
||||
|
</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="row justify-content-center p-3 w-100 m-0"> |
||||
|
<img src="assets/screenshots/ss7.png" class="img-responsive" width="100%" height="auto"> |
||||
|
</div> |
||||
|
<div class="px-3"> |
||||
|
<h4 class="mt-2" |
||||
|
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
||||
|
Pre Booked order</h4> |
||||
|
<h6 class="mt-2" |
||||
|
style=" font-weight:300 !important; color:#282F33 !important; font-size:0.7rem !important"> |
||||
|
The Pre-Booked order</h6> |
||||
|
</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>Helps to manage the pre-booking orders in the website. |
||||
|
</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>Pre-book option in website. |
||||
|
</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>Track your Pre-bookings in website. |
||||
|
</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 |
||||
|
17.0.1.0.0</span><span class="px-2">|</span><span |
||||
|
style="color: #714B67;font-weight: 600;">Released on:28th Mar 2024</span> |
||||
|
</div> |
||||
|
<p class="m-0" |
||||
|
style=" color:#718096!important; font-size:1rem !important;line-height: 28px;"> |
||||
|
Odoo 17 Website Pre Booking </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">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/17.0/invoice_format_editor/" |
||||
|
style="color: #000; text-decoration: none;"> |
||||
|
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> |
||||
|
<div style="width: 300px; "> |
||||
|
<img src="assets/modules/m1.png" |
||||
|
alt="" width="100%" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
<p class="text-center pt-2 text-black font-weight-bold"> |
||||
|
Invoice Format Editor</p> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col"> |
||||
|
<div class="p-3"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/17.0/inventory_barcode_scanning/" |
||||
|
style="color: #000; text-decoration: none;"> |
||||
|
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> |
||||
|
<div style="width: 300px; "> |
||||
|
<img src="assets/modules/m2.png" |
||||
|
alt="" width="100%" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
<p class="text-center pt-2 text-black font-weight-bold"> |
||||
|
Barcode scanning in Inventory</p> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col"> |
||||
|
<div class="p-3"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/17.0/whatsapp_redirect/" |
||||
|
style="color: #000; text-decoration: none;"> |
||||
|
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> |
||||
|
<div style="width: 300px; "> |
||||
|
<img src="assets/modules/m3.png" |
||||
|
alt="" width="100%" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
<p class="text-center pt-2 text-black font-weight-bold"> |
||||
|
Send Whatsapp Message</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/17.0/base_account_budget/" |
||||
|
style="color: #000; text-decoration: none;"> |
||||
|
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> |
||||
|
<div style="width: 300px; "> |
||||
|
<img src="assets/modules/m4.png" |
||||
|
alt="" width="100%" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
<p class="text-center pt-2 text-black font-weight-bold"> |
||||
|
Budget Management</p> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col"> |
||||
|
<div class="p-3"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/17.0/product_barcode/" |
||||
|
style="color: #000; text-decoration: none;"> |
||||
|
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> |
||||
|
<div style="width: 300px;"> |
||||
|
<img src="assets/modules/m5.png" |
||||
|
alt="" width="100%" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
<p class="text-center pt-2 text-black font-weight-bold"> |
||||
|
Product Barcode Generator</p> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col"> |
||||
|
<div class="p-3"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/17.0/export_stockinfo_xls/" |
||||
|
style="color: #000; text-decoration: none;"> |
||||
|
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> |
||||
|
<div style="width: 300px;"> |
||||
|
<img src="assets/modules/m6.png" |
||||
|
alt="" width="100%" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
<p class="text-center pt-2 text-black font-weight-bold"> |
||||
|
Export Product Stock in Excel</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> |
@ -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%); |
||||
|
} |
@ -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'; |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
}); |
@ -0,0 +1,56 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8" ?> |
||||
|
<odoo> |
||||
|
<!-- Template for adding the pre bookings in the portal my home--> |
||||
|
<template id="portal_my_home_pre_bookings" |
||||
|
name="portal_my_home_inherit_website_pre_booking" |
||||
|
inherit_id="portal.portal_my_home" customize_show="True" > |
||||
|
<xpath expr="//div[hasclass('o_portal_docs')]" position="inside"> |
||||
|
<t t-call="portal.portal_docs_entry"> |
||||
|
<t t-set="icon" t-value="'/sale/static/src/img/bag.svg'"/> |
||||
|
<t t-set="title">Pre Booking</t> |
||||
|
<t t-set="url" t-value="'/my/pre_bookings'"/> |
||||
|
<t t-set="text">Pre-Booked Orders.</t> |
||||
|
<t t-set="placeholder_count" t-value="'pre_bookings_count'"/> |
||||
|
</t> |
||||
|
</xpath> |
||||
|
</template> |
||||
|
|
||||
|
<!-- Template for the breadcrumbs for the pre-booking--> |
||||
|
<template id="portal_my_home_menu_pre_bookings" |
||||
|
name="Portal layout : pre bookings menu entries" |
||||
|
inherit_id="portal.portal_breadcrumbs" priority="65"> |
||||
|
<xpath expr="//ol[hasclass('o_portal_submenu')]" position="inside"> |
||||
|
<li t-if="page_name == 'pre_booking'" |
||||
|
class="breadcrumb-item active"> |
||||
|
<span>Pre Booking</span> |
||||
|
</li> |
||||
|
</xpath> |
||||
|
</template> |
||||
|
<!-- List of pre bookings to show in the portal table--> |
||||
|
<template id="portal_my_pre_bookings" name="My Pre Bookings"> |
||||
|
<t t-call="portal.portal_layout"> |
||||
|
<t t-set="breadcrumbs_searchbar" t-value="True"/> |
||||
|
<t t-call="portal.portal_searchbar"> |
||||
|
<t t-set="title">Pre Bookings</t> |
||||
|
</t> |
||||
|
<t t-if="pre_bookings" t-call="portal.portal_table"> |
||||
|
<thead> |
||||
|
<tr class="active"> |
||||
|
<th>Reference</th> |
||||
|
<th>Product</th> |
||||
|
<th>Booking Date</th> |
||||
|
<th>state</th> |
||||
|
</tr> |
||||
|
</thead> |
||||
|
<t t-foreach="pre_bookings" t-as="pre_booking"> |
||||
|
<tr> |
||||
|
<td><span t-field="pre_booking.reference"/></td> |
||||
|
<td><span t-field="pre_booking.product_id.name"/></td> |
||||
|
<td><span t-field="pre_booking.booking_date"/></td> |
||||
|
<td><span t-field="pre_booking.state"/></td> |
||||
|
</tr> |
||||
|
</t> |
||||
|
</t> |
||||
|
</t> |
||||
|
</template> |
||||
|
</odoo> |
@ -0,0 +1,136 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8" ?> |
||||
|
<odoo> |
||||
|
<!-- Template for the pre-book address--> |
||||
|
<template id="prebook_address"> |
||||
|
<t t-set="no_footer" t-value="1"/> |
||||
|
<t t-call="website.layout"> |
||||
|
<div id="wrap"> |
||||
|
<div class="container oe_website_sale py-2"> |
||||
|
<div class="row"> |
||||
|
<div class="col-12 col-xl order-xl-1 oe_cart"> |
||||
|
<div> |
||||
|
<form action="/prebook/address" method="post" class="checkout_autoformat"> |
||||
|
<div class="row"> |
||||
|
<div t-attf-class="mb-3 #{'o_has_error' or ''} col-lg-12 div_name"> |
||||
|
<label class="col-form-label" for="name">Name</label> |
||||
|
<input type="text" name="name" |
||||
|
t-attf-class="form-control #{'is-invalid' or ''}" |
||||
|
t-att-value="'name'" required="required"/> |
||||
|
</div> |
||||
|
<div class="w-100"/> |
||||
|
<div t-attf-class="mb-3 #{'o_has_error' or ''} col-lg-6" id="div_email"> |
||||
|
<label t-attf-class="col-form-label #{'label-optional' or ''}" for="email"> |
||||
|
Email |
||||
|
</label> |
||||
|
<input type="email" name="email" |
||||
|
t-attf-class="form-control #{'is-invalid' or ''}" |
||||
|
t-att-value="'email'"/> |
||||
|
</div> |
||||
|
<div t-attf-class="mb-3 #{'o_has_error' or ''} col-lg-6" id="div_phone"> |
||||
|
<label class="col-form-label" for="phone">Phone</label> |
||||
|
<input type="tel" name="phone" |
||||
|
t-attf-class="form-control #{'is-invalid' or ''}" |
||||
|
t-att-value="'phone'"/> |
||||
|
</div> |
||||
|
<t t-if="website._display_partner_b2b_fields()"> |
||||
|
<div class="w-100"/> |
||||
|
<t t-set='vat_warning' t-value="'vat'"/> |
||||
|
<t t-if="mode == ('new', 'billing') or (mode == ('edit', 'billing') and (can_edit_vat or 'vat' in checkout and checkout['vat']))"> |
||||
|
<div t-attf-class="mb-3 #{'o_has_error' or ''} col-lg-6 mb-0"> |
||||
|
<label class="col-form-label fw-normal label-optional" |
||||
|
for="company_name">Company Name |
||||
|
</label> |
||||
|
<input type="text" name="company_name" |
||||
|
t-attf-class="form-control #{'is-invalid' or ''}" |
||||
|
t-att-value="'commercial_company_name' or 'company_name'" |
||||
|
t-att-readonly="'1' if vat_warning else None"/> |
||||
|
<small t-if="vat_warning" |
||||
|
class="form-text text-muted d-block d-lg-none">Changing |
||||
|
company name is not allowed once document(s) have been issued |
||||
|
for your account. Please contact us directly for this operation. |
||||
|
</small> |
||||
|
</div> |
||||
|
<div t-attf-class="mb-3 #{'o_has_error' or ''} col-lg-6 div_vat mb-0"> |
||||
|
<label class="col-form-label fw-normal label-optional" for="vat">TIN |
||||
|
/ VAT |
||||
|
</label> |
||||
|
<input type="text" name="vat" |
||||
|
t-attf-class="form-control #{'is-invalid' or ''}" |
||||
|
t-att-value="'vat'" |
||||
|
t-att-readonly="'1' if vat_warning else None"/> |
||||
|
<small t-if="vat_warning" |
||||
|
class="form-text text-muted d-block d-lg-none">Changing VAT |
||||
|
number is not allowed once document(s) have been issued for your |
||||
|
account. Please contact us directly for this operation. |
||||
|
</small> |
||||
|
</div> |
||||
|
<div t-if="vat_warning" class="col-12 d-none d-lg-block mb-1"> |
||||
|
<small class="form-text text-muted">Changing company name or VAT |
||||
|
number is not allowed once document(s) have been issued for your |
||||
|
account. Please contact us directly for this operation. |
||||
|
</small> |
||||
|
</div> |
||||
|
</t> |
||||
|
</t> |
||||
|
<div class="w-100"/> |
||||
|
</div> |
||||
|
<input type="hidden" name="csrf_token" t-att-value="request.csrf_token()"/> |
||||
|
<input type="hidden" name="submitted" value="1"/> |
||||
|
<input type="hidden" name="product" t-att-value="product"/> |
||||
|
<input type="hidden" name="partner_id" t-att-value="partner_id or '0'"/> |
||||
|
<input type="hidden" name="callback" t-att-value="callback"/> |
||||
|
<input type="hidden" name="field_required" t-att-value="'phone,name'"/> |
||||
|
<div class="d-flex justify-content-between"> |
||||
|
<a role="button" |
||||
|
t-att-href="mode == ('new', 'billing') and '/shop/cart' or '/shop/checkout'" |
||||
|
class="btn btn-secondary mb32"> |
||||
|
<i class="fa fa-chevron-left"/> |
||||
|
<span>Back</span> |
||||
|
</a> |
||||
|
<a role="button" type="submit" href="#" |
||||
|
class="btn btn-primary mb32 a-submit a-submit-disable a-submit-loading"> |
||||
|
<span>Next</span> |
||||
|
<i class="fa fa-chevron-right"/> |
||||
|
</a> |
||||
|
</div> |
||||
|
</form> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</t> |
||||
|
</template> |
||||
|
<!-- Template for the pre-book success page--> |
||||
|
<template id="pre_booking_done"> |
||||
|
<t t-call="website.layout"> |
||||
|
<h2 style="text-align: center; margin-top: 140px; font-style: normal;"> |
||||
|
Prebooking (<t t-esc="ref"/>) successfully created...! |
||||
|
</h2> |
||||
|
<div class="text-center" style="padding-top:10mm; "> |
||||
|
<button class="button-40" style="background-color: #0f0c0dbf;"> |
||||
|
<a role="menuitem" t-attf-href="/@/shop" style="color: #f8f9fa;"> |
||||
|
Back |
||||
|
</a> |
||||
|
</button> |
||||
|
</div> |
||||
|
</t> |
||||
|
</template> |
||||
|
|
||||
|
<!--Template for pre-book fail--> |
||||
|
|
||||
|
<template id="pre_booking_failed"> |
||||
|
<t t-call="website.layout"> |
||||
|
<h2 style="text-align: center; margin-top: 140px; font-style: normal;"> |
||||
|
Sorry Your entry exceeds the maximum value. |
||||
|
</h2> |
||||
|
<div class="text-center" style="padding-top:10mm; "> |
||||
|
<button class="button-40" style="background-color: #0f0c0dbf;"> |
||||
|
<a role="menuitem" t-attf-href="/@/shop" style="color: #f8f9fa;"> |
||||
|
Back |
||||
|
</a> |
||||
|
</button> |
||||
|
</div> |
||||
|
</t> |
||||
|
</template> |
||||
|
</odoo> |
@ -0,0 +1,69 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8" ?> |
||||
|
<odoo> |
||||
|
<!-- Wb menu for the pre-booking--> |
||||
|
<record id="menu_service" model="website.menu"> |
||||
|
<field name="name">Track PreBookings</field> |
||||
|
<field name="url">/my/prebookings</field> |
||||
|
<field name="parent_id" ref="website.main_menu"/> |
||||
|
<field name="sequence" type="int">31</field> |
||||
|
</record> |
||||
|
<!-- Template for the pre-booking order Track--> |
||||
|
<template id="my_booking_template"> |
||||
|
<t t-call="portal.portal_layout"> |
||||
|
<form action="/track/prebooking" enctype="multipart/form-data" method="post"> |
||||
|
<div class="wrap" style="top:110px;"> |
||||
|
<h6 style="text-align:center; margin-top:35mm;">TRACK YOUR BOOKING</h6> |
||||
|
<div class="search"> |
||||
|
<input type="text" class="searchTerm" name="reference" required="" |
||||
|
placeholder="Enter your booking reference"/> |
||||
|
<button type="submit" class="searchButton"> |
||||
|
<i class="fa fa-search"> </i> |
||||
|
</button> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div> |
||||
|
<t t-if="reference"> |
||||
|
<table class="my_time_off_table" style="margin-top: 109px; width:100%; margin-left:20px;"> |
||||
|
<thead style="display: table-row-group; background-color:#8DB2D7; border: 0.3rem solid #8DB2D7; |
||||
|
border-bottom: none;"> |
||||
|
<tr> |
||||
|
<th class="" style="width: 20%; color: white;" scope="col"> |
||||
|
Booking Reference |
||||
|
</th> |
||||
|
<th class="" style="width: 20%; color: white;" scope="col"> |
||||
|
Product |
||||
|
</th> |
||||
|
<th class="" style="width: 20%; color: white;" scope="col"> |
||||
|
Booking Date |
||||
|
</th> |
||||
|
<th class="" style="width: 20%; color: white;" scope="col"> |
||||
|
Status |
||||
|
</th> |
||||
|
</tr> |
||||
|
</thead> |
||||
|
<body> |
||||
|
<td style="border: 0.15rem solid black; border-top: none;"> |
||||
|
<t t-esc="reference"/> |
||||
|
</td> |
||||
|
<td style="border: 0.15rem solid black; border-top: none;"> |
||||
|
<t t-esc="product"/> |
||||
|
</td> |
||||
|
<td style="border: 0.15rem solid black; border-top: none;"> |
||||
|
<t t-esc="date"/> |
||||
|
</td> |
||||
|
<td style="border: 0.15rem solid black; border-top: none;"> |
||||
|
<t t-esc="status"/> |
||||
|
</td> |
||||
|
</body> |
||||
|
</table> |
||||
|
</t> |
||||
|
<t t-if="vals"> |
||||
|
<div style="margin-top:109px; color: red;"> |
||||
|
<h5 style="text-align:center;">No bookings found...!</h5> |
||||
|
</div> |
||||
|
</t> |
||||
|
</div> |
||||
|
</form> |
||||
|
</t> |
||||
|
</template> |
||||
|
</odoo> |
@ -0,0 +1,23 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<!-- Product form page inherited to add the custom fields--> |
||||
|
<record id="product_template_only_form_view" model="ir.ui.view"> |
||||
|
<field name="name">product.template.view.form.inherit.website.pre.booking</field> |
||||
|
<field name="inherit_id" ref="product.product_template_only_form_view"/> |
||||
|
<field name="model">product.template</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<xpath expr="//page[@name='general_information']" position="after"> |
||||
|
<page string="Prebooking" name="prebooking"> |
||||
|
<group string="Booking Configuration"> |
||||
|
<group> |
||||
|
<field name="pre_book"/> |
||||
|
</group> |
||||
|
<group> |
||||
|
<field name="pre_max_quantity" invisible="pre_book != True"/> |
||||
|
</group> |
||||
|
</group> |
||||
|
</page> |
||||
|
</xpath> |
||||
|
</field> |
||||
|
</record> |
||||
|
</odoo> |
@ -0,0 +1,92 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<!-- Form page for the website pre-book model --> |
||||
|
<record id="website_prebook_view_form" model="ir.ui.view"> |
||||
|
<field name="name">website.prebook.view.form</field> |
||||
|
<field name="model">website.prebook</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<form> |
||||
|
<header> |
||||
|
<button name="action_confirm" data-hotkey="v" string="Confirm" type="object" |
||||
|
groups="base.group_user" invisible="state != 'draft'"/> |
||||
|
<field name="state" widget="statusbar"/> |
||||
|
</header> |
||||
|
<sheet> |
||||
|
<div class="oe_button_box" name="button_box"> |
||||
|
<button name="action_view_sale_order" type="object" class="oe_stat_button" |
||||
|
icon="fa-pencil-square-o" |
||||
|
invisible="state != 'confirm'"> |
||||
|
<div class="o_stat_info"> |
||||
|
<span class="o_stat_text">Sale Order</span> |
||||
|
</div> |
||||
|
</button> |
||||
|
</div> |
||||
|
<div class="oe_title"> |
||||
|
<h1> |
||||
|
<field name="reference" readonly="1"/> |
||||
|
</h1> |
||||
|
</div> |
||||
|
<group> |
||||
|
<group> |
||||
|
<field name="partner_id"/> |
||||
|
</group> |
||||
|
<group> |
||||
|
<field name="booking_date"/> |
||||
|
</group> |
||||
|
<group> |
||||
|
<field name="product_id"/> |
||||
|
<field name="quantity"/> |
||||
|
</group> |
||||
|
<group> |
||||
|
<field name="website_id"/> |
||||
|
</group> |
||||
|
</group> |
||||
|
</sheet> |
||||
|
</form> |
||||
|
</field> |
||||
|
</record> |
||||
|
<!-- Tree page for the website pre-book model --> |
||||
|
<record id="website_prebook_view_tree" model="ir.ui.view"> |
||||
|
<field name="name">website.prebook.view.tree</field> |
||||
|
<field name="model">website.prebook</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<tree default_order="reference desc"> |
||||
|
<field name="reference"/> |
||||
|
<field name="partner_id"/> |
||||
|
<field name="product_id"/> |
||||
|
<field name="quantity"/> |
||||
|
<field name="booking_date"/> |
||||
|
</tree> |
||||
|
</field> |
||||
|
</record> |
||||
|
<!--Menu action for the pre-book menu--> |
||||
|
<record id="action_prebook_menu" model="ir.actions.act_window"> |
||||
|
<field name="name">Pre Bookings</field> |
||||
|
<field name="type">ir.actions.act_window</field> |
||||
|
<field name="res_model">website.prebook</field> |
||||
|
<field name="view_mode">tree,kanban,form</field> |
||||
|
<field name="help" type="html"> |
||||
|
<p class="o_view_nocontent_smiling_face"> |
||||
|
Create! |
||||
|
</p> |
||||
|
</field> |
||||
|
</record> |
||||
|
<!-- Menu action for the pre-book main menu--> |
||||
|
<record id="action_pre_book_main_menu" model="ir.actions.act_window"> |
||||
|
<field name="name">Pre Bookings</field> |
||||
|
<field name="type">ir.actions.act_window</field> |
||||
|
<field name="res_model">website.prebook</field> |
||||
|
<field name="view_mode">tree,kanban,form</field> |
||||
|
<field name="help" type="html"> |
||||
|
<p class="o_view_nocontent_smiling_face"> |
||||
|
Create! |
||||
|
</p> |
||||
|
</field> |
||||
|
</record> |
||||
|
<!-- Menu for the pre-booking--> |
||||
|
<menuitem id="website_prebook_root" |
||||
|
name="Pre Bookings" |
||||
|
parent="website_sale.menu_ecommerce" |
||||
|
action="action_prebook_menu" |
||||
|
sequence="10"/> |
||||
|
</odoo> |
@ -0,0 +1,18 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8" ?> |
||||
|
<odoo> |
||||
|
<!-- Product page inherited to add the custom button--> |
||||
|
<template id="product_quantity" inherit_id="website_sale.product" name="Select Quantity"> |
||||
|
<xpath expr="//div[@id='o_wsale_cta_wrapper']" position="after"> |
||||
|
<div> |
||||
|
<t t-if="product.pre_book and product.pre_max_quantity > 0"> |
||||
|
<a role="menuitem" |
||||
|
style="color: #f8f9fa;"> |
||||
|
<button type="button" t-att-value="keep('/my/prebook_request/%s' % slug(product))" class="btn btn-primary pre_booking" t-att-data-id="product.pre_max_quantity"> |
||||
|
Pre Book |
||||
|
</button> |
||||
|
</a> |
||||
|
</t> |
||||
|
</div> |
||||
|
</xpath> |
||||
|
</template> |
||||
|
</odoo> |