@ -0,0 +1,51 @@ |
|||||
|
.. image:: https://img.shields.io/badge/license-LGPL--3-green.svg |
||||
|
:target: https://www.gnu.org/licenses/lgpl-3.0-standalone.html |
||||
|
:alt: License: LGPL-3 |
||||
|
|
||||
|
Estimated Delivery Time On Website |
||||
|
================================== |
||||
|
This module allows your customers to know the delivery time.It also facilitates |
||||
|
the admin to exercise different rights like defining the number of days in which |
||||
|
the product will be delivered and the product availability with PIN codes. |
||||
|
|
||||
|
Configuration |
||||
|
============= |
||||
|
* No additional configuration needed. |
||||
|
|
||||
|
Company |
||||
|
------- |
||||
|
* `Cybrosys Techno Solutions <https://cybrosys.com/>`__ |
||||
|
|
||||
|
License |
||||
|
------- |
||||
|
General Public License, Version 3 (LGPL v3). |
||||
|
(https://www.gnu.org/licenses/lgpl-3.0-standalone.html) |
||||
|
|
||||
|
Credits |
||||
|
------- |
||||
|
* Developer: |
||||
|
V(15): Jumana Haseen, |
||||
|
V(16): Albin PJ, |
||||
|
Contact : odoo@cybrosys.com |
||||
|
|
||||
|
Contacts |
||||
|
-------- |
||||
|
* Mail Contact : odoo@cybrosys.com |
||||
|
* Website : https://cybrosys.com |
||||
|
|
||||
|
Bug Tracker |
||||
|
----------- |
||||
|
Bugs are tracked on GitHub Issues. In case of trouble, please check there |
||||
|
if your issue has already been reported. |
||||
|
|
||||
|
Maintainer |
||||
|
========== |
||||
|
.. image:: https://cybrosys.com/images/logo.png |
||||
|
:target: https://cybrosys.com |
||||
|
|
||||
|
This module is maintained by Cybrosys Technologies. |
||||
|
For support and more information, please visit `Our Website <https://cybrosys.com/>`__ |
||||
|
|
||||
|
Further information |
||||
|
=================== |
||||
|
HTML Description: `<static/description/index.html>`__ |
@ -0,0 +1,24 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################### |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Jumana Haseen (odoo@cybrosys.com) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU LESSER |
||||
|
# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE |
||||
|
# (LGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################### |
||||
|
from . import controllers |
||||
|
from . import models |
||||
|
from . import wizard |
@ -0,0 +1,55 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################### |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Jumana Haseen (odoo@cybrosys.com) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU LESSER |
||||
|
# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE |
||||
|
# (LGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################### |
||||
|
{ |
||||
|
'name': 'Estimated Delivery Time On Website', |
||||
|
'version': '15.0.1.0.0', |
||||
|
'category': 'Website', |
||||
|
'summary': """This module allows you to see the delivery time on the website |
||||
|
product page""", |
||||
|
'description': """This module allows the users to know the delivery |
||||
|
time. It also facilitates the admin to exercise different rights like |
||||
|
defining the number of days in which the product will be delivered and the |
||||
|
product availability with PIN codes.""", |
||||
|
'author': 'Cybrosys Techno Solutions', |
||||
|
'company': 'Cybrosys Techno Solutions', |
||||
|
'maintainer': 'Cybrosys Techno Solutions', |
||||
|
'website': "https://www.cybrosys.com", |
||||
|
'depends': ['website', 'website_sale'], |
||||
|
'data': [ |
||||
|
'security/website_estimated_delivery_time_groups.xml', |
||||
|
'security/ir.model.access.csv', |
||||
|
'views/product_template_views.xml', |
||||
|
'views/website_templates.xml', |
||||
|
'wizard/website_estimated_delivery_time_views.xml', |
||||
|
], |
||||
|
'assets': { |
||||
|
'web.assets_frontend': [ |
||||
|
'website_estimated_delivery_time/static/src/js/website_estimated_delivery_time.js', |
||||
|
|
||||
|
], |
||||
|
}, |
||||
|
'images': ['static/description/banner.png'], |
||||
|
'license': 'LGPL-3', |
||||
|
'installable': True, |
||||
|
'auto_install': False, |
||||
|
'application': False, |
||||
|
} |
@ -0,0 +1,22 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################### |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Jumana Haseen (odoo@cybrosys.com) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU LESSER |
||||
|
# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE |
||||
|
# (LGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################### |
||||
|
from . import website_estimated_delivery_time |
@ -0,0 +1,101 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################### |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Jumana Haseen (odoo@cybrosys.com) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU LESSER |
||||
|
# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE |
||||
|
# (LGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################### |
||||
|
from odoo import http |
||||
|
from odoo.http import request |
||||
|
|
||||
|
|
||||
|
class WebsiteEstimatedDeliveryTime(http.Controller): |
||||
|
"""Returns the estimated delivery time""" |
||||
|
|
||||
|
@http.route(['/website_estimated_delivery_time'], type='json', |
||||
|
auth="public", website=True, csrf=False) |
||||
|
def website_estimated_delivery_time(self, **kwargs): |
||||
|
"""Returns the estimated delivery time and messages""" |
||||
|
data = { |
||||
|
'product_base_availability': 'False', |
||||
|
'website_base_availability': 'False', |
||||
|
'available_message': '', |
||||
|
'unavailable_message': '' |
||||
|
} |
||||
|
days = [] |
||||
|
product_id = request.env['product.template'].browse( |
||||
|
int(kwargs.get('product_id')) |
||||
|
) |
||||
|
message = request.env['website.estimated.delivery.time'].sudo().search( |
||||
|
[], limit=1 |
||||
|
) |
||||
|
message_product = request.env[ |
||||
|
'product.estimated.delivery.time'].sudo().search([ |
||||
|
('product_id', '=', product_id.id) |
||||
|
]) |
||||
|
|
||||
|
pin_entered = kwargs.get('pin_number') |
||||
|
|
||||
|
product_pin_found = False |
||||
|
|
||||
|
if product_id.overwrite_existing_config: |
||||
|
for rec in message_product: |
||||
|
if rec.pin == pin_entered: |
||||
|
days.append(rec.days) |
||||
|
data['product_base_availability'] = 'True' |
||||
|
data['available_message'] = ' '.join( |
||||
|
[str(rec.available_message), str(days[0]), 'Days'] |
||||
|
) |
||||
|
product_pin_found = True |
||||
|
break |
||||
|
if not product_pin_found: |
||||
|
data['unavailable_message'] = message_product[ |
||||
|
0].unavailable_message if message_product else message.unavailable_message |
||||
|
else: |
||||
|
website_pin_found = False |
||||
|
for rec in message.estimated_delivery_time_ids: |
||||
|
if rec.pin == pin_entered: |
||||
|
days.append(rec.days) |
||||
|
data['website_base_availability'] = 'True' |
||||
|
website_pin_found = True |
||||
|
break |
||||
|
if days: |
||||
|
if message.display_mode == 'exact': |
||||
|
data['available_message'] = ' '.join( |
||||
|
[str(message.available_message), str(days[0]), 'Days'] |
||||
|
) |
||||
|
else: |
||||
|
if message.delivery_day_range == 'days_after': |
||||
|
data['available_message'] = ' '.join( |
||||
|
[str(message.available_message), str(days[0]), '-', |
||||
|
str(days[0] + message.number_of_days), 'Days'] |
||||
|
) |
||||
|
else: |
||||
|
days_before = max(0, days[0] - message.number_of_days) |
||||
|
data['available_message'] = ' '.join( |
||||
|
[str(message.available_message), |
||||
|
str(days_before), '-', |
||||
|
str(days[0]), 'Days'] |
||||
|
) |
||||
|
if not website_pin_found: |
||||
|
data['unavailable_message'] = message.unavailable_message |
||||
|
|
||||
|
# Ensure unavailable_message is set correctly if no availability found |
||||
|
if data['product_base_availability'] == 'False' and data[ |
||||
|
'website_base_availability'] == 'False': |
||||
|
data['unavailable_message'] = message.unavailable_message |
||||
|
return data |
@ -0,0 +1,7 @@ |
|||||
|
## Module <website_estimated_delivery_time> |
||||
|
|
||||
|
#### 12.06.2024 |
||||
|
#### Version 15.0.1.0.0 |
||||
|
#### ADD |
||||
|
|
||||
|
- Initial commit for Estimated Delivery Time On Website |
@ -0,0 +1,24 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################### |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Jumana Haseen (odoo@cybrosys.com) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU LESSER |
||||
|
# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE |
||||
|
# (LGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################### |
||||
|
from . import product_estimated_delivery_time |
||||
|
from . import product_template |
||||
|
|
@ -0,0 +1,44 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################### |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Jumana Haseen (odoo@cybrosys.com) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU LESSER |
||||
|
# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE |
||||
|
# (LGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################### |
||||
|
from odoo import fields, models |
||||
|
|
||||
|
|
||||
|
class ProductEstimatedDeliveryTime(models.Model): |
||||
|
"""This is for adding the estimated delivery time for each product""" |
||||
|
_name = 'product.estimated.delivery.time' |
||||
|
_description = "Product Estimated Delivery Time" |
||||
|
|
||||
|
name = fields.Char(string="Name", required=True, |
||||
|
help="Estimated delivery time name") |
||||
|
pin = fields.Char(string="PIN", required=True, help="PIN number") |
||||
|
days = fields.Integer(string="Available Within (Days)", required=True, |
||||
|
help="Estimated delivery time in days") |
||||
|
product_id = fields.Many2one('product.template', |
||||
|
string="Product", help="Relational field") |
||||
|
available_message = fields.Char( |
||||
|
string="Message To Display When The Product Is Available", |
||||
|
help="Message to display when the product is available", required=True, |
||||
|
default="This Product Will Be Delivered Within") |
||||
|
unavailable_message = fields.Char( |
||||
|
string="Message To Display When The Product Is Unavailable", |
||||
|
help="Message to display when the product is unavailable", |
||||
|
required=True, default="This Product Is Not Available In Your Location") |
@ -0,0 +1,38 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################### |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Jumana Haseen (odoo@cybrosys.com) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU LESSER |
||||
|
# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE |
||||
|
# (LGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################### |
||||
|
from odoo import fields, models |
||||
|
|
||||
|
|
||||
|
class ProductTemplate(models.Model): |
||||
|
"""This is for adding notebook on product.template model""" |
||||
|
_inherit = 'product.template' |
||||
|
|
||||
|
overwrite_existing_config = fields.Boolean( |
||||
|
string="Overwrite Existing Configuration", |
||||
|
help="Overwrite the existing configuration in the wizard") |
||||
|
delivery_time_visibility = fields.Boolean(string="Delivery Time Visibility", |
||||
|
help="Delivery time visibility " |
||||
|
"based on this field") |
||||
|
product_estimated_delivery_time_ids = fields.One2many( |
||||
|
'product.estimated.delivery.time', 'product_id', |
||||
|
string="Product Estimated Delivery Time", |
||||
|
help="One2many for adding estimated delivery time in product") |
|
@ -0,0 +1,21 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8" ?> |
||||
|
<odoo> |
||||
|
<!-- Website Estimated Delivery Time Groups--> |
||||
|
<record id="estimated_delivery_time" model="ir.module.category"> |
||||
|
<field name="name">Website Estimated Delivery Time</field> |
||||
|
<field name="description">Access For Estimated Delivery Time On Website Module</field> |
||||
|
<field name="sequence">11</field> |
||||
|
</record> |
||||
|
<record id="website_estimated_delivery_time_group_user" model="res.groups"> |
||||
|
<field name="name">User</field> |
||||
|
<field name="category_id" ref="website_estimated_delivery_time.estimated_delivery_time"/> |
||||
|
</record> |
||||
|
<record id="website_estimated_delivery_time_group_administrator" model="res.groups"> |
||||
|
<field name="name">Administrator</field> |
||||
|
<field name="category_id" ref="website_estimated_delivery_time.estimated_delivery_time"/> |
||||
|
<field name="implied_ids" eval="[(4, ref('website_estimated_delivery_time_group_user'))]"/> |
||||
|
</record> |
||||
|
<record id="base.default_user" model="res.users"> |
||||
|
<field name="groups_id" eval="[(4,ref('website_estimated_delivery_time_group_administrator'))]"/> |
||||
|
</record> |
||||
|
</odoo> |
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.2 KiB |
After Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 673 B |
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: 42 KiB |
After Width: | Height: | Size: 70 KiB |
After Width: | Height: | Size: 39 KiB |
After Width: | Height: | Size: 56 KiB |
After Width: | Height: | Size: 40 KiB |
After Width: | Height: | Size: 42 KiB |
After Width: | Height: | Size: 110 KiB |
After Width: | Height: | Size: 159 KiB |
After Width: | Height: | Size: 146 KiB |
After Width: | Height: | Size: 89 KiB |
After Width: | Height: | Size: 100 KiB |
After Width: | Height: | Size: 143 KiB |
After Width: | Height: | Size: 118 KiB |
After Width: | Height: | Size: 143 KiB |
After Width: | Height: | Size: 117 KiB |
After Width: | Height: | Size: 110 KiB |
After Width: | Height: | Size: 246 KiB |
After Width: | Height: | Size: 150 KiB |
After Width: | Height: | Size: 235 KiB |
After Width: | Height: | Size: 185 KiB |
After Width: | Height: | Size: 179 KiB |
After Width: | Height: | Size: 160 KiB |
After Width: | Height: | Size: 146 KiB |
After Width: | Height: | Size: 462 KiB |
After Width: | Height: | Size: 56 KiB |
After Width: | Height: | Size: 7.9 KiB |
@ -0,0 +1,692 @@ |
|||||
|
|
||||
|
<div class="container" style="padding: 1rem !important; margin-bottom: 1rem !important;"> |
||||
|
<div class="row"> |
||||
|
<div class="col-sm-12 col-md-12 col-lg-12 d-flex justify-content-between" |
||||
|
style="border-bottom: 1px solid #d5d5d5;"> |
||||
|
<div class="my-3"> |
||||
|
<img src="./assets/icons/logo.png" style="width: auto !important; height: 40px !important;"> |
||||
|
</div> |
||||
|
<div class="my-3 d-flex align-items-center"> |
||||
|
<div |
||||
|
style="background-color: #7C7BAD !important; color: #fff !important; font-weight: 600 !important; padding: 5px 15px 8px !important; margin: 0 5px !important;"> |
||||
|
<i class="fa fa-check mr-1"></i>Community |
||||
|
</div> |
||||
|
<div |
||||
|
style="background-color: #875A7B !important; color: #fff !important; font-weight: 600 !important; padding: 5px 15px 8px !important; margin: 0 5px !important;"> |
||||
|
<i class="fa fa-check mr-1"></i>Enterprise |
||||
|
</div> |
||||
|
|
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="container" style="padding: 0rem 1.5rem 4rem !important"> |
||||
|
<div class="row" style="height: 900px !important;"> |
||||
|
<div class="col-sm-12 col-md-12 col-lg-12" |
||||
|
style="padding: 4rem 1rem !important; background-color: #714B67 !important; height: 600px !important; border-radius: 20px !important;"> |
||||
|
<h1 |
||||
|
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #FFFFFF !important; font-size: 3.5rem !important; text-align: center !important;"> |
||||
|
Estimated Delivery Time On Website</h1> |
||||
|
<p |
||||
|
style="font-family: 'Montserrat', sans-serif !important; font-weight: 300 !important; color: #FFFFFF !important; font-size: 1.4rem !important; text-align: center !important;"> |
||||
|
This Module Allows you to See the Delivery Time (Days) on |
||||
|
the Website Product Page |
||||
|
</p> |
||||
|
<img src="./assets/screenshots/hero.gif" class="img-responsive" width="100%" height="auto" /> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="row"> |
||||
|
<div class="col-md-12" style="border-bottom: 1px solid #d5d5d5 !important; margin-bottom: 2rem !important"> |
||||
|
<h2 |
||||
|
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.5rem !important;"> |
||||
|
<i class="fa fa-compass mr-2"></i>Explore this module |
||||
|
</h2> |
||||
|
</div> |
||||
|
<div class="col-md-6"> |
||||
|
<a href="#overview" style="text-decoration: none !important;"> |
||||
|
<div class="row" |
||||
|
style="background-color: #f5f2f5 !important; border-radius: 10px !important; margin: 1rem !important; padding: 1.5em !important; height: 100px !important;"> |
||||
|
<div class="col-8"> |
||||
|
<h3 |
||||
|
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.2rem !important;"> |
||||
|
Overview</h3> |
||||
|
<p |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #714B67 !important; font-size: 0.9rem !important;"> |
||||
|
Learn more about this module</p> |
||||
|
</div> |
||||
|
<div class="col-4 text-right d-flex justify-content-end align-items-center"> |
||||
|
<i class="fa fa-chevron-right" style="color: #714B67 !important;"></i> |
||||
|
</div> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-md-6"> |
||||
|
<a href="#features" style="text-decoration: none !important;"> |
||||
|
<div class="row" |
||||
|
style="background-color: #f5f2f5 !important; border-radius: 10px !important; margin: 1rem !important; padding: 1.5em !important; height: 100px !important;"> |
||||
|
<div class="col-8"> |
||||
|
<h3 |
||||
|
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.2rem !important;"> |
||||
|
Features</h3> |
||||
|
<p |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #714B67 !important; font-size: 0.9rem !important;"> |
||||
|
View features of this module</p> |
||||
|
</div> |
||||
|
<div class="col-4 text-right d-flex justify-content-end align-items-center"> |
||||
|
<i class="fa fa-chevron-right" style="color: #714B67 !important;"></i> |
||||
|
</div> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-md-6"> |
||||
|
<a href="#screenshots" style="text-decoration: none !important;"> |
||||
|
<div class="row" |
||||
|
style="background-color: #f5f2f5 !important; border-radius: 10px !important; margin: 1rem !important; padding: 1.5em !important; height: 100px !important;"> |
||||
|
<div class="col-8"> |
||||
|
<h3 |
||||
|
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.2rem !important;"> |
||||
|
Screenshots</h3> |
||||
|
<p |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #714B67 !important; font-size: 0.9rem !important;"> |
||||
|
See key screenshots of this module</p> |
||||
|
</div> |
||||
|
<div class="col-4 text-right d-flex justify-content-end align-items-center"> |
||||
|
<i class="fa fa-chevron-right" style="color: #714B67 !important;"></i> |
||||
|
</div> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="row" id="overview"> |
||||
|
<div class="col-md-12" style="border-bottom: 1px solid #d5d5d5 !important; margin: 2rem 0 !important"> |
||||
|
<h2 |
||||
|
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.5rem !important;"> |
||||
|
<i class="fa fa-pie-chart mr-2"></i>Overview |
||||
|
</h2> |
||||
|
</div> |
||||
|
<div class="col-mg-12 pl-3"> |
||||
|
<p |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important; line-height: 30px !important;"> |
||||
|
This module allows the users to know the delivery time. It also |
||||
|
facilitates the admin to exercise different rights like defining the |
||||
|
number of days in which the product will be delivered and the product |
||||
|
availability with PIN codes.</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="row" id="features"> |
||||
|
<div class="col-md-12" style="border-bottom: 1px solid #d5d5d5 !important; margin: 2rem 0 !important"> |
||||
|
<h2 |
||||
|
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.5rem !important;"> |
||||
|
<i class="fa fa-star mr-2"></i>Features |
||||
|
</h2> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-md-6 pl-3 py-3 d-flex"> |
||||
|
<div> |
||||
|
<img src="assets/icons/check.png"> |
||||
|
</div> |
||||
|
<div> |
||||
|
<h4 |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> |
||||
|
Customers can know the Estimated Delivery Time (Days) on their PIN Locations.</h4> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-6 pl-3 py-3 d-flex"> |
||||
|
<div> |
||||
|
<img src="assets/icons/check.png"> |
||||
|
</div> |
||||
|
<div> |
||||
|
<h4 |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> |
||||
|
Admin will be able to set the Estimated Delivery Time backend based on PIN Code.</h4> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-6 pl-3 py-3 d-flex"> |
||||
|
<div> |
||||
|
<img src="assets/icons/check.png"> |
||||
|
</div> |
||||
|
<div> |
||||
|
<h4 |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> |
||||
|
Admin can set Estimated Delivery Time based on each product.</h4> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-6 pl-3 py-3 d-flex"> |
||||
|
<div> |
||||
|
<img src="assets/icons/check.png"> |
||||
|
</div> |
||||
|
<div> |
||||
|
<h4 |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> |
||||
|
Also, Admin can set Estimated Delivery Time based on PIN code for all products.</h4> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="row" id="screenshots"> |
||||
|
<div class="col-md-12" style="border-bottom: 1px solid #d5d5d5 !important; margin: 2rem 0 !important"> |
||||
|
<h2 |
||||
|
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.5rem !important;"> |
||||
|
<i class="fa fa-image mr-2"></i>Screenshots |
||||
|
</h2> |
||||
|
</div> |
||||
|
<div class="col-lg-12 my-2"> |
||||
|
<h4 class="mt-2" |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> |
||||
|
Admin Can Change The Backend Settings</h4> |
||||
|
<img src="assets/screenshots/1.png" class="img-responsive img-thumbnail border" |
||||
|
width="100%" height="auto" /> |
||||
|
</div> |
||||
|
<div class="col-lg-12 my-3"> |
||||
|
<h4 class="mt-3" |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> |
||||
|
User Can Check The Estimated Delivery Time Through the |
||||
|
Website</h4> |
||||
|
<img src="assets/screenshots/2.png" class="img-responsive img-thumbnail border" |
||||
|
width="100%" height="auto" /> |
||||
|
</div> |
||||
|
<div class="col-lg-12 my-3"> |
||||
|
<h4 class="mt-3" |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> |
||||
|
Menu For Wizard Configuration</h4> |
||||
|
<img src="assets/screenshots/3.png" class="img-responsive img-thumbnail border" |
||||
|
width="100%" height="auto" /> |
||||
|
</div> |
||||
|
<div class="col-lg-12 my-3"> |
||||
|
<h4 class="mt-3" |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> |
||||
|
Wizard Configuration For All Products</h4> |
||||
|
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;"> |
||||
|
The PIN code and Estimated Delivery Time added in this wizard |
||||
|
are for all products. All products will be available in the |
||||
|
Estimated Delivery Time mentioned in the PIN codes added in the |
||||
|
wizard. But if the PIN code is set by the admin in the product |
||||
|
view, that product will not be associated with the PIN code in |
||||
|
the wizard.</p> |
||||
|
<img src="assets/screenshots/4.png" class="img-responsive img-thumbnail border" |
||||
|
width="100%" height="auto" /> |
||||
|
</div> |
||||
|
<div class="col-lg-12 my-3"> |
||||
|
<h4 class="mt-3" |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> |
||||
|
If you go to the product page and Search by using PIN codes |
||||
|
added in the wizard, you can see the Estimated Delivery Time of |
||||
|
the product.</h4> |
||||
|
<img src="assets/screenshots/5.png" class="img-responsive img-thumbnail border" |
||||
|
width="100%" height="auto" /> |
||||
|
</div> |
||||
|
<div class="col-lg-12 my-3"> |
||||
|
<h4 class="mt-3" |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> |
||||
|
Then user can see the Estimated Delivery Time.</h4> |
||||
|
<img src="assets/screenshots/6.png" class="img-responsive img-thumbnail border" |
||||
|
width="100%" height="auto" /> |
||||
|
</div> |
||||
|
<div class="col-lg-12 my-3"> |
||||
|
<h4 class="mt-3" |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> |
||||
|
If you are search using PIN codes that are not added in the |
||||
|
wizard then you will get a message.</h4> |
||||
|
<img src="assets/screenshots/7.png" class="img-responsive img-thumbnail border" |
||||
|
width="100%" height="auto" /> |
||||
|
</div> |
||||
|
<div class="col-lg-12 my-3"> |
||||
|
<h4 class="mt-3" |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> |
||||
|
Also, we can set the display mode in Range and the Delivery Day |
||||
|
Range as after.</h4> |
||||
|
<img src="assets/screenshots/8.png" class="img-responsive img-thumbnail border" |
||||
|
width="100%" height="auto" /> |
||||
|
</div> |
||||
|
<div class="col-lg-12 my-3"> |
||||
|
<h4 class="mt-3" |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> |
||||
|
Based on the given rules the Estimated Delivery Time is shown |
||||
|
below.</h4> |
||||
|
<img src="assets/screenshots/9.png" class="img-responsive img-thumbnail border" |
||||
|
width="100%" height="auto" /> |
||||
|
</div> |
||||
|
<div class="col-lg-12 my-3"> |
||||
|
<h4 class="mt-3" |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> |
||||
|
Also, we can set the Delivery Day Range as before.</h4> |
||||
|
<img src="assets/screenshots/10.png" class="img-responsive img-thumbnail border" |
||||
|
width="100%" height="auto" /> |
||||
|
</div> |
||||
|
<div class="col-lg-12 my-3"> |
||||
|
<h4 class="mt-3" |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> |
||||
|
Based on the given rules the Estimated Delivery Time is shown |
||||
|
below.</h4> |
||||
|
<img src="assets/screenshots/11.png" class="img-responsive img-thumbnail border" |
||||
|
width="100%" height="auto" /> |
||||
|
</div> |
||||
|
<div class="col-lg-12 my-3"> |
||||
|
<h4 class="mt-3" |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> |
||||
|
Estimated Delivery Time For Each Product</h4> |
||||
|
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;"> |
||||
|
Admin can set the Estimated Delivery Time based on the PIN code |
||||
|
for each product. For that enable this boolean.</p> |
||||
|
<img src="assets/screenshots/12.png" class="img-responsive img-thumbnail border" |
||||
|
width="100%" height="auto" /> |
||||
|
</div> |
||||
|
<div class="col-lg-12 my-3"> |
||||
|
<h4 class="mt-3" |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> |
||||
|
Add the PIN codes and Estimated Delivery Time.</h4> |
||||
|
<img src="assets/screenshots/13.png" class="img-responsive img-thumbnail border" |
||||
|
width="100%" height="auto" /> |
||||
|
</div> |
||||
|
<div class="col-lg-12 my-3"> |
||||
|
<h4 class="mt-3" |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> |
||||
|
Search Estimated Delivery Time by PIN code in product |
||||
|
page.</h4> |
||||
|
<img src="assets/screenshots/14.png" class="img-responsive img-thumbnail border" |
||||
|
width="100%" height="auto" /> |
||||
|
</div> |
||||
|
<div class="col-lg-12 my-3"> |
||||
|
<h4 class="mt-3" |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> |
||||
|
Then user can see the Estimated Delivery Time for that |
||||
|
product.</h4> |
||||
|
<img src="assets/screenshots/15.png" class="img-responsive img-thumbnail border" |
||||
|
width="100%" height="auto" /> |
||||
|
</div> |
||||
|
<div class="col-lg-12 my-3"> |
||||
|
<h4 class="mt-3" |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> |
||||
|
If you are searching for PIN codes that are not added in the |
||||
|
product configuration.</h4> |
||||
|
<img src="assets/screenshots/16.png" class="img-responsive img-thumbnail border" |
||||
|
width="100%" height="auto" /> |
||||
|
</div> |
||||
|
<div class="col-lg-12 my-3"> |
||||
|
<h4 class="mt-3" |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> |
||||
|
Then You will get a message.</h4> |
||||
|
<img src="assets/screenshots/17.png" class="img-responsive img-thumbnail border" |
||||
|
width="100%" height="auto" /> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
|
||||
|
|
||||
|
<!-- SUGGESTED PRODUCTS --> |
||||
|
<div class="row"> |
||||
|
<div class="col-lg-12 d-flex flex-column justify-content-center" |
||||
|
style="text-align: center; padding: 2.5rem 1rem !important;"> |
||||
|
<h2 style="color: #212529 !important;">Suggested Products</h2> |
||||
|
<hr |
||||
|
style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 80px !important; margin-bottom: 2rem !important;" /> |
||||
|
|
||||
|
<div id="demo1" class="row carousel slide" data-ride="carousel"> |
||||
|
<!-- The slideshow --> |
||||
|
<div class="carousel-inner"> |
||||
|
<div class="carousel-item active" style="min-height:0px"> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/15.0/odoo_website_helpdesk_dashboard/" target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" |
||||
|
style="border-top-left-radius:10px; border-top-right-radius:10px" |
||||
|
src="./assets/modules/1.png"> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/15.0/website_hide_button/" target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" |
||||
|
style="border-top-left-radius:10px; border-top-right-radius:10px" |
||||
|
src="./assets/modules/2.png"> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/15.0/customize_signup/" |
||||
|
target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" |
||||
|
style="border-top-left-radius:10px; border-top-right-radius:10px" |
||||
|
src="./assets/modules/3.png"> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="carousel-item" style="min-height:0px"> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/15.0/call_for_price_website/" target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" |
||||
|
style="border-top-left-radius:10px; border-top-right-radius:10px" |
||||
|
src="./assets/modules/4.png"> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/15.0/website_pdf_preview_snippet/" target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" |
||||
|
style="border-top-left-radius:10px; border-top-right-radius:10px" |
||||
|
src="./assets/modules/5.png"> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/15.0/website_product_publish/" target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" |
||||
|
style="border-top-left-radius:10px; border-top-right-radius:10px" |
||||
|
src="./assets/modules/6.png"> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- Left and right controls --> |
||||
|
<a class="carousel-control-prev" href="#demo1" data-slide="prev" |
||||
|
style="left:-25px;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="#demo1" data-slide="next" |
||||
|
style="right:-25px;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> |
||||
|
</div> |
||||
|
<!-- END OF SUGGESTED PRODUCTS --> |
||||
|
|
||||
|
<!-- OUR SERVICES --> |
||||
|
<section class="container" style="margin-top: 6rem !important;"> |
||||
|
<div class="row"> |
||||
|
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center"> |
||||
|
<h2 style="color: #212529 !important;">Our Services</h2> |
||||
|
<hr |
||||
|
style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 80px !important; margin-bottom: 2rem !important;" /> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #1dd1a1 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/cogs.png" class="img-responsive" height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Customization</h6> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #ff6b6b !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/wrench.png" class="img-responsive" height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Implementation</h6> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #6462CD !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/lifebuoy.png" class="img-responsive" height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Support</h6> |
||||
|
</div> |
||||
|
|
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #ffa801 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/user.png" class="img-responsive" height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Hire |
||||
|
Odoo |
||||
|
Developer</h6> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #54a0ff !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/puzzle.png" class="img-responsive" height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Integration</h6> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #6d7680 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/update.png" class="img-responsive" height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Migration</h6> |
||||
|
</div> |
||||
|
|
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #786fa6 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/consultation.png" class="img-responsive" height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Consultancy</h6> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #f8a5c2 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/training.png" class="img-responsive" height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Implementation</h6> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #e6be26 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/license.png" class="img-responsive" height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Licensing Consultancy</h6> |
||||
|
</div> |
||||
|
</div> |
||||
|
</section> |
||||
|
<!-- END OF END OF OUR SERVICES --> |
||||
|
|
||||
|
<!-- OUR INDUSTRIES --> |
||||
|
<section class="container" style="margin-top: 6rem !important;"> |
||||
|
<div class="row"> |
||||
|
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center"> |
||||
|
<h2 style="color: #212529 !important;">Our Industries</h2> |
||||
|
<hr |
||||
|
style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 80px !important; margin-bottom: 2rem !important;" /> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="./assets/icons/trading-black.png" class="img-responsive mb-3" height="48px" width="48px"> |
||||
|
<h5 |
||||
|
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
Trading |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
Easily procure |
||||
|
and |
||||
|
sell your products</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="./assets/icons/pos-black.png" class="img-responsive mb-3" height="48px" width="48px"> |
||||
|
<h5 |
||||
|
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
POS |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
Easy |
||||
|
configuration |
||||
|
and convivial experience</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="./assets/icons/education-black.png" class="img-responsive mb-3" height="48px" |
||||
|
width="48px"> |
||||
|
<h5 |
||||
|
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
Education |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
A platform for |
||||
|
educational management</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="./assets/icons/manufacturing-black.png" class="img-responsive mb-3" height="48px" |
||||
|
width="48px"> |
||||
|
<h5 |
||||
|
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
Manufacturing |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
Plan, track and |
||||
|
schedule your operations</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="./assets/icons/ecom-black.png" class="img-responsive mb-3" height="48px" width="48px"> |
||||
|
<h5 |
||||
|
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
E-commerce & Website |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
Mobile |
||||
|
friendly, |
||||
|
awe-inspiring product pages</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="./assets/icons/service-black.png" class="img-responsive mb-3" height="48px" width="48px"> |
||||
|
<h5 |
||||
|
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
Service Management |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
Keep track of |
||||
|
services and invoice</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="./assets/icons/restaurant-black.png" class="img-responsive mb-3" height="48px" |
||||
|
width="48px"> |
||||
|
<h5 |
||||
|
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
Restaurant |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
Run your bar or |
||||
|
restaurant methodically</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="./assets/icons/hotel-black.png" class="img-responsive mb-3" height="48px" width="48px"> |
||||
|
<h5 |
||||
|
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
Hotel Management |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
An |
||||
|
all-inclusive |
||||
|
hotel management application</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
</div> |
||||
|
</section> |
||||
|
|
||||
|
<!-- END OF END OF OUR INDUSTRIES --> |
||||
|
|
||||
|
<!-- FOOTER --> |
||||
|
<!-- Footer Section --> |
||||
|
<section class="container" style="margin: 5rem auto 2rem;"> |
||||
|
<div class="row" style="max-width:1540px;"> |
||||
|
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center"> |
||||
|
<h2 style="color: #212529 !important;">Need Help?</h2> |
||||
|
<hr |
||||
|
style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 80px !important; margin-bottom: 2rem !important;" /> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<!-- Contact Cards --> |
||||
|
<div class="row d-flex justify-content-center align-items-center" |
||||
|
style="max-width:1540px; margin: 0 auto 2rem auto;"> |
||||
|
|
||||
|
<div class="col-lg-12" style="padding: 0rem 3rem 2rem; border-radius: 10px; margin-right: 3rem; "> |
||||
|
|
||||
|
<div class="row mt-4"> |
||||
|
<div class="col-lg-6"> |
||||
|
<a href="mailto:odoo@cybrosys.com" target="_blank" class="btn btn-block mb-2 deep_hover" |
||||
|
style="text-decoration: none; background-color: #4d4d4d; color: #FFF; border-radius: 4px;"><i |
||||
|
class="fa fa-envelope mr-2"></i>odoo@cybrosys.com</a> |
||||
|
</div> |
||||
|
<div class="col-lg-6"> |
||||
|
<a href="https://api.whatsapp.com/send?phone=918606827707" target="_blank" |
||||
|
class="btn btn-block mb-2 deep_hover" |
||||
|
style="text-decoration: none; background-color: #25D366; color: #FFF; border-radius: 4px;"><i |
||||
|
class="fa fa-whatsapp mr-2"></i>WhatsApp</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
</div> |
||||
|
<!-- End of Contact Cards --> |
||||
|
</section> |
||||
|
<!-- Footer --> |
||||
|
<section class="oe_container" style="padding: 2rem 3rem 1rem;"> |
||||
|
<div class="row" style="max-width:1540px; margin: 0 auto; margin-right: 3rem; "> |
||||
|
<!-- Logo --> |
||||
|
<div class="col-lg-12 d-flex justify-content-center align-items-center" style="margin-top: 3rem;"> |
||||
|
<img src="https://www.cybrosys.com/images/logo.png" width="200px" height="auto" /> |
||||
|
</div> |
||||
|
<!-- End of Logo --> |
||||
|
<div class="col-lg-12"> |
||||
|
<hr |
||||
|
style="margin-top: 3rem;background: linear-gradient(90deg, rgba(2,0,36,0) 0%, rgba(229,229,229,1) 33%, rgba(229,229,229,1) 58%, rgba(0,212,255,0) 100%); height: 2px; border-style: none;"> |
||||
|
<!-- End of Footer Section --> |
||||
|
</div> |
||||
|
</div> |
||||
|
</section> |
||||
|
<!-- END OF FOOTER --> |
||||
|
|
||||
|
</div> |
@ -0,0 +1,45 @@ |
|||||
|
odoo.define("website_estimated_delivery_time.estimated_delivery_time", function(require) { |
||||
|
"use strict"; |
||||
|
// Importing required modules
|
||||
|
var publicWidget = require('web.public.widget'); |
||||
|
var ajax = require('web.ajax'); |
||||
|
|
||||
|
/** |
||||
|
* Widget for handling the estimated delivery time functionality. |
||||
|
*/ |
||||
|
var Template = publicWidget.Widget.extend({ |
||||
|
selector: '#search_website_pin_number', |
||||
|
events: { |
||||
|
'click #search_button': '_onClickSearchButton', |
||||
|
'click #close_button' : '_onClickCloseButton' |
||||
|
}, |
||||
|
/** |
||||
|
* Handler for the search button click event. |
||||
|
* Retrieves and processes the pin number and product ID. |
||||
|
*/ |
||||
|
_onClickSearchButton: function() { |
||||
|
let self = this; |
||||
|
var search_value = self.$el.find("#pin_number").val(); |
||||
|
var product_id = self.$el.find("#product_id").val(); |
||||
|
ajax.jsonRpc('/website_estimated_delivery_time', 'call', { |
||||
|
'pin_number': search_value, |
||||
|
'product_id': product_id |
||||
|
}).then(function(result) { |
||||
|
if (result.product_base_availability == 'True' || result.website_base_availability == 'True') { |
||||
|
self.$el.find('#AvailableModal').modal('show'); |
||||
|
self.$el.find('#AvailableModal').find('#message_to_show_available').text(result.available_message); |
||||
|
} else { |
||||
|
self.$el.find('#NotAvailableModal').modal('show'); |
||||
|
self.$el.find('#NotAvailableModal').find('#message_to_show_unavailable').text(result.unavailable_message || "This Product Is Not Available In Your Location"); |
||||
|
} |
||||
|
}); |
||||
|
}, |
||||
|
_onClickCloseButton: function() { |
||||
|
let self = this; |
||||
|
self.$el.find('.modal').modal('hide'); |
||||
|
} |
||||
|
}); |
||||
|
|
||||
|
publicWidget.registry.search_pin_number = Template; |
||||
|
return Template; |
||||
|
}); |
@ -0,0 +1,74 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8" ?> |
||||
|
<templates id="template" xml:space="preserve"> |
||||
|
<div t-name="website_estimated_delivery_time.estimated_delivery" role="form"> |
||||
|
<main class="modal-body"> |
||||
|
<div class="row"> |
||||
|
<div class="col-lg-6"> |
||||
|
<div class="form-group"> |
||||
|
<label for="website_meta_title"> |
||||
|
<h5>Message</h5> |
||||
|
</label> |
||||
|
<div class="o_field_widget"> |
||||
|
<label for="available_message"> |
||||
|
Available Message |
||||
|
<input type="text" name="available_message" id="available_message" class="form-control" placeholder="This Product Will Be Delivered Within"/> |
||||
|
</label> |
||||
|
</div> |
||||
|
<div class="o_field_widget"> |
||||
|
<label for="unavailable_message"> |
||||
|
Unavailable Message |
||||
|
</label> |
||||
|
<input type="text" name="unavailable_message" id="unavailable_message" class="form-control" placeholder="This Product Is Not Available In Your Location"/> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="form-group"> |
||||
|
<label for="website_meta_title"> |
||||
|
<h5>Configuration</h5> |
||||
|
</label> |
||||
|
<div class="o_group"> |
||||
|
<label for="display_mode">Display Mode</label> |
||||
|
<select name="display_mode" id="display_mode" class="form-control"> |
||||
|
<option value="exact">Exact</option> |
||||
|
<option value="range">Range</option> |
||||
|
</select> |
||||
|
<div class="o_group" id="delivery_day_range_group"> |
||||
|
<label for="delivery_day_range">Delivery Day Range</label> |
||||
|
<select value="delivery_day_range" id="delivery_day_range" class="form-control"> |
||||
|
<option value="days_before">Add Days Before</option> |
||||
|
<option value="days_after">Add Days After</option> |
||||
|
</select> |
||||
|
</div> |
||||
|
<div class="o_group" id="number_of_days_group"> |
||||
|
<label for="number_of_days">Number of Days</label> |
||||
|
<input type="text" name="number_of_days" id="number_of_days" class="form-control"/> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<ul class="nav nav-tabs" role="tablist"> |
||||
|
<li class="nav-item"> |
||||
|
<a aria-controls="basic_page_info" role="tab" data-toggle="tab" class="nav-link active" href="#basic_page_info">PIN Codes & Estimated Delivery Time (Days)</a> |
||||
|
</li> |
||||
|
</ul> |
||||
|
<div class="tab-content"> |
||||
|
<div role="tabpanel" class="tab-pane active" id="basic_page_info"> |
||||
|
<table class="table" id="pin_code_table"> |
||||
|
<thead> |
||||
|
<tr> |
||||
|
<th>Name</th> |
||||
|
<th>PIN</th> |
||||
|
<th>Available Within (Days)</th> |
||||
|
<th>Action</th> |
||||
|
</tr> |
||||
|
</thead> |
||||
|
<tbody> |
||||
|
<!-- Existing rows will be inserted here dynamically --> |
||||
|
</tbody> |
||||
|
</table> |
||||
|
<button id="add_pin_code" class="btn btn-primary">Add Line</button> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</main> |
||||
|
</div> |
||||
|
</templates> |
@ -0,0 +1,31 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<!-- Product template form view--> |
||||
|
<record id="product_template_only_form_view" model="ir.ui.view"> |
||||
|
<field name="name"> |
||||
|
product.template.view.form.inherit.website.estimated.delivery.time |
||||
|
</field> |
||||
|
<field name="model">product.template</field> |
||||
|
<field name="inherit_id" ref="product.product_template_only_form_view"/> |
||||
|
<field name="arch" type="xml"> |
||||
|
<notebook position="inside"> |
||||
|
<page string="PIN Codes & Estimated Delivery Time (Days)" |
||||
|
groups="website_estimated_delivery_time.website_estimated_delivery_time_group_administrator"> |
||||
|
<group> |
||||
|
<field name="overwrite_existing_config" |
||||
|
string="Overwrite Existing Configuration"/> |
||||
|
</group> |
||||
|
<field name="product_estimated_delivery_time_ids" |
||||
|
attrs="{'invisible':[('overwrite_existing_config','=', False)]}"> |
||||
|
<tree editable="bottom"> |
||||
|
<field name="name" string="Name"/> |
||||
|
<field name="pin" string="PIN"/> |
||||
|
<field name="days" |
||||
|
string="Available Within (Days)"/> |
||||
|
</tree> |
||||
|
</field> |
||||
|
</page> |
||||
|
</notebook> |
||||
|
</field> |
||||
|
</record> |
||||
|
</odoo> |
@ -0,0 +1,90 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<template id="user_navbar_inherit" inherit_id="website.user_navbar" |
||||
|
name="User Navbar"> |
||||
|
<xpath expr="//div[@id='promote-menu']/div" position="inside"> |
||||
|
<a role="menuitem" class="dropdown-item" |
||||
|
data-action="delivery-page" href="#" title="Estimated Delivery Time"> |
||||
|
Estimated Delivery Time |
||||
|
</a> |
||||
|
</xpath> |
||||
|
</template> |
||||
|
<!-- <!- Template for adding PIN–>--> |
||||
|
<template id="website_estimated_delivery_time" |
||||
|
inherit_id="website_sale.product" |
||||
|
customize_show="True" name="Select Quantity"> |
||||
|
<xpath expr="//div[@id='o_product_terms_and_share']" position="after"> |
||||
|
<div id="search_website_pin_number" |
||||
|
class="d-flex flex-wrap align-items-center"> |
||||
|
<input type="text" placeholder="Enter The PIN Code" |
||||
|
style="text-align: center;line-height: 30px;" |
||||
|
id="pin_number"> |
||||
|
</input> |
||||
|
<input type="hidden" t-att-value="product.id" |
||||
|
id="product_id"> |
||||
|
</input> |
||||
|
<button type="button" class="btn btn-secondary" |
||||
|
style="background-color: #228c91;" |
||||
|
id="search_button">Search |
||||
|
</button> |
||||
|
<!-- Product Available Modal--> |
||||
|
<div class="modal fade" id="NotAvailableModal" |
||||
|
data-bs-backdrop="static" data-bs-keyboard="false" |
||||
|
tabindex="-1" aria-labelledby="NotAvailableModalLabel" |
||||
|
aria-hidden="true"> |
||||
|
<div class="modal-dialog" style="top: 40%;"> |
||||
|
<div class="modal-content"> |
||||
|
<div class="modal-body" style="text-align: center;"> |
||||
|
<p id="message_to_show_unavailable"> |
||||
|
</p> |
||||
|
</div> |
||||
|
<button type="button" |
||||
|
id="close_button" |
||||
|
class="btn btn-primary" |
||||
|
data-bs-dismiss="modal"> |
||||
|
Close |
||||
|
</button> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- Product Unavailable Modal--> |
||||
|
<div class="modal fade" id="AvailableModal" |
||||
|
data-bs-backdrop="static" data-bs-keyboard="false" |
||||
|
tabindex="-1" aria-labelledby="AvailableModalLabel" |
||||
|
aria-hidden="true"> |
||||
|
<div class="modal-dialog" style="top: 40%;"> |
||||
|
<div class="modal-content"> |
||||
|
<div class="modal-body" style="text-align: center;"> |
||||
|
<p id="message_to_show_available"> |
||||
|
</p> |
||||
|
</div> |
||||
|
<button type="button" |
||||
|
id="close_button" |
||||
|
class="btn btn-primary" |
||||
|
data-bs-dismiss="modal"> |
||||
|
Close |
||||
|
</button> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</xpath> |
||||
|
</template> |
||||
|
<!-- Template for hide the shipping time--> |
||||
|
<template id="product_custom_text" inherit_id="website_sale.product" |
||||
|
active="True" name="Terms and Conditions" priority="21"> |
||||
|
<xpath expr="//div[@id='o_product_terms_and_share']" position="replace"> |
||||
|
<div id="o_product_terms_and_share" |
||||
|
class="d-flex justify-content-between flex-column flex-md-row align-items-md-end mb-3"> |
||||
|
<p class="text-muted mb-0"> |
||||
|
<a href="/terms" class="text-muted"> |
||||
|
<u>Terms and Conditions</u> |
||||
|
</a> |
||||
|
<br/> |
||||
|
30-day money-back guarantee |
||||
|
<br/> |
||||
|
</p> |
||||
|
</div> |
||||
|
</xpath> |
||||
|
</template> |
||||
|
</odoo> |
@ -0,0 +1,23 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################### |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Jumana Haseen (odoo@cybrosys.com) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU LESSER |
||||
|
# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE |
||||
|
# (LGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################### |
||||
|
from . import estimated_delivery_time |
||||
|
from . import website_estimated_delivery_time |
@ -0,0 +1,38 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################### |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Jumana Haseen (odoo@cybrosys.com) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU LESSER |
||||
|
# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE |
||||
|
# (LGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################### |
||||
|
from odoo import fields, models |
||||
|
|
||||
|
|
||||
|
class EstimatedDeliveryTime(models.Model): |
||||
|
"""This is for adding the estimated delivery time for all product""" |
||||
|
_name = 'estimated.delivery.time' |
||||
|
_description = "Estimated Delivery Time" |
||||
|
|
||||
|
name = fields.Char(string="Name", required=True, |
||||
|
help="Estimated delivery time name") |
||||
|
pin = fields.Char(string="PIN", required=True, help="PIN number") |
||||
|
days = fields.Integer(string="Available Within (Days)", required=True, |
||||
|
help="Estimated delivery time in days") |
||||
|
website_estimated_delivery_time_id = fields.Many2one( |
||||
|
'website.estimated.delivery.time', |
||||
|
string="Relational Fields", |
||||
|
help="Relational field") |
@ -0,0 +1,68 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################### |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Jumana Haseen (odoo@cybrosys.com) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU LESSER |
||||
|
# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE |
||||
|
# (LGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################### |
||||
|
from odoo import fields, models |
||||
|
|
||||
|
|
||||
|
class WebsiteEstimatedDeliveryTime(models.Model): |
||||
|
"""This is for adding the estimated delivery time for all product""" |
||||
|
_name = 'website.estimated.delivery.time' |
||||
|
_description = "Estimated Delivery Time" |
||||
|
|
||||
|
available_message = fields.Char( |
||||
|
string="Message To Display When The Product Is Available", |
||||
|
help="Message to display when the product is available", required=True, |
||||
|
default="This Product Will Be Delivered Within") |
||||
|
unavailable_message = fields.Char( |
||||
|
string="Message To Display When The Product Is Unavailable", |
||||
|
help="Message to display when the product is unavailable", |
||||
|
required=True, default="This Product Is Not Available In Your Location") |
||||
|
display_mode = fields.Selection([('exact', 'Exact'), |
||||
|
('range', 'Range')], |
||||
|
string='Display Mode', default='exact', |
||||
|
required=True) |
||||
|
delivery_day_range = fields.Selection([ |
||||
|
('days_before', 'Add Days Before'), |
||||
|
('days_after', 'Add Days After')], |
||||
|
string='Delivery Day Range', |
||||
|
default='days_after', required=True, |
||||
|
help="Day range to deliver products") |
||||
|
number_of_days = fields.Integer(string="Number Of Days", |
||||
|
help="The number of days added or " |
||||
|
"subtracted the actual days in order" |
||||
|
"to create delivery range", |
||||
|
required=True) |
||||
|
estimated_delivery_time_ids = fields.One2many( |
||||
|
'estimated.delivery.time', |
||||
|
'website_estimated_delivery_time_id', |
||||
|
required=True, |
||||
|
string="Estimated Delivery Time", |
||||
|
help="Add Estimated delivery Time") |
||||
|
|
||||
|
def action_website_estimated_delivery_time(self): |
||||
|
"""This is for deleting the previous records in the |
||||
|
website.estimated.delivery.time and estimated.delivery.time""" |
||||
|
for rec in self.env['website.estimated.delivery.time'].search( |
||||
|
[('id', '!=', self.id)]): |
||||
|
rec.unlink() |
||||
|
for records in self.env['estimated.delivery.time'].search( |
||||
|
[('id', '!=', self.estimated_delivery_time_ids.ids)]): |
||||
|
records.unlink() |
@ -0,0 +1,77 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<!-- Form view--> |
||||
|
<record id="website_estimated_delivery_time_view_form" model="ir.ui.view"> |
||||
|
<field name="name">website.estimated.delivery.time.view.form</field> |
||||
|
<field name="model">website.estimated.delivery.time</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<form string="Website Estimated Delivery Time (Days) Configuration" |
||||
|
class="oe_form_configuration"> |
||||
|
<separator string="Messages"/> |
||||
|
<group> |
||||
|
<field name="available_message" |
||||
|
placeholder="For Example: This Product Will Be Delivered Within"/> |
||||
|
<field name="unavailable_message" |
||||
|
placeholder="For example: This Product Is Not Available In Your Location"/> |
||||
|
</group> |
||||
|
<separator string="Configuration"/> |
||||
|
<group> |
||||
|
<group> |
||||
|
<field name="display_mode"/> |
||||
|
</group> |
||||
|
</group> |
||||
|
<group> |
||||
|
<group> |
||||
|
<field name="delivery_day_range" |
||||
|
attrs="{'invisible':[('display_mode','=', 'exact')]}"/> |
||||
|
</group> |
||||
|
<group> |
||||
|
<field name="number_of_days" |
||||
|
attrs="{'invisible':[('display_mode','=', 'exact')]}"/> |
||||
|
</group> |
||||
|
</group> |
||||
|
<p attrs="{'invisible':[('display_mode','=', 'exact')]}" |
||||
|
class="oe_grey oe_inline">For Example:- If the Actual |
||||
|
Delivery Days = 9 days and the days <b>before = 3</b>days |
||||
|
then the delivery range = <b>6 to 9</b> days.And if the |
||||
|
Actual Delivery Days = 9 days and the days <b>after = 3</b> days |
||||
|
then the delivery range = <b>9 to 12</b> days |
||||
|
</p> |
||||
|
<notebook> |
||||
|
<page string="PIN Codes & Estimated Delivery Time (Days)"> |
||||
|
<field name="estimated_delivery_time_ids"> |
||||
|
<tree editable="bottom" create="true" delete="true"> |
||||
|
<field name="name"/> |
||||
|
<field name="pin"/> |
||||
|
<field name="days"/> |
||||
|
</tree> |
||||
|
</field> |
||||
|
</page> |
||||
|
</notebook> |
||||
|
<footer> |
||||
|
<button name="action_website_estimated_delivery_time" |
||||
|
string="Apply" |
||||
|
type="object" class="btn-primary" data-hotkey="q"/> |
||||
|
<button string="Cancel" class="btn-secondary" |
||||
|
special="cancel" data-hotkey="z"/> |
||||
|
</footer> |
||||
|
</form> |
||||
|
</field> |
||||
|
</record> |
||||
|
<!-- Window action for wizard--> |
||||
|
<record id="window_website_estimated_delivery_time_action" |
||||
|
model="ir.actions.act_window"> |
||||
|
<field name="name">Estimated Delivery Time</field> |
||||
|
<field name="type">ir.actions.act_window</field> |
||||
|
<field name="res_model">website.estimated.delivery.time</field> |
||||
|
<field name="view_mode">form</field> |
||||
|
<field name="view_id" ref="website_estimated_delivery_time_view_form"/> |
||||
|
<field name="target">new</field> |
||||
|
</record> |
||||
|
<menuitem |
||||
|
id="menu_wizard" |
||||
|
action="window_website_estimated_delivery_time_action" |
||||
|
name="Estimated Delivery Time" |
||||
|
parent="website.website_visitor_menu" |
||||
|
sequence="10"/> |
||||
|
</odoo> |