Browse Source

DEC 30 : [ADD] Initial Commit 'website_estimated_delivery_time'

pull/299/head
Shijin V 1 year ago
parent
commit
82b2642d6f
  1. 47
      website_estimated_delivery_time/README.rst
  2. 24
      website_estimated_delivery_time/__init__.py
  3. 54
      website_estimated_delivery_time/__manifest__.py
  4. 22
      website_estimated_delivery_time/controllers/__init__.py
  5. 75
      website_estimated_delivery_time/controllers/website_estimated_delivery_time.py
  6. 7
      website_estimated_delivery_time/doc/RELEASE_NOTES.md
  7. 23
      website_estimated_delivery_time/models/__init__.py
  8. 36
      website_estimated_delivery_time/models/product_estimated_delivery_time.py
  9. 38
      website_estimated_delivery_time/models/product_template.py
  10. 7
      website_estimated_delivery_time/security/ir.model.access.csv
  11. 21
      website_estimated_delivery_time/security/website_estimated_delivery_time_groups.xml
  12. BIN
      website_estimated_delivery_time/static/description/assets/icons/check.png
  13. BIN
      website_estimated_delivery_time/static/description/assets/icons/chevron.png
  14. BIN
      website_estimated_delivery_time/static/description/assets/icons/cogs.png
  15. BIN
      website_estimated_delivery_time/static/description/assets/icons/consultation.png
  16. BIN
      website_estimated_delivery_time/static/description/assets/icons/ecom-black.png
  17. BIN
      website_estimated_delivery_time/static/description/assets/icons/education-black.png
  18. BIN
      website_estimated_delivery_time/static/description/assets/icons/hotel-black.png
  19. BIN
      website_estimated_delivery_time/static/description/assets/icons/license.png
  20. BIN
      website_estimated_delivery_time/static/description/assets/icons/lifebuoy.png
  21. BIN
      website_estimated_delivery_time/static/description/assets/icons/manufacturing-black.png
  22. BIN
      website_estimated_delivery_time/static/description/assets/icons/pos-black.png
  23. BIN
      website_estimated_delivery_time/static/description/assets/icons/puzzle.png
  24. BIN
      website_estimated_delivery_time/static/description/assets/icons/restaurant-black.png
  25. BIN
      website_estimated_delivery_time/static/description/assets/icons/service-black.png
  26. BIN
      website_estimated_delivery_time/static/description/assets/icons/trading-black.png
  27. BIN
      website_estimated_delivery_time/static/description/assets/icons/training.png
  28. BIN
      website_estimated_delivery_time/static/description/assets/icons/update.png
  29. BIN
      website_estimated_delivery_time/static/description/assets/icons/user.png
  30. BIN
      website_estimated_delivery_time/static/description/assets/icons/wrench.png
  31. BIN
      website_estimated_delivery_time/static/description/assets/misc/categories.png
  32. BIN
      website_estimated_delivery_time/static/description/assets/misc/check-box.png
  33. BIN
      website_estimated_delivery_time/static/description/assets/misc/compass.png
  34. BIN
      website_estimated_delivery_time/static/description/assets/misc/corporate.png
  35. BIN
      website_estimated_delivery_time/static/description/assets/misc/customer-support.png
  36. BIN
      website_estimated_delivery_time/static/description/assets/misc/cybrosys-logo.png
  37. BIN
      website_estimated_delivery_time/static/description/assets/misc/features.png
  38. BIN
      website_estimated_delivery_time/static/description/assets/misc/logo.png
  39. BIN
      website_estimated_delivery_time/static/description/assets/misc/pictures.png
  40. BIN
      website_estimated_delivery_time/static/description/assets/misc/pie-chart.png
  41. BIN
      website_estimated_delivery_time/static/description/assets/misc/right-arrow.png
  42. BIN
      website_estimated_delivery_time/static/description/assets/misc/star.png
  43. BIN
      website_estimated_delivery_time/static/description/assets/misc/support.png
  44. BIN
      website_estimated_delivery_time/static/description/assets/misc/whatsapp.png
  45. BIN
      website_estimated_delivery_time/static/description/assets/modules/1.png
  46. BIN
      website_estimated_delivery_time/static/description/assets/modules/2.png
  47. BIN
      website_estimated_delivery_time/static/description/assets/modules/3.png
  48. BIN
      website_estimated_delivery_time/static/description/assets/modules/4.png
  49. BIN
      website_estimated_delivery_time/static/description/assets/modules/5.png
  50. BIN
      website_estimated_delivery_time/static/description/assets/modules/6.png
  51. BIN
      website_estimated_delivery_time/static/description/assets/screenshots/10.png
  52. BIN
      website_estimated_delivery_time/static/description/assets/screenshots/11.png
  53. BIN
      website_estimated_delivery_time/static/description/assets/screenshots/12.png
  54. BIN
      website_estimated_delivery_time/static/description/assets/screenshots/14.png
  55. BIN
      website_estimated_delivery_time/static/description/assets/screenshots/15.png
  56. BIN
      website_estimated_delivery_time/static/description/assets/screenshots/16.png
  57. BIN
      website_estimated_delivery_time/static/description/assets/screenshots/17.png
  58. BIN
      website_estimated_delivery_time/static/description/assets/screenshots/18.png
  59. BIN
      website_estimated_delivery_time/static/description/assets/screenshots/19.png
  60. BIN
      website_estimated_delivery_time/static/description/assets/screenshots/22.png
  61. BIN
      website_estimated_delivery_time/static/description/assets/screenshots/33.png
  62. BIN
      website_estimated_delivery_time/static/description/assets/screenshots/44.png
  63. BIN
      website_estimated_delivery_time/static/description/assets/screenshots/55.png
  64. BIN
      website_estimated_delivery_time/static/description/assets/screenshots/66.png
  65. BIN
      website_estimated_delivery_time/static/description/assets/screenshots/77.png
  66. BIN
      website_estimated_delivery_time/static/description/assets/screenshots/88.png
  67. BIN
      website_estimated_delivery_time/static/description/assets/screenshots/99.png
  68. BIN
      website_estimated_delivery_time/static/description/assets/screenshots/hero.gif
  69. BIN
      website_estimated_delivery_time/static/description/banner.png
  70. BIN
      website_estimated_delivery_time/static/description/icon.png
  71. 736
      website_estimated_delivery_time/static/description/index.html
  72. 40
      website_estimated_delivery_time/static/src/js/website_estimated_delivery_time.js
  73. 31
      website_estimated_delivery_time/views/product_template_views.xml
  74. 79
      website_estimated_delivery_time/views/website_templates.xml
  75. 23
      website_estimated_delivery_time/wizard/__init__.py
  76. 38
      website_estimated_delivery_time/wizard/estimated_delivery_time.py
  77. 68
      website_estimated_delivery_time/wizard/website_estimated_delivery_time.py
  78. 77
      website_estimated_delivery_time/wizard/website_estimated_delivery_time_views.xml

47
website_estimated_delivery_time/README.rst

@ -0,0 +1,47 @@
.. 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(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>`__

24
website_estimated_delivery_time/__init__.py

@ -0,0 +1,24 @@
# -*- coding: utf-8 -*-
###############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Albin P J (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

54
website_estimated_delivery_time/__manifest__.py

@ -0,0 +1,54 @@
# -*- coding: utf-8 -*-
###############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Albin P J (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': '16.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.png'],
'license': 'LGPL-3',
'installable': True,
'auto_install': False,
'application': False,
}

22
website_estimated_delivery_time/controllers/__init__.py

@ -0,0 +1,22 @@
# -*- coding: utf-8 -*-
###############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Albin P J (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

75
website_estimated_delivery_time/controllers/website_estimated_delivery_time.py

@ -0,0 +1,75 @@
# -*- coding: utf-8 -*-
###############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Albin P J (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'].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

7
website_estimated_delivery_time/doc/RELEASE_NOTES.md

@ -0,0 +1,7 @@
## Module <website_estimated_delivery_time>
#### 30.12.2023
#### Version 16.0.1.0.0
#### ADD
- Initial commit for Estimated Delivery Time On Website

23
website_estimated_delivery_time/models/__init__.py

@ -0,0 +1,23 @@
# -*- coding: utf-8 -*-
###############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Albin P J (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

36
website_estimated_delivery_time/models/product_estimated_delivery_time.py

@ -0,0 +1,36 @@
# -*- coding: utf-8 -*-
###############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Albin P J (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")

38
website_estimated_delivery_time/models/product_template.py

@ -0,0 +1,38 @@
# -*- coding: utf-8 -*-
###############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Albin P J (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")

7
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
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 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
3 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
4 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
5 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
6 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
7 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

21
website_estimated_delivery_time/security/website_estimated_delivery_time_groups.xml

@ -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>

BIN
website_estimated_delivery_time/static/description/assets/icons/check.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

BIN
website_estimated_delivery_time/static/description/assets/icons/chevron.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 310 B

BIN
website_estimated_delivery_time/static/description/assets/icons/cogs.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
website_estimated_delivery_time/static/description/assets/icons/consultation.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
website_estimated_delivery_time/static/description/assets/icons/ecom-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 576 B

BIN
website_estimated_delivery_time/static/description/assets/icons/education-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 733 B

BIN
website_estimated_delivery_time/static/description/assets/icons/hotel-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 911 B

BIN
website_estimated_delivery_time/static/description/assets/icons/license.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
website_estimated_delivery_time/static/description/assets/icons/lifebuoy.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
website_estimated_delivery_time/static/description/assets/icons/manufacturing-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 673 B

BIN
website_estimated_delivery_time/static/description/assets/icons/pos-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 878 B

BIN
website_estimated_delivery_time/static/description/assets/icons/puzzle.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 653 B

BIN
website_estimated_delivery_time/static/description/assets/icons/restaurant-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 905 B

BIN
website_estimated_delivery_time/static/description/assets/icons/service-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 839 B

BIN
website_estimated_delivery_time/static/description/assets/icons/trading-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 427 B

BIN
website_estimated_delivery_time/static/description/assets/icons/training.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 627 B

BIN
website_estimated_delivery_time/static/description/assets/icons/update.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
website_estimated_delivery_time/static/description/assets/icons/user.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 988 B

BIN
website_estimated_delivery_time/static/description/assets/icons/wrench.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
website_estimated_delivery_time/static/description/assets/misc/categories.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
website_estimated_delivery_time/static/description/assets/misc/check-box.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
website_estimated_delivery_time/static/description/assets/misc/compass.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
website_estimated_delivery_time/static/description/assets/misc/corporate.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
website_estimated_delivery_time/static/description/assets/misc/customer-support.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

BIN
website_estimated_delivery_time/static/description/assets/misc/cybrosys-logo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

BIN
website_estimated_delivery_time/static/description/assets/misc/features.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 589 B

BIN
website_estimated_delivery_time/static/description/assets/misc/logo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

BIN
website_estimated_delivery_time/static/description/assets/misc/pictures.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
website_estimated_delivery_time/static/description/assets/misc/pie-chart.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
website_estimated_delivery_time/static/description/assets/misc/right-arrow.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 967 B

BIN
website_estimated_delivery_time/static/description/assets/misc/star.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
website_estimated_delivery_time/static/description/assets/misc/support.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

BIN
website_estimated_delivery_time/static/description/assets/misc/whatsapp.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

BIN
website_estimated_delivery_time/static/description/assets/modules/1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

BIN
website_estimated_delivery_time/static/description/assets/modules/2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

BIN
website_estimated_delivery_time/static/description/assets/modules/3.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
website_estimated_delivery_time/static/description/assets/modules/4.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

BIN
website_estimated_delivery_time/static/description/assets/modules/5.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

BIN
website_estimated_delivery_time/static/description/assets/modules/6.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

BIN
website_estimated_delivery_time/static/description/assets/screenshots/10.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 KiB

BIN
website_estimated_delivery_time/static/description/assets/screenshots/11.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

BIN
website_estimated_delivery_time/static/description/assets/screenshots/12.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 176 KiB

BIN
website_estimated_delivery_time/static/description/assets/screenshots/14.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

BIN
website_estimated_delivery_time/static/description/assets/screenshots/15.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 119 KiB

BIN
website_estimated_delivery_time/static/description/assets/screenshots/16.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 212 KiB

BIN
website_estimated_delivery_time/static/description/assets/screenshots/17.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 178 KiB

BIN
website_estimated_delivery_time/static/description/assets/screenshots/18.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 212 KiB

BIN
website_estimated_delivery_time/static/description/assets/screenshots/19.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 177 KiB

BIN
website_estimated_delivery_time/static/description/assets/screenshots/22.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

BIN
website_estimated_delivery_time/static/description/assets/screenshots/33.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

BIN
website_estimated_delivery_time/static/description/assets/screenshots/44.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 KiB

BIN
website_estimated_delivery_time/static/description/assets/screenshots/55.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 212 KiB

BIN
website_estimated_delivery_time/static/description/assets/screenshots/66.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 177 KiB

BIN
website_estimated_delivery_time/static/description/assets/screenshots/77.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 178 KiB

BIN
website_estimated_delivery_time/static/description/assets/screenshots/88.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 153 KiB

BIN
website_estimated_delivery_time/static/description/assets/screenshots/99.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 180 KiB

BIN
website_estimated_delivery_time/static/description/assets/screenshots/hero.gif

Binary file not shown.

After

Width:  |  Height:  |  Size: 196 KiB

BIN
website_estimated_delivery_time/static/description/banner.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 129 KiB

BIN
website_estimated_delivery_time/static/description/icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

736
website_estimated_delivery_time/static/description/index.html

@ -0,0 +1,736 @@
<div style="background-color: #714B67; height: 810px; width: 100%; padding: 15px; position: relative;">
<!-- TITLE BAR -->
<div class="d-flex align-items-center justify-content-between"
style="border-bottom: 1px solid #875A7B; padding: 15px; display: flex; justify-content: space-between; align-items: center;">
<img src="assets/misc/cybrosys-logo.png" width="42" height="42"
style="width: 42px; height: 42px;"/>
<div>
<div
style="color: #7C7BAD; font-size: 14px; font-family: 'Montserrat', sans-serif; font-weight: bold; background-color: white; display: inline-block; padding: 3px 10px; border-radius: 50px;"
class="mr-2">
<i class="fa fa-check mr-1"></i>Community
</div>
<div style="color: #875A7B; font-size: 14px; font-family:
'Montserrat', sans-serif; font-weight: bold;
background-color: white; display: inline-block;
padding: 3px 10px; border-radius: 50px;"
class="mr-2">
<i class="fa fa-check mr-1"></i>Enterprise
</div>
<div style="color: #017E84; font-size: 14px; font-family: 'Montserrat', sans-serif; font-weight: bold; background-color: white; display: inline-block; padding: 3px 10px; border-radius: 50px;"
class="mr-2">
<i class="fa fa-check mr-1"></i>Odoo.sh
</div>
</div>
</div>
<!-- END OF TITLE BAR -->
<div class="container">
<div class="row">
<div class="col-sm-12 col-md-12 col-lg-12">
<!-- APP HERO -->
<h1 style="color: #FFFFFF; font-weight: bolder; font-size: 50px; text-align: center; margin-top: 50px;">
Estimated Delivery Time On Website</h1>
<p style="color:#FFFFFF; padding: 8px 15px; text-align: center; font-size: 24px;">
This Module Allows you to See the Delivery Time (Days) on
the Website Product Page
</p>
<!-- END OF APP HERO -->
<img src="assets/screenshots/hero.gif" class="img-responsive"
style="width: 100%; margin-left: auto; margin-right: auto;"/>
</div>
</div>
</div>
</div>
<!-- NAVIGATION SECTION -->
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px; margin-top: 300px;">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/compass.png"/>
</div>
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Explore This
Module</h2>
</div>
<div class="row my-4" style="font-family: 'Montserrat', sans-serif;">
<div class="col-sm-12 col-md-6 my-3">
<a href="#overview">
<div class="d-flex justify-content-between align-items-center"
style="background-color: #f5f5f5; padding: 30px; width: 100%;">
<div>
<span style="color: #714B67; font-size: 24px; font-weight: 500; display: block;">Overview</span>
<span style="color: #714B67; font-size: 16px; font-weight: 400; color:#282F33; display: block;">Learn
more about this
module</span>
</div>
<img src="assets/misc/right-arrow.png" width="36" height="36"/>
</div>
</a>
</div>
<div class="col-sm-12 col-md-6 my-3">
<a href="#features">
<div class="d-flex justify-content-between align-items-center"
style="background-color: #f5f5f5; padding: 30px; width: 100%;">
<div>
<span style="color: #714B67; font-size: 24px; font-weight: 500; display: block;">Features</span>
<span style="color: #714B67; font-size: 16px; font-weight: 400; color:#282F33; display: block;">View
features of this
module</span>
</div>
<img src="assets/misc/right-arrow.png" width="36" height="36"/>
</div>
</a>
</div>
<div class="col-sm-12 col-md-6 my-3">
<a href="#screenshots">
<div class="d-flex justify-content-between align-items-center"
style="background-color: #f5f5f5; padding: 30px; width: 100%;">
<div>
<span style="color: #714B67; font-size: 24px; font-weight: 500; display: block;">Screenshots</span>
<span style="color: #714B67; font-size: 16px; font-weight: 400; color:#282F33; display: block;">View
screenshots for this
module</span>
</div>
<img src="assets/misc/right-arrow.png" width="36" height="36"/>
</div>
</a>
</div>
</div>
<!-- END OF NAVIGATION SECTION -->
<!-- OVERVIEW SECTION -->
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px;"
id="overview">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/pie-chart.png"/>
</div>
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Overview
</h2>
</div>
<div class="row"
style="font-family: 'Montserrat', sans-serif; font-weight: 400; font-size: 14px; line-height: 200%;">
<div class="col-sm-12 py-4">
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.
</div>
</div>
<!-- END OF OVERVIEW SECTION -->
<!-- FEATURES SECTION -->
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px;"
id="features">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/features.png"/>
</div>
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Features
</h2>
</div>
<div class="row"
style="font-family: 'Montserrat', sans-serif; font-weight: 400; font-size: 14px; line-height: 200%;">
<div class="col-sm-12 col-md-6">
<div class="d-flex align-items-center"
style="margin-top: 40px; margin-bottom: 40px">
<img src="assets/misc/check-box.png" style="margin-bottom: auto" class="mr-2"/>
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Customers can know the Estimated Delivery Time (Days) on their PIN Locations.</span>
</div>
<div class="d-flex align-items-center"
style="margin-top: 30px; margin-bottom: 30px">
<img src="assets/misc/check-box.png" style="margin-bottom: auto" class="mr-2"/>
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Admin will be able to set the Estimated Delivery Time backend based on PIN Code.</span>
</div>
<div class="d-flex align-items-center"
style="margin-top: 30px; margin-bottom: 30px">
<img src="assets/misc/check-box.png" style="margin-bottom: auto" class="mr-2"/>
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Admin can set Estimated Delivery Time based on each product.</span>
</div>
</div>
<div class="d-flex align-items-center"
style="margin-top: 30px; margin-bottom: 30px">
<img src="assets/misc/check-box.png" style="margin-bottom: auto" class="mr-2"/>
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Also, Admin can set Estimated Delivery Time based on PIN code for all products.</span>
</div>
</div>
<!-- END OF FEATURES SECTION -->
<!-- SCREENSHOTS SECTION -->
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px;"
id="screenshots">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/pictures.png"/>
</div>
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Screenshots
</h2>
</div>
<div class="row">
<div class="col-sm-12">
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">
Admin Can Change The Backend Settings
</h3>
<img src="assets/screenshots/11.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">
User Can Check The Estimated Delivery Time Through the
Website</h3>
<img src="assets/screenshots/22.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">
Menu For Wizard Configuration
</h3>
<img src="assets/screenshots/33.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">
Wizard Configuration For All Products
</h3>
<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/44.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
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.</p>
<img src="assets/screenshots/55.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
Then user can see the Estimated Delivery Time.</p>
<img src="assets/screenshots/66.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
If you are search using PIN codes that are not added in the
wizard then you will get a message.</p>
<img src="assets/screenshots/77.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
Also, we can set the display mode in Range and the Delivery Day
Range as after.</p>
<img src="assets/screenshots/88.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
Based on the given rules the Estimated Delivery Time is shown
below.</p>
<img src="assets/screenshots/99.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
Also, we can set the Delivery Day Range as before.</p>
<img src="assets/screenshots/10.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
Based on the given rules the Estimated Delivery Time is shown
below.</p>
<img src="assets/screenshots/12.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">
Estimated Delivery Time For Each Product</h3>
<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/14.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
Add the PIN codes and Estimated Delivery Time.</p>
<img src="assets/screenshots/15.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
Search Estimated Delivery Time by PIN code in product
page.</p>
<img src="assets/screenshots/16.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
Then user can see the Estimated Delivery Time for that
product.</p>
<img src="assets/screenshots/17.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
If you are searching for PIN codes that are not added in the
product configuration.</p>
<img src="assets/screenshots/18.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
Then You will get a message.</p>
<img src="assets/screenshots/19.png" class="img-thumbnail">
</div>
</div>
</div>
<!-- END OF SCREENSHOTS SECTION -->
<!-- RELATED PRODUCTS -->
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px;">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/categories.png"/>
</div>
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Related
Products
</h2>
</div>
<div class="row">
<div class="col-sm-12">
<div id="demo1" class="row carousel slide" data-ride="carousel">
<!-- The slideshow -->
<div class="carousel-inner" style="padding: 30px;">
<div class="carousel-item" style="min-height: 198.656px;">
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16"
style="float:left">
<a href="https://apps.odoo.com/apps/modules/16.0/website_product_attachments/"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-radius: 0px;"
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/16.0/customer_geolocation/"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-radius: 0px;"
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/16.0/website_cart_clear/"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-radius: 0px;"
src="assets/modules/3.png">
</div>
</a>
</div>
</div>
<div class="carousel-item active"
style="min-height: 198.656px;">
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16"
style="float:left">
<a href="https://apps.odoo.com/apps/modules/16.0/ecommerce_barcode_search/"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-radius: 0px;"
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/16.0/website_return_management/"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-radius: 0px;"
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/16.0/product_visibility_website/"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-radius: 0px;"
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="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="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 RELATED PRODUCTS -->
<!-- OUR SERVICES -->
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px;">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/star.png"/>
</div>
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Our Services
</h2>
</div>
<div class="container my-5">
<div class="row">
<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>
</div>
<!-- END OF OUR SERVICES -->
<!-- OUR INDUSTRIES -->
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px;">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/corporate.png"/>
</div>
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Our
Industries
</h2>
</div>
<div class="container my-5">
<div class="row">
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 0px; 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: 0px; 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: 0px; 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: 0px; 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: 0px; 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 &amp; 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: 0px; 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: 0px; 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: 0px; 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>
</div>
<!-- END OF OUR INDUSTRIES -->
<!-- SUPPORT -->
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px;">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/customer-support.png"/>
</div>
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Support
</h2>
</div>
<div class="container mt-5">
<div class="row">
<div class="col-sm-12 col-md-6">
<div style="background-color: #F6F8F9; padding: 30px; display: flex; align-items: center;">
<div class="mr-4 d-flex justify-content-center align-items-center"
style="background-color: #714B67; display: inline-block; height: 70px; width: 70px; display: flex; align-items: center; justify-content: center;">
<img src="assets/misc/support.png" height="48" width="48"
style="width: 42px; height: 42px;"/>
</div>
<div>
<h4>Need Help?</h4>
<p style="line-height: 100%;">Got questions or need help?
Get in touch.</p>
<a href="mailto:odoo@cybrosys.com">
<p style="font-weight: 400; font-size: 28px; line-height: 80%; color: #714B67;">
odoo@cybrosys.com</p>
</a>
</div>
</div>
</div>
<div class="col-sm-12 col-md-6">
<div style="background-color: #F6F8F9; padding: 30px; display: flex; align-items: center;">
<div class="mr-4 d-flex justify-content-center align-items-center"
style="background-color: #2AC44D; display: inline-block; height: 70px; width: 70px; display: flex; align-items: center; justify-content: center;">
<img src="assets/misc/whatsapp.png" height="52" width="52"
style="width: 52px; height: 52px;"/>
</div>
<div>
<h4>WhatsApp</h4>
<p style="line-height: 100%;">Say hi to us on WhatsApp!</p>
<a href="https://api.whatsapp.com/send?phone=918606827707">
<p style="font-weight: 400; font-size: 28px; line-height: 80%; color: #714B67;">
+91 86068
27707</p>
</a>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12 my-5 d-flex justify-content-center align-items-center">
<img src="assets/misc/logo.png" width="144" height="31"
style="width:144px; height: 31px; margin-top: 40px;"/>
</div>
</div>
</div>
<!-- END OF SUPPORT -->

40
website_estimated_delivery_time/static/src/js/website_estimated_delivery_time.js

@ -0,0 +1,40 @@
odoo.define("website_estimated_delivery_time.estimated_delivery_time", function(require) {
"use strict";
// Importing required modules
var publicWidget = require('web.public.widget');
var registry = require("@web/core/registry")
var ajax = require('web.ajax');
var core = require('web.core');
/**
* 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();
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)
}
});
}
})
publicWidget.registry.search_pin_number = Template;
return Template
})

31
website_estimated_delivery_time/views/product_template_views.xml

@ -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 &amp; 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>

79
website_estimated_delivery_time/views/website_templates.xml

@ -0,0 +1,79 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- 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"
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"
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>

23
website_estimated_delivery_time/wizard/__init__.py

@ -0,0 +1,23 @@
# -*- coding: utf-8 -*-
###############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Albin P J (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

38
website_estimated_delivery_time/wizard/estimated_delivery_time.py

@ -0,0 +1,38 @@
# -*- coding: utf-8 -*-
###############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Albin P J (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")

68
website_estimated_delivery_time/wizard/website_estimated_delivery_time.py

@ -0,0 +1,68 @@
# -*- coding: utf-8 -*-
###############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Albin P J (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()

77
website_estimated_delivery_time/wizard/website_estimated_delivery_time_views.xml

@ -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 &amp; 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"/>
<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>
<!-- Menu Of Estimated Delivery Time-->
<menuitem action="window_website_estimated_delivery_time_action"
id="website_estimated_delivery_time_menu"
parent="website_sale.menu_catalog"
groups="website_estimated_delivery_time.website_estimated_delivery_time_group_administrator"
sequence="4"/>
</odoo>
Loading…
Cancel
Save