diff --git a/website_estimated_delivery_time/README.rst b/website_estimated_delivery_time/README.rst new file mode 100644 index 000000000..5948b876d --- /dev/null +++ b/website_estimated_delivery_time/README.rst @@ -0,0 +1,45 @@ +.. 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 + +Estimated Delivery Time On Website +================================== +This module allows you to see the delivery time on the website product page. + +Configuration +============= +* No additional configuration is needed. + +Company +------- +* `Cybrosys Techno Solutions `__ + +License +------- +Affero General Public License, Version 3 (AGPL-3). +(https://www.gnu.org/licenses/agpl-3.0-standalone.html) + +Credits +------- +* Developer: V(18): Ammu Raj, Contact : odoo@cybrosys.com + +Contacts +-------- +* Mail Contact : odoo@cybrosys.com +* Website : https://cybrosys.com + +Bug Tracker +----------- +Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. + +Maintainer +========== +.. image:: https://cybrosys.com/images/logo.png + :target: https://cybrosys.com + +This module is maintained by Cybrosys Technologies. +For support and more information, please visit `Our Website `__ + +Further information +=================== +HTML Description: ``__ diff --git a/website_estimated_delivery_time/__init__.py b/website_estimated_delivery_time/__init__.py new file mode 100644 index 000000000..ec1f597be --- /dev/null +++ b/website_estimated_delivery_time/__init__.py @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-TODAY Cybrosys Technologies() +# Author: Ammu Raj (odoo@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 . +# +############################################################################### +from . import controllers +from . import models +from . import wizard diff --git a/website_estimated_delivery_time/__manifest__.py b/website_estimated_delivery_time/__manifest__.py new file mode 100644 index 000000000..b1784c8ca --- /dev/null +++ b/website_estimated_delivery_time/__manifest__.py @@ -0,0 +1,54 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-TODAY Cybrosys Technologies() +# Author: Ammu Raj (odoo@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 . +# +############################################################################### +{ + 'name': 'Estimated Delivery Time On Website', + 'version': '18.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_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.jpg'], + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/website_estimated_delivery_time/controllers/__init__.py b/website_estimated_delivery_time/controllers/__init__.py new file mode 100644 index 000000000..65f0dc5b9 --- /dev/null +++ b/website_estimated_delivery_time/controllers/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-TODAY Cybrosys Technologies() +# Author: Ammu Raj (odoo@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 . +# +############################################################################### +from . import website_estimated_delivery_time diff --git a/website_estimated_delivery_time/controllers/website_estimated_delivery_time.py b/website_estimated_delivery_time/controllers/website_estimated_delivery_time.py new file mode 100644 index 000000000..dbb58d106 --- /dev/null +++ b/website_estimated_delivery_time/controllers/website_estimated_delivery_time.py @@ -0,0 +1,74 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-TODAY Cybrosys Technologies() +# Author: Ammu Raj (odoo@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 . +# +############################################################################### +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'].search([]) + if product_id.overwrite_existing_config: + for rec in product_id.product_estimated_delivery_time_ids: + if rec.pin == kwargs.get('pin_number'): + days.append(rec.days) + data['product_base_availability'] = 'True' + if days: + data['available_message'] = ' '.join( + [str(message.available_message), str(days[0]), + 'Days']) + else: + website_wizard = request.env[ + 'website.estimated.delivery.time'].search([]) + for rec in website_wizard.estimated_delivery_time_ids: + if rec.pin == kwargs.get('pin_number'): + days.append(rec.days) + data['website_base_availability'] = 'True' + 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: + if days[0] - message.number_of_days < 0: + days_before = 0 + else: + days_before = days[0] - message.number_of_days + data['available_message'] = ' '.join( + [str(message.available_message), + str(days_before), '-', + str(days[0]), 'Days']) + data['unavailable_message'] = message.unavailable_message + return data diff --git a/website_estimated_delivery_time/doc/RELEASE_NOTES.md b/website_estimated_delivery_time/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..b5e2efbc7 --- /dev/null +++ b/website_estimated_delivery_time/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 05.02.2025 +#### Version 18.0.1.0.0 +##### ADD +- Initial commit for Estimated Delivery Time On Website diff --git a/website_estimated_delivery_time/models/__init__.py b/website_estimated_delivery_time/models/__init__.py new file mode 100644 index 000000000..20feb8d05 --- /dev/null +++ b/website_estimated_delivery_time/models/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-TODAY Cybrosys Technologies() +# Author: Ammu Raj (odoo@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 . +# +############################################################################### +from . import product_estimated_delivery_time +from . import product_template diff --git a/website_estimated_delivery_time/models/product_estimated_delivery_time.py b/website_estimated_delivery_time/models/product_estimated_delivery_time.py new file mode 100644 index 000000000..9c742b3f7 --- /dev/null +++ b/website_estimated_delivery_time/models/product_estimated_delivery_time.py @@ -0,0 +1,36 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-TODAY Cybrosys Technologies() +# Author: Ammu Raj (odoo@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 . +# +############################################################################### +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") diff --git a/website_estimated_delivery_time/models/product_template.py b/website_estimated_delivery_time/models/product_template.py new file mode 100644 index 000000000..d466ca386 --- /dev/null +++ b/website_estimated_delivery_time/models/product_template.py @@ -0,0 +1,38 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-TODAY Cybrosys Technologies() +# Author: Ammu Raj (odoo@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 . +# +############################################################################### +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") diff --git a/website_estimated_delivery_time/security/ir.model.access.csv b/website_estimated_delivery_time/security/ir.model.access.csv new file mode 100644 index 000000000..2d598060c --- /dev/null +++ b/website_estimated_delivery_time/security/ir.model.access.csv @@ -0,0 +1,7 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_product_estimated_delivery_time_administrator,access.product.estimated.delivery.time.administrator,model_product_estimated_delivery_time,website_estimated_delivery_time.website_estimated_delivery_time_group_administrator,1,1,1,1 +access_product_estimated_delivery_time_user,access.product.estimated.delivery.time.user,model_product_estimated_delivery_time,website_estimated_delivery_time.website_estimated_delivery_time_group_user,1,1,1,1 +access_estimated_delivery_time_administrator,access.estimated.delivery.time.administrator,model_estimated_delivery_time,website_estimated_delivery_time.website_estimated_delivery_time_group_administrator,1,1,1,1 +access_estimated_delivery_time_user,access.estimated.delivery.time.user,model_estimated_delivery_time,website_estimated_delivery_time.website_estimated_delivery_time_group_user,1,1,1,1 +access_website_estimated_delivery_time_administrator,access.website.estimated.delivery.time.administrator,model_website_estimated_delivery_time,website_estimated_delivery_time.website_estimated_delivery_time_group_administrator,1,1,1,1 +access_website_estimated_delivery_time_user,access.website.estimated.delivery.time.user,model_website_estimated_delivery_time,website_estimated_delivery_time.website_estimated_delivery_time_group_user,1,1,1,1 diff --git a/website_estimated_delivery_time/security/website_estimated_delivery_time_groups.xml b/website_estimated_delivery_time/security/website_estimated_delivery_time_groups.xml new file mode 100644 index 000000000..52f64df3d --- /dev/null +++ b/website_estimated_delivery_time/security/website_estimated_delivery_time_groups.xml @@ -0,0 +1,28 @@ + + + + + Website Estimated Delivery Time + Access For Estimated Delivery Time On Website + Module + + 11 + + + User + + + + Administrator + + + + + + + diff --git a/website_estimated_delivery_time/static/description/assets/cybro-icon.png b/website_estimated_delivery_time/static/description/assets/cybro-icon.png new file mode 100644 index 000000000..06e73e11d Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/cybro-icon.png differ diff --git a/website_estimated_delivery_time/static/description/assets/cybro-odoo.png b/website_estimated_delivery_time/static/description/assets/cybro-odoo.png new file mode 100644 index 000000000..ed02e07a4 Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/cybro-odoo.png differ diff --git a/website_estimated_delivery_time/static/description/assets/h2.png b/website_estimated_delivery_time/static/description/assets/h2.png new file mode 100644 index 000000000..0bfc4707d Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/h2.png differ diff --git a/website_estimated_delivery_time/static/description/assets/icons/arrows-repeat.svg b/website_estimated_delivery_time/static/description/assets/icons/arrows-repeat.svg new file mode 100644 index 000000000..1d7efabc5 --- /dev/null +++ b/website_estimated_delivery_time/static/description/assets/icons/arrows-repeat.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/website_estimated_delivery_time/static/description/assets/icons/banner-1.png b/website_estimated_delivery_time/static/description/assets/icons/banner-1.png new file mode 100644 index 000000000..c180db172 Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/icons/banner-1.png differ diff --git a/website_estimated_delivery_time/static/description/assets/icons/banner-2.svg b/website_estimated_delivery_time/static/description/assets/icons/banner-2.svg new file mode 100644 index 000000000..e606d97d9 --- /dev/null +++ b/website_estimated_delivery_time/static/description/assets/icons/banner-2.svg @@ -0,0 +1,73 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/website_estimated_delivery_time/static/description/assets/icons/banner-bg.png b/website_estimated_delivery_time/static/description/assets/icons/banner-bg.png new file mode 100644 index 000000000..a8238d3c0 Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/icons/banner-bg.png differ diff --git a/website_estimated_delivery_time/static/description/assets/icons/banner-bg.svg b/website_estimated_delivery_time/static/description/assets/icons/banner-bg.svg new file mode 100644 index 000000000..b1378103e --- /dev/null +++ b/website_estimated_delivery_time/static/description/assets/icons/banner-bg.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/website_estimated_delivery_time/static/description/assets/icons/banner-call.svg b/website_estimated_delivery_time/static/description/assets/icons/banner-call.svg new file mode 100644 index 000000000..96c687e81 --- /dev/null +++ b/website_estimated_delivery_time/static/description/assets/icons/banner-call.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/website_estimated_delivery_time/static/description/assets/icons/banner-mail.svg b/website_estimated_delivery_time/static/description/assets/icons/banner-mail.svg new file mode 100644 index 000000000..cbf0d158d --- /dev/null +++ b/website_estimated_delivery_time/static/description/assets/icons/banner-mail.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/website_estimated_delivery_time/static/description/assets/icons/banner-pattern.svg b/website_estimated_delivery_time/static/description/assets/icons/banner-pattern.svg new file mode 100644 index 000000000..9c1c7e101 --- /dev/null +++ b/website_estimated_delivery_time/static/description/assets/icons/banner-pattern.svg @@ -0,0 +1,343 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/website_estimated_delivery_time/static/description/assets/icons/banner-promo.svg b/website_estimated_delivery_time/static/description/assets/icons/banner-promo.svg new file mode 100644 index 000000000..d52791b11 --- /dev/null +++ b/website_estimated_delivery_time/static/description/assets/icons/banner-promo.svg @@ -0,0 +1,147 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/website_estimated_delivery_time/static/description/assets/icons/brand-pair.svg b/website_estimated_delivery_time/static/description/assets/icons/brand-pair.svg new file mode 100644 index 000000000..d8db7fc1e --- /dev/null +++ b/website_estimated_delivery_time/static/description/assets/icons/brand-pair.svg @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/website_estimated_delivery_time/static/description/assets/icons/check.png b/website_estimated_delivery_time/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/icons/check.png differ diff --git a/website_estimated_delivery_time/static/description/assets/icons/chevron.png b/website_estimated_delivery_time/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/icons/chevron.png differ diff --git a/website_estimated_delivery_time/static/description/assets/icons/close-icon.svg b/website_estimated_delivery_time/static/description/assets/icons/close-icon.svg new file mode 100644 index 000000000..df8cce37a --- /dev/null +++ b/website_estimated_delivery_time/static/description/assets/icons/close-icon.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/website_estimated_delivery_time/static/description/assets/icons/cogs.png b/website_estimated_delivery_time/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/icons/cogs.png differ diff --git a/website_estimated_delivery_time/static/description/assets/icons/collabarate-icon.svg b/website_estimated_delivery_time/static/description/assets/icons/collabarate-icon.svg new file mode 100644 index 000000000..dd4e10518 --- /dev/null +++ b/website_estimated_delivery_time/static/description/assets/icons/collabarate-icon.svg @@ -0,0 +1,3 @@ + + + diff --git a/website_estimated_delivery_time/static/description/assets/icons/consultation.png b/website_estimated_delivery_time/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/icons/consultation.png differ diff --git a/website_estimated_delivery_time/static/description/assets/icons/cybro-logo.png b/website_estimated_delivery_time/static/description/assets/icons/cybro-logo.png new file mode 100644 index 000000000..ff4b78220 Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/icons/cybro-logo.png differ diff --git a/website_estimated_delivery_time/static/description/assets/icons/down.svg b/website_estimated_delivery_time/static/description/assets/icons/down.svg new file mode 100644 index 000000000..f21c36271 --- /dev/null +++ b/website_estimated_delivery_time/static/description/assets/icons/down.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/website_estimated_delivery_time/static/description/assets/icons/ecom-black.png b/website_estimated_delivery_time/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/icons/ecom-black.png differ diff --git a/website_estimated_delivery_time/static/description/assets/icons/education-black.png b/website_estimated_delivery_time/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/icons/education-black.png differ diff --git a/website_estimated_delivery_time/static/description/assets/icons/faq.png b/website_estimated_delivery_time/static/description/assets/icons/faq.png new file mode 100644 index 000000000..4250b5b81 Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/icons/faq.png differ diff --git a/website_estimated_delivery_time/static/description/assets/icons/feature-icon.svg b/website_estimated_delivery_time/static/description/assets/icons/feature-icon.svg new file mode 100644 index 000000000..fa0ea6850 --- /dev/null +++ b/website_estimated_delivery_time/static/description/assets/icons/feature-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/website_estimated_delivery_time/static/description/assets/icons/feature.png b/website_estimated_delivery_time/static/description/assets/icons/feature.png new file mode 100644 index 000000000..ac7a785c0 Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/icons/feature.png differ diff --git a/website_estimated_delivery_time/static/description/assets/icons/gear.svg b/website_estimated_delivery_time/static/description/assets/icons/gear.svg new file mode 100644 index 000000000..0cc66b6ea --- /dev/null +++ b/website_estimated_delivery_time/static/description/assets/icons/gear.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/website_estimated_delivery_time/static/description/assets/icons/hero.gif b/website_estimated_delivery_time/static/description/assets/icons/hero.gif new file mode 100644 index 000000000..380654dfe Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/icons/hero.gif differ diff --git a/website_estimated_delivery_time/static/description/assets/icons/hire-odoo.svg b/website_estimated_delivery_time/static/description/assets/icons/hire-odoo.svg new file mode 100644 index 000000000..e1ac089b0 --- /dev/null +++ b/website_estimated_delivery_time/static/description/assets/icons/hire-odoo.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/website_estimated_delivery_time/static/description/assets/icons/hotel-black.png b/website_estimated_delivery_time/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/icons/hotel-black.png differ diff --git a/website_estimated_delivery_time/static/description/assets/icons/license.png b/website_estimated_delivery_time/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/icons/license.png differ diff --git a/website_estimated_delivery_time/static/description/assets/icons/life-ring-icon.svg b/website_estimated_delivery_time/static/description/assets/icons/life-ring-icon.svg new file mode 100644 index 000000000..3ae6e1d89 --- /dev/null +++ b/website_estimated_delivery_time/static/description/assets/icons/life-ring-icon.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/website_estimated_delivery_time/static/description/assets/icons/lifebuoy.png b/website_estimated_delivery_time/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/icons/lifebuoy.png differ diff --git a/website_estimated_delivery_time/static/description/assets/icons/mail.svg b/website_estimated_delivery_time/static/description/assets/icons/mail.svg new file mode 100644 index 000000000..1eedde695 --- /dev/null +++ b/website_estimated_delivery_time/static/description/assets/icons/mail.svg @@ -0,0 +1,3 @@ + + + diff --git a/website_estimated_delivery_time/static/description/assets/icons/manufacturing-black.png b/website_estimated_delivery_time/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/icons/manufacturing-black.png differ diff --git a/website_estimated_delivery_time/static/description/assets/icons/notes.png b/website_estimated_delivery_time/static/description/assets/icons/notes.png new file mode 100644 index 000000000..ee5e95404 Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/icons/notes.png differ diff --git a/website_estimated_delivery_time/static/description/assets/icons/notification icon.svg b/website_estimated_delivery_time/static/description/assets/icons/notification icon.svg new file mode 100644 index 000000000..053189973 --- /dev/null +++ b/website_estimated_delivery_time/static/description/assets/icons/notification icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/website_estimated_delivery_time/static/description/assets/icons/odoo-consultancy.svg b/website_estimated_delivery_time/static/description/assets/icons/odoo-consultancy.svg new file mode 100644 index 000000000..e05f65bde --- /dev/null +++ b/website_estimated_delivery_time/static/description/assets/icons/odoo-consultancy.svg @@ -0,0 +1,4 @@ + + + + diff --git a/website_estimated_delivery_time/static/description/assets/icons/odoo-licencing.svg b/website_estimated_delivery_time/static/description/assets/icons/odoo-licencing.svg new file mode 100644 index 000000000..2606c88b0 --- /dev/null +++ b/website_estimated_delivery_time/static/description/assets/icons/odoo-licencing.svg @@ -0,0 +1,3 @@ + + + diff --git a/website_estimated_delivery_time/static/description/assets/icons/odoo-logo.png b/website_estimated_delivery_time/static/description/assets/icons/odoo-logo.png new file mode 100644 index 000000000..0e4d0eb5a Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/icons/odoo-logo.png differ diff --git a/website_estimated_delivery_time/static/description/assets/icons/patter.svg b/website_estimated_delivery_time/static/description/assets/icons/patter.svg new file mode 100644 index 000000000..25c9c0a8f --- /dev/null +++ b/website_estimated_delivery_time/static/description/assets/icons/patter.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/website_estimated_delivery_time/static/description/assets/icons/pattern1.png b/website_estimated_delivery_time/static/description/assets/icons/pattern1.png new file mode 100644 index 000000000..09ab0fb2d Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/icons/pattern1.png differ diff --git a/website_estimated_delivery_time/static/description/assets/icons/pos-black.png b/website_estimated_delivery_time/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/icons/pos-black.png differ diff --git a/website_estimated_delivery_time/static/description/assets/icons/puzzle-piece-icon.svg b/website_estimated_delivery_time/static/description/assets/icons/puzzle-piece-icon.svg new file mode 100644 index 000000000..3e9ad9373 --- /dev/null +++ b/website_estimated_delivery_time/static/description/assets/icons/puzzle-piece-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/website_estimated_delivery_time/static/description/assets/icons/puzzle.png b/website_estimated_delivery_time/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/icons/puzzle.png differ diff --git a/website_estimated_delivery_time/static/description/assets/icons/replace-icon.svg b/website_estimated_delivery_time/static/description/assets/icons/replace-icon.svg new file mode 100644 index 000000000..d0e3a7af1 --- /dev/null +++ b/website_estimated_delivery_time/static/description/assets/icons/replace-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/website_estimated_delivery_time/static/description/assets/icons/restaurant-black.png b/website_estimated_delivery_time/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/icons/restaurant-black.png differ diff --git a/website_estimated_delivery_time/static/description/assets/icons/screenshot-main.png b/website_estimated_delivery_time/static/description/assets/icons/screenshot-main.png new file mode 100644 index 000000000..575f8e676 Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/icons/screenshot-main.png differ diff --git a/website_estimated_delivery_time/static/description/assets/icons/screenshot.png b/website_estimated_delivery_time/static/description/assets/icons/screenshot.png new file mode 100644 index 000000000..cef272529 Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/icons/screenshot.png differ diff --git a/website_estimated_delivery_time/static/description/assets/icons/service-black.png b/website_estimated_delivery_time/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/icons/service-black.png differ diff --git a/website_estimated_delivery_time/static/description/assets/icons/skype-fill.svg b/website_estimated_delivery_time/static/description/assets/icons/skype-fill.svg new file mode 100644 index 000000000..c17423639 --- /dev/null +++ b/website_estimated_delivery_time/static/description/assets/icons/skype-fill.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/website_estimated_delivery_time/static/description/assets/icons/skype.png b/website_estimated_delivery_time/static/description/assets/icons/skype.png new file mode 100644 index 000000000..51b409fb3 Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/icons/skype.png differ diff --git a/website_estimated_delivery_time/static/description/assets/icons/skype.svg b/website_estimated_delivery_time/static/description/assets/icons/skype.svg new file mode 100644 index 000000000..df3dad39b --- /dev/null +++ b/website_estimated_delivery_time/static/description/assets/icons/skype.svg @@ -0,0 +1,3 @@ + + + diff --git a/website_estimated_delivery_time/static/description/assets/icons/star-1.svg b/website_estimated_delivery_time/static/description/assets/icons/star-1.svg new file mode 100644 index 000000000..7e55ab162 --- /dev/null +++ b/website_estimated_delivery_time/static/description/assets/icons/star-1.svg @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/website_estimated_delivery_time/static/description/assets/icons/star-2.svg b/website_estimated_delivery_time/static/description/assets/icons/star-2.svg new file mode 100644 index 000000000..5ae9f507a --- /dev/null +++ b/website_estimated_delivery_time/static/description/assets/icons/star-2.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/website_estimated_delivery_time/static/description/assets/icons/support.png b/website_estimated_delivery_time/static/description/assets/icons/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/icons/support.png differ diff --git a/website_estimated_delivery_time/static/description/assets/icons/test-1 - Copy.png b/website_estimated_delivery_time/static/description/assets/icons/test-1 - Copy.png new file mode 100644 index 000000000..f6a902663 Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/icons/test-1 - Copy.png differ diff --git a/website_estimated_delivery_time/static/description/assets/icons/test-1.png b/website_estimated_delivery_time/static/description/assets/icons/test-1.png new file mode 100644 index 000000000..0908add2b Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/icons/test-1.png differ diff --git a/website_estimated_delivery_time/static/description/assets/icons/test-2.png b/website_estimated_delivery_time/static/description/assets/icons/test-2.png new file mode 100644 index 000000000..4671fe91e Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/icons/test-2.png differ diff --git a/website_estimated_delivery_time/static/description/assets/icons/trading-black.png b/website_estimated_delivery_time/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/icons/trading-black.png differ diff --git a/website_estimated_delivery_time/static/description/assets/icons/training.png b/website_estimated_delivery_time/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/icons/training.png differ diff --git a/website_estimated_delivery_time/static/description/assets/icons/translate.svg b/website_estimated_delivery_time/static/description/assets/icons/translate.svg new file mode 100644 index 000000000..af9c8a1aa --- /dev/null +++ b/website_estimated_delivery_time/static/description/assets/icons/translate.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/website_estimated_delivery_time/static/description/assets/icons/update.png b/website_estimated_delivery_time/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/icons/update.png differ diff --git a/website_estimated_delivery_time/static/description/assets/icons/user.png b/website_estimated_delivery_time/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/icons/user.png differ diff --git a/website_estimated_delivery_time/static/description/assets/icons/video.png b/website_estimated_delivery_time/static/description/assets/icons/video.png new file mode 100644 index 000000000..576705b17 Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/icons/video.png differ diff --git a/website_estimated_delivery_time/static/description/assets/icons/whatsapp.png b/website_estimated_delivery_time/static/description/assets/icons/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/icons/whatsapp.png differ diff --git a/website_estimated_delivery_time/static/description/assets/icons/wrench-icon.svg b/website_estimated_delivery_time/static/description/assets/icons/wrench-icon.svg new file mode 100644 index 000000000..174b5a465 --- /dev/null +++ b/website_estimated_delivery_time/static/description/assets/icons/wrench-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/website_estimated_delivery_time/static/description/assets/icons/wrench.png b/website_estimated_delivery_time/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/icons/wrench.png differ diff --git a/website_estimated_delivery_time/static/description/assets/modules/1.png b/website_estimated_delivery_time/static/description/assets/modules/1.png new file mode 100644 index 000000000..f8dfc2ee4 Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/modules/1.png differ diff --git a/website_estimated_delivery_time/static/description/assets/modules/2.jpg b/website_estimated_delivery_time/static/description/assets/modules/2.jpg new file mode 100644 index 000000000..58a5c8cb9 Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/modules/2.jpg differ diff --git a/website_estimated_delivery_time/static/description/assets/modules/3.jpg b/website_estimated_delivery_time/static/description/assets/modules/3.jpg new file mode 100644 index 000000000..0136da220 Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/modules/3.jpg differ diff --git a/website_estimated_delivery_time/static/description/assets/modules/4.png b/website_estimated_delivery_time/static/description/assets/modules/4.png new file mode 100644 index 000000000..2170da226 Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/modules/4.png differ diff --git a/website_estimated_delivery_time/static/description/assets/modules/5.png b/website_estimated_delivery_time/static/description/assets/modules/5.png new file mode 100644 index 000000000..f51e30182 Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/modules/5.png differ diff --git a/website_estimated_delivery_time/static/description/assets/modules/6.jpg b/website_estimated_delivery_time/static/description/assets/modules/6.jpg new file mode 100644 index 000000000..864310c24 Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/modules/6.jpg differ diff --git a/website_estimated_delivery_time/static/description/assets/screenshots/1.png b/website_estimated_delivery_time/static/description/assets/screenshots/1.png new file mode 100644 index 000000000..c899a1b7c Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/screenshots/1.png differ diff --git a/website_estimated_delivery_time/static/description/assets/screenshots/10.png b/website_estimated_delivery_time/static/description/assets/screenshots/10.png new file mode 100644 index 000000000..0f60e7b6a Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/screenshots/10.png differ diff --git a/website_estimated_delivery_time/static/description/assets/screenshots/11.png b/website_estimated_delivery_time/static/description/assets/screenshots/11.png new file mode 100644 index 000000000..ae21bee23 Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/screenshots/11.png differ diff --git a/website_estimated_delivery_time/static/description/assets/screenshots/12.png b/website_estimated_delivery_time/static/description/assets/screenshots/12.png new file mode 100644 index 000000000..e632ff26b Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/screenshots/12.png differ diff --git a/website_estimated_delivery_time/static/description/assets/screenshots/2.png b/website_estimated_delivery_time/static/description/assets/screenshots/2.png new file mode 100644 index 000000000..1b42d234b Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/screenshots/2.png differ diff --git a/website_estimated_delivery_time/static/description/assets/screenshots/3.png b/website_estimated_delivery_time/static/description/assets/screenshots/3.png new file mode 100644 index 000000000..008c8f7f9 Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/screenshots/3.png differ diff --git a/website_estimated_delivery_time/static/description/assets/screenshots/4.png b/website_estimated_delivery_time/static/description/assets/screenshots/4.png new file mode 100644 index 000000000..41c0c9f4f Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/screenshots/4.png differ diff --git a/website_estimated_delivery_time/static/description/assets/screenshots/5.png b/website_estimated_delivery_time/static/description/assets/screenshots/5.png new file mode 100644 index 000000000..382a823a4 Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/screenshots/5.png differ diff --git a/website_estimated_delivery_time/static/description/assets/screenshots/6.png b/website_estimated_delivery_time/static/description/assets/screenshots/6.png new file mode 100644 index 000000000..a6914ed66 Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/screenshots/6.png differ diff --git a/website_estimated_delivery_time/static/description/assets/screenshots/7.png b/website_estimated_delivery_time/static/description/assets/screenshots/7.png new file mode 100644 index 000000000..8d07bf213 Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/screenshots/7.png differ diff --git a/website_estimated_delivery_time/static/description/assets/screenshots/8.png b/website_estimated_delivery_time/static/description/assets/screenshots/8.png new file mode 100644 index 000000000..9f9981382 Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/screenshots/8.png differ diff --git a/website_estimated_delivery_time/static/description/assets/screenshots/9.png b/website_estimated_delivery_time/static/description/assets/screenshots/9.png new file mode 100644 index 000000000..5c1baa3d2 Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/screenshots/9.png differ diff --git a/website_estimated_delivery_time/static/description/assets/screenshots/hero.gif b/website_estimated_delivery_time/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..242af0682 Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/screenshots/hero.gif differ diff --git a/website_estimated_delivery_time/static/description/assets/y18.jpg b/website_estimated_delivery_time/static/description/assets/y18.jpg new file mode 100644 index 000000000..eea1714f2 Binary files /dev/null and b/website_estimated_delivery_time/static/description/assets/y18.jpg differ diff --git a/website_estimated_delivery_time/static/description/banner.jpg b/website_estimated_delivery_time/static/description/banner.jpg new file mode 100644 index 000000000..b2919e254 Binary files /dev/null and b/website_estimated_delivery_time/static/description/banner.jpg differ diff --git a/website_estimated_delivery_time/static/description/icon.png b/website_estimated_delivery_time/static/description/icon.png new file mode 100644 index 000000000..ef45db652 Binary files /dev/null and b/website_estimated_delivery_time/static/description/icon.png differ diff --git a/website_estimated_delivery_time/static/description/index.html b/website_estimated_delivery_time/static/description/index.html new file mode 100644 index 000000000..cf335c7b6 --- /dev/null +++ b/website_estimated_delivery_time/static/description/index.html @@ -0,0 +1,1274 @@ + + + + + + Estimated Delivery Time On Website + + + + + + + + + + +
+
+ + + +
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+ +
+
+
+
+

+ This Module Allows you to See the Delivery Time + (Days) on the Website Product Page. +

+

Estimated Delivery Time On Website +

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

Key + Highlights

+
+
+
+
+ +
+
+ Customers can know the Estimated Delivery Time (Days) on their PIN Locations +
+
+
+
+
+
+ +
+
+ Admin will be able to set the Estimated + Delivery Time backend based on PIN Code +
+
+
+
+
+
+ +
+
+ Admin can set Estimated Delivery Time based on each product +
+
+
+
+
+
+ +
+
+ Also, Admin can set Estimated Delivery Time based on PIN code for all products +
+
+
+
+
+ +
+
+
+ Estimated Delivery Time On Website +

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

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

+ Apply the + + Access Rights +

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

+ Estimated + + Delivery Time +

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

+ Set the + PIN Code and Delivery Days +

+
+
+

+ The PIN code and Estimated Delivery Time added + in this wizard is applicable for all products. + 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. +

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

+ Search by + + PIN Code +

+
+
+

+ Go to the Shop page and Search by using PIN codes + added in the wizard, you can see the Estimated + Delivery Time of the product. +

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

+ Displays + + Estimated Delivery Time +

+
+
+

+ Go to the Shop page and Search by using PIN codes + added in the wizard, you can see the Estimated + Delivery Time of the product. +

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

+ When the Product is not + + Available for the PIN Code +

+
+
+

+ If you are search using PIN codes that are not added + in the wizard then you will get a message like this. +

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

+ Delivery Time + + in a Range of Days +

+
+
+

+ Also, we can set the display mode in Range + and the Delivery Day Range as after. +

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

+ Based on the Rules the Estimated Delivery Time + + is Displayed +

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

+ Also, Able to Set the Delivery Day Range + + as Befored +

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

+ Updated Estimated + + Delivery Time +

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

+ Set the Estimated Delivery Time + + from Product Form +

+
+
+

+ Enable the Checkbox to add the PIN Code + and delivery days. +

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

+ Search Estimated Delivery Time by + + PIN code in product page +

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

+ Customers will be Able to Know Estimated Delivery Time.

+
+ +
+
+
+
+
+
+ +
+

+ Admin can Set Estimated Delivery Time based on PIN Code for Products.

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

+ While configuring a + backup, selecting + the Zip option will + include the + filestore in the + backup, while + choosing the Dump + option will create a + backup without the + filestore. +

+
+
+ +
+ +
+

+ Enable the "Remove + Old Backups" option + in the backup + creation view to + automatically delete + previous backups + based on the number + of days specified. +

+
+
+ +
+ +
+

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

+
+
+ +
+ +
+

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

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

+ Latest Release 18.0.1.0.0 +

+ + 20th February, 2025 + +
+
+
+
+
+ Add +
+
+
+
    +
  • + Initial Commit +
  • +
+
+
+
+
+
+
+
+
+
+ + + +
+

+ Related Products +

+ +
+ + +
+

+ Our Services

+ +
+ +
+
+ .... +
+
+ +
+ + +
+
+ + + + + + diff --git a/website_estimated_delivery_time/static/src/js/website_estimated_delivery_time.js b/website_estimated_delivery_time/static/src/js/website_estimated_delivery_time.js new file mode 100644 index 000000000..a214e37ee --- /dev/null +++ b/website_estimated_delivery_time/static/src/js/website_estimated_delivery_time.js @@ -0,0 +1,37 @@ +/** @odoo-module **/ + +import publicWidget from "@web/legacy/js/public/public_widget"; +import { registry } from "@web/core/registry"; +import { rpc } from "@web/core/network/rpc"; + /** + * Widget for handling the estimated delivery time functionality. + */ + var Template = publicWidget.Widget.extend({ + selector: '#search_website_pin_number', + events: { + 'click #search_button': '_onClickSearchButton' + }, + /** + * 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(); + rpc('/website_estimated_delivery_time', { + '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) + } + }); + } + }) + publicWidget.registry.search_pin_number = Template; + return Template diff --git a/website_estimated_delivery_time/views/product_template_views.xml b/website_estimated_delivery_time/views/product_template_views.xml new file mode 100644 index 000000000..33fd6e67f --- /dev/null +++ b/website_estimated_delivery_time/views/product_template_views.xml @@ -0,0 +1,31 @@ + + + + + + product.template.view.form.inherit.website.estimated.delivery.time + + product.template + + + + + + + + + + + + + + + + + + + diff --git a/website_estimated_delivery_time/views/website_templates.xml b/website_estimated_delivery_time/views/website_templates.xml new file mode 100644 index 000000000..3fe471c17 --- /dev/null +++ b/website_estimated_delivery_time/views/website_templates.xml @@ -0,0 +1,79 @@ + + + + + + + diff --git a/website_estimated_delivery_time/wizard/__init__.py b/website_estimated_delivery_time/wizard/__init__.py new file mode 100644 index 000000000..76b9e1622 --- /dev/null +++ b/website_estimated_delivery_time/wizard/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-TODAY Cybrosys Technologies() +# Author: Ammu Raj (odoo@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 . +# +############################################################################### +from . import estimated_delivery_time +from . import website_estimated_delivery_time diff --git a/website_estimated_delivery_time/wizard/estimated_delivery_time.py b/website_estimated_delivery_time/wizard/estimated_delivery_time.py new file mode 100644 index 000000000..3940dfd0e --- /dev/null +++ b/website_estimated_delivery_time/wizard/estimated_delivery_time.py @@ -0,0 +1,38 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-TODAY Cybrosys Technologies() +# Author: Ammu Raj (odoo@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 . +# +############################################################################### +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") diff --git a/website_estimated_delivery_time/wizard/website_estimated_delivery_time.py b/website_estimated_delivery_time/wizard/website_estimated_delivery_time.py new file mode 100644 index 000000000..a3dc575e5 --- /dev/null +++ b/website_estimated_delivery_time/wizard/website_estimated_delivery_time.py @@ -0,0 +1,68 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-TODAY Cybrosys Technologies() +# Author: Ammu Raj (odoo@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 . +# +############################################################################### +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() diff --git a/website_estimated_delivery_time/wizard/website_estimated_delivery_time_views.xml b/website_estimated_delivery_time/wizard/website_estimated_delivery_time_views.xml new file mode 100644 index 000000000..b425986b7 --- /dev/null +++ b/website_estimated_delivery_time/wizard/website_estimated_delivery_time_views.xml @@ -0,0 +1,77 @@ + + + + + website.estimated.delivery.time.view.form + website.estimated.delivery.time + +
+ + + + + + + + + + + + + + + + + + + +

For Example:- If the Actual + Delivery Days = 9 days and the days before = 3days + then the delivery range = 6 to 9 days.And if the + Actual Delivery Days = 9 days and the days after = 3 days + then the delivery range = 9 to 12 days +

+ + + + + + + + + + + +
+
+ +
+
+ + + Estimated Delivery Time + ir.actions.act_window + website.estimated.delivery.time + form + + new + + + +