| @ -0,0 +1,46 @@ | |||||
|  | .. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg | ||||
|  |     :target: https://www.gnu.org/licenses/agpl-3.0-standalone.html | ||||
|  |     :alt: License: AGPL-3 | ||||
|  | 
 | ||||
|  | Website Restrict Country | ||||
|  | ================== | ||||
|  | * The Website Restrict Country module allows you to set restrictions for products that are unavailable in certain countries | ||||
|  | 
 | ||||
|  | Configuration | ||||
|  | ============= | ||||
|  | * No additional configurations needed | ||||
|  | 
 | ||||
|  | Company | ||||
|  | ------- | ||||
|  | * `Cybrosys Techno Solutions <https://cybrosys.com/>`__ | ||||
|  | 
 | ||||
|  | License | ||||
|  | ------- | ||||
|  | GNU AFFERO GENERAL PUBLIC LICENSE, Version 3 (AGPLv3) | ||||
|  | (https://www.gnu.org/licenses/agpl-3.0-standalone.html) | ||||
|  | 
 | ||||
|  | Credits | ||||
|  | ------- | ||||
|  | * Developer: (V17) 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 <https://cybrosys.com/>`__ | ||||
|  | 
 | ||||
|  | Further information | ||||
|  | =================== | ||||
|  | HTML Description: `<static/description/index.html>`__ | ||||
| @ -0,0 +1,23 @@ | |||||
|  | # -*- coding: utf-8 -*- | ||||
|  | ############################################################################### | ||||
|  | # | ||||
|  | #    Cybrosys Technologies Pvt. Ltd. | ||||
|  | # | ||||
|  | #    Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) | ||||
|  | #    Author: 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 <http://www.gnu.org/licenses/>. | ||||
|  | # | ||||
|  | ############################################################################### | ||||
|  | from . import controllers | ||||
|  | from . import models | ||||
| @ -0,0 +1,56 @@ | |||||
|  | # -*- coding: utf-8 -*- | ||||
|  | ############################################################################### | ||||
|  | # | ||||
|  | #    Cybrosys Technologies Pvt. Ltd. | ||||
|  | # | ||||
|  | #    Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) | ||||
|  | #    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 <http://www.gnu.org/licenses/>. | ||||
|  | # | ||||
|  | ############################################################################### | ||||
|  | { | ||||
|  |     'name': 'Website Restrict Country', | ||||
|  |     'version': '17.0.1.0.0', | ||||
|  |     'category': 'Website', | ||||
|  |     'summary': "The Website Restrict Country module allows you to set" | ||||
|  |                "restrictions for products that are unavailable in certain" | ||||
|  |                "countries.", | ||||
|  |     'description': "The Website Restrict Country module allows you to set" | ||||
|  |                    "restrictions for products that are unavailable in certain" | ||||
|  |                    "countries.And You can customise the cart and checkout" | ||||
|  |                    "message that is displayed. Customers can select from the" | ||||
|  |                    "countries you specify in the Odoo backend.", | ||||
|  |     'author': ' Cybrosys Techno Solutions', | ||||
|  |     'company': 'Cybrosys Techno Solutions', | ||||
|  |     'maintainer': 'Cybrosys Techno Solutions', | ||||
|  |     'website': "https://www.cybrosys.com", | ||||
|  |     'depends': ['stock', 'website_sale', 'sale_stock', | ||||
|  |                 'sale_management'], | ||||
|  |     'data': [ | ||||
|  |         'security/ir.model.access.csv', | ||||
|  |         'views/product_template_views.xml', | ||||
|  |         'views/website_templates.xml', | ||||
|  |         'views/website_views.xml', | ||||
|  |     ], | ||||
|  |     'assets': { | ||||
|  |         'web.assets_frontend': [ | ||||
|  |             'website_restrict_country/static/src/js/country_selection.js', | ||||
|  |         ], | ||||
|  |     }, | ||||
|  |     'images': ['static/description/banner.png'], | ||||
|  |     'license': 'AGPL-3', | ||||
|  |     'installable': True, | ||||
|  |     'auto_install': False, | ||||
|  |     'application': False, | ||||
|  | } | ||||
| @ -0,0 +1,22 @@ | |||||
|  | # -*- coding: utf-8 -*- | ||||
|  | ############################################################################### | ||||
|  | # | ||||
|  | #    Cybrosys Technologies Pvt. Ltd. | ||||
|  | # | ||||
|  | #    Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) | ||||
|  | #    Author: 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 <http://www.gnu.org/licenses/>. | ||||
|  | # | ||||
|  | ############################################################################### | ||||
|  | from . import website_restrict_country | ||||
| @ -0,0 +1,44 @@ | |||||
|  | # -*- coding: utf-8 -*- | ||||
|  | ############################################################################### | ||||
|  | # | ||||
|  | #    Cybrosys Technologies Pvt. Ltd. | ||||
|  | # | ||||
|  | #    Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) | ||||
|  | #    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 <http://www.gnu.org/licenses/>. | ||||
|  | # | ||||
|  | ############################################################################### | ||||
|  | from odoo import http | ||||
|  | from odoo.http import request | ||||
|  | 
 | ||||
|  | 
 | ||||
|  | class WebsiteCountry(http.Controller): | ||||
|  |     """ | ||||
|  |         This controller used to pass the selected country to the corresponding | ||||
|  |         template | ||||
|  |     """ | ||||
|  |     @http.route('/website/countries', type='json', auth="user", website=True) | ||||
|  |     def website_countries(self, country_id): | ||||
|  |         """ | ||||
|  |             This function used to search the country id, and it renders the | ||||
|  |             details of the selected country in to the template. | ||||
|  |         """ | ||||
|  |         country_id = request.env['res.country'].browse(int(country_id)) | ||||
|  |         website_id = request.env['website'].browse(request.website.id) | ||||
|  |         website_id.default_country_id = country_id.id | ||||
|  |         response = http.Response( | ||||
|  |             template='website_restrict_country.country_selection', | ||||
|  |             qcontext={'country': country_id, | ||||
|  |                       'countries': website_id.country_ids}) | ||||
|  |         return response.render() | ||||
| @ -0,0 +1,6 @@ | |||||
|  | ## Module <website_restrict_country> | ||||
|  | 
 | ||||
|  | #### 05.06.2024 | ||||
|  | #### Version 17.0.1.0.0 | ||||
|  | ##### ADD | ||||
|  | - Initial Commit for Website Restrict Country | ||||
| @ -0,0 +1,25 @@ | |||||
|  | # -*- coding: utf-8 -*- | ||||
|  | ############################################################################### | ||||
|  | # | ||||
|  | #    Cybrosys Technologies Pvt. Ltd. | ||||
|  | # | ||||
|  | #    Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) | ||||
|  | #    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 <http://www.gnu.org/licenses/>. | ||||
|  | # | ||||
|  | ############################################################################### | ||||
|  | from . import country_details | ||||
|  | from . import product_template | ||||
|  | from . import sale_order | ||||
|  | from . import website | ||||
| @ -0,0 +1,40 @@ | |||||
|  | # -*- coding: utf-8 -*- | ||||
|  | ############################################################################### | ||||
|  | # | ||||
|  | #    Cybrosys Technologies Pvt. Ltd. | ||||
|  | # | ||||
|  | #    Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) | ||||
|  | #    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 <http://www.gnu.org/licenses/>. | ||||
|  | # | ||||
|  | ############################################################################### | ||||
|  | from odoo import fields, models | ||||
|  | 
 | ||||
|  | 
 | ||||
|  | class CountryDetails(models.Model): | ||||
|  |     """ | ||||
|  |         Added a new model and added some fields with the details of the | ||||
|  |         countries | ||||
|  |     """ | ||||
|  |     _name = "country.details" | ||||
|  |     _description = 'Country Details' | ||||
|  | 
 | ||||
|  |     country_id = fields.Many2one(string="Country", comodel_name='res.country', | ||||
|  |                                  help='User can select the country', | ||||
|  |                                  required=True) | ||||
|  |     country_code = fields.Char(related='country_id.code', string="Country Code", | ||||
|  |                                help='The code of the corresponding country') | ||||
|  |     select_country_id = fields.Many2one(string='Select Country Id', | ||||
|  |                                         comodel_name='product.template', | ||||
|  |                                         help='User can select the country id') | ||||
| @ -0,0 +1,40 @@ | |||||
|  | # -*- coding: utf-8 -*- | ||||
|  | ############################################################################### | ||||
|  | # | ||||
|  | #    Cybrosys Technologies Pvt. Ltd. | ||||
|  | # | ||||
|  | #    Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) | ||||
|  | #    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 <http://www.gnu.org/licenses/>. | ||||
|  | # | ||||
|  | ############################################################################### | ||||
|  | from odoo import fields, models | ||||
|  | 
 | ||||
|  | 
 | ||||
|  | class ProductTemplate(models.Model): | ||||
|  |     """ | ||||
|  |         This class inherited to add some extra fields in the | ||||
|  |         product contains the details of countries | ||||
|  |     """ | ||||
|  |     _inherit = "product.template" | ||||
|  | 
 | ||||
|  |     country_availability = fields.Selection([ | ||||
|  |         ('all', 'All'), | ||||
|  |         ('selected', 'Selected')], string="Available in countries", | ||||
|  |         default='all', help='Can select the type all or selected') | ||||
|  |     country_selection_ids = fields.One2many('country.details', | ||||
|  |                                             'select_country_id', | ||||
|  |                                             string='Selected Country', | ||||
|  |                                             help='List of countries contains ' | ||||
|  |                                                  'corresponding products') | ||||
| @ -0,0 +1,53 @@ | |||||
|  | # -*- coding: utf-8 -*- | ||||
|  | ############################################################################### | ||||
|  | # | ||||
|  | #    Cybrosys Technologies Pvt. Ltd. | ||||
|  | # | ||||
|  | #    Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) | ||||
|  | #    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 <http://www.gnu.org/licenses/>. | ||||
|  | # | ||||
|  | ############################################################################### | ||||
|  | import logging | ||||
|  | from functools import reduce | ||||
|  | from odoo import models | ||||
|  | 
 | ||||
|  | _logger = logging.getLogger(__name__) | ||||
|  | 
 | ||||
|  | 
 | ||||
|  | class SaleOrder(models.Model): | ||||
|  |     """ | ||||
|  |         This class inherits to add a function to the sale.order | ||||
|  |         for fetching the common country list. | ||||
|  |     """ | ||||
|  |     _inherit = 'sale.order' | ||||
|  | 
 | ||||
|  |     @property | ||||
|  |     def get_common_country_list(self): | ||||
|  |         """ | ||||
|  |             This function is added for fetching the common country list. | ||||
|  |         """ | ||||
|  |         lst = [] | ||||
|  |         for line in self.order_line: | ||||
|  |             if line.product_id.product_tmpl_id.country_availability != 'all': | ||||
|  |                 lst.append( | ||||
|  |                     line.product_id.product_tmpl_id.country_selection_ids.mapped( | ||||
|  |                         'country_id.id')) | ||||
|  |         try: | ||||
|  |             country_list = list( | ||||
|  |                 reduce(lambda i, j: i & j, (set(x) for x in lst))) | ||||
|  |         except Exception as error: | ||||
|  |             _logger.info(f'Country list has been made empty list due to {error}') | ||||
|  |             country_list = [] | ||||
|  |         return country_list | ||||
| @ -0,0 +1,40 @@ | |||||
|  | # -*- coding: utf-8 -*- | ||||
|  | ############################################################################### | ||||
|  | # | ||||
|  | #    Cybrosys Technologies Pvt. Ltd. | ||||
|  | # | ||||
|  | #    Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) | ||||
|  | #    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 <http://www.gnu.org/licenses/>. | ||||
|  | # | ||||
|  | ############################################################################### | ||||
|  | from odoo import fields, models | ||||
|  | 
 | ||||
|  | 
 | ||||
|  | class Website(models.Model): | ||||
|  |     """ | ||||
|  |         This class inherited to add some extra fields in the | ||||
|  |         website backend | ||||
|  |     """ | ||||
|  |     _inherit = 'website' | ||||
|  | 
 | ||||
|  |     country_ids = fields.Many2many(string="Countries", | ||||
|  |                                    comodel_name='res.country', required=True, | ||||
|  |                                    help='Select a list of countries') | ||||
|  |     default_country_id = fields.Many2one(string="Default", required=True, | ||||
|  |                                          comodel_name='res.country', | ||||
|  |                                          help='Set a default country') | ||||
|  |     cart_message = fields.Char(string="Cart Message", | ||||
|  |                                help='Custom message display if the product ' | ||||
|  |                                     'is not available') | ||||
| 
 | 
| After Width: | Height: | Size: 36 KiB | 
| After Width: | Height: | Size: 3.6 KiB | 
| After Width: | Height: | Size: 310 B | 
| After Width: | Height: | Size: 1.3 KiB | 
| After Width: | Height: | Size: 1.4 KiB | 
| After Width: | Height: | Size: 576 B | 
| After Width: | Height: | Size: 733 B | 
| After Width: | Height: | Size: 911 B | 
| After Width: | Height: | Size: 1.1 KiB | 
| After Width: | Height: | Size: 1.1 KiB | 
| After Width: | Height: | Size: 1.2 KiB | 
| After Width: | Height: | Size: 673 B | 
| After Width: | Height: | Size: 11 KiB | 
| After Width: | Height: | Size: 878 B | 
| After Width: | Height: | Size: 653 B | 
| After Width: | Height: | Size: 905 B | 
| After Width: | Height: | Size: 839 B | 
| After Width: | Height: | Size: 427 B | 
| After Width: | Height: | Size: 627 B | 
| After Width: | Height: | Size: 1.2 KiB | 
| After Width: | Height: | Size: 988 B | 
| After Width: | Height: | Size: 1.2 KiB | 
| After Width: | Height: | Size: 80 KiB | 
| After Width: | Height: | Size: 3.2 KiB | 
| After Width: | Height: | Size: 565 B | 
| After Width: | Height: | Size: 26 KiB | 
| After Width: | Height: | Size: 43 KiB | 
| After Width: | Height: | Size: 1.4 KiB | 
| After Width: | Height: | Size: 4.0 KiB | 
| After Width: | Height: | Size: 38 KiB | 
| After Width: | Height: | Size: 4.3 KiB | 
| After Width: | Height: | Size: 46 KiB | 
| After Width: | Height: | Size: 46 KiB | 
| After Width: | Height: | Size: 49 KiB | 
| After Width: | Height: | Size: 85 KiB | 
| After Width: | Height: | Size: 46 KiB | 
| After Width: | Height: | Size: 88 KiB | 
| After Width: | Height: | Size: 70 KiB | 
| After Width: | Height: | Size: 69 KiB | 
| After Width: | Height: | Size: 96 KiB | 
| After Width: | Height: | Size: 107 KiB | 
| After Width: | Height: | Size: 197 KiB | 
| After Width: | Height: | Size: 119 KiB | 
| After Width: | Height: | Size: 116 KiB | 
| After Width: | Height: | Size: 281 KiB | 
| After Width: | Height: | Size: 86 KiB | 
| After Width: | Height: | Size: 13 KiB | 
| @ -0,0 +1,678 @@ | |||||
|  | <!DOCTYPE html> | ||||
|  | <html lang="en"> | ||||
|  | 
 | ||||
|  | <head> | ||||
|  |     <meta charset="UTF-8"> | ||||
|  |     <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||||
|  |     <title>Odoo App 3 Index</title> | ||||
|  |     <!-- Bootstrap CSS --> | ||||
|  |     <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/css/bootstrap.min.css" | ||||
|  |         integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous"> | ||||
|  |     <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css"> | ||||
|  |     <link rel="preconnect" href="https://fonts.googleapis.com"> | ||||
|  |     <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | ||||
|  |     <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet"> | ||||
|  | </head> | ||||
|  | <body> | ||||
|  |     <section> | ||||
|  |         <div class="container" style="font-family: 'Inter', sans-serif !important;background-color: #fff !important;"> | ||||
|  |             <div class="row"> | ||||
|  |                 <div class="col-sm-12 col-md-12 col-lg-12 d-flex justify-content-between flex-wrap align-items-sm-center" | ||||
|  |                     style="border-bottom:1px solid rgba(0, 0, 0, 0.22)"> | ||||
|  |                     <div class="my-3"> | ||||
|  |                         <img src="assets/misc/Cybrosys R.png" style="width:auto !important; height:40px !important"> | ||||
|  |                     </div> | ||||
|  |                     <div class="my-3 d-flex align-items-center"> | ||||
|  |                         <div class="text-center" | ||||
|  |                             style="background-color:#017E84 !important;font-size: 0.8rem !important; color:#fff !important; font-weight:500 !important; padding:4px !important; margin:0 3px !important; border-radius:50px !important; min-width: 120px !important;"> | ||||
|  |                             Community | ||||
|  |                         </div> | ||||
|  |                         <div class="text-center" | ||||
|  |                             style="background-color:#875A7B !important; color:#fff !important;font-size: 0.8rem !important; font-weight:500 !important; padding:4px !important; margin:0 3px !important; border-radius:50px !important;min-width: 120px !important;"> | ||||
|  |                             Enterprise | ||||
|  |                         </div> | ||||
|  |                         <div class="text-center" | ||||
|  |                             style="background-color:#7C7BAD !important; color:#fff !important;font-size: 0.8rem !important; font-weight:500 !important; padding:4px !important; margin:0 3px !important; border-radius:50px !important; min-width: 120px !important;"> | ||||
|  |                             Odoo.sh | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                 </div> | ||||
|  |             </div> | ||||
|  |             <div class="row"> | ||||
|  |                 <div class="col-sm-12 col-md-12 col-lg-12 text-center d-flex align-items-center flex-column" | ||||
|  |                     style="margin: 80px 0px !important;"> | ||||
|  |                     <h1 style="font-size: 2.8rem;font-weight: 700; color:  | ||||
|  |                     #1A202C;"> | ||||
|  |                          Website Restrict Country</h1> | ||||
|  |                     <p class="my-3 mb-4" | ||||
|  |                         style="max-width: 80%; font-weight: 400 !important; line-height: 32px; color: #718096;"> | ||||
|  |                           Website Restrict Country for Products that are Unavailable in Certain Countries. | ||||
|  |                     </p> | ||||
|  |                     <div style="width: 80%; margin-top: 3rem;"> | ||||
|  |                         <img src="assets/screenshots/hero.gif" class="img-responsive" width="100%" height="auto"> | ||||
|  |                     </div> | ||||
|  |                 </div> | ||||
|  |             </div> | ||||
|  |             <div class="container mt-5 mb-5"> | ||||
|  |                 <div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-4"> | ||||
|  |                     <p class="m-0" style="font-weight: 600; font-size: 24px; color:#714b67 !important">Key Highlights | ||||
|  |                     </p> | ||||
|  |                 </div> | ||||
|  |                 <div class="row py-4"> | ||||
|  |                     <div class="col-md-6 col-sm-12 p-3"> | ||||
|  |                         <div class="d-flex   h-100" style="padding: 30px;border-radius: 12px; | ||||
|  |                                     background: #FFF; | ||||
|  |                                     box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); "> | ||||
|  |                             <div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67; | ||||
|  |                                     display: flex; justify-content: center; align-items: center; | ||||
|  |                                     margin-right: 10px; flex-shrink: 0;"> | ||||
|  |                                 <i class="fa-solid fa-star  " style="color: #fff;font-size:14px;"></i> | ||||
|  |                             </div> | ||||
|  |                             <div> | ||||
|  |                                 <p style="color: #1A202C;font-weight: 600;  | ||||
|  |                                       font-size: 1.2rem; margin-bottom: 2px;">Countries can be added in the website.</p> | ||||
|  |                             </div> | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                     <div class="col-md-6 col-sm-12 p-3"> | ||||
|  |                         <div class="d-flex   h-100" style="padding: 30px;border-radius: 12px; | ||||
|  |                                     background: #FFF; | ||||
|  |                                     box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); "> | ||||
|  |                             <div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67; | ||||
|  |                                     display: flex; justify-content: center; align-items: center; | ||||
|  |                                     margin-right: 10px; flex-shrink: 0;"> | ||||
|  |                                 <i class="fa-solid fa-star  " style="color: #fff;font-size:14px;"></i> | ||||
|  |                             </div> | ||||
|  |                             <div> | ||||
|  |                                 <p style="color: #1A202C;font-weight: 600;  | ||||
|  |                                       font-size: 1.2rem; margin-bottom: 2px;">Restrict ordering unavailable products of the Country.</p> | ||||
|  | 
 | ||||
|  |                             </div> | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                 </div> | ||||
|  |                 <div class="row py-4"> | ||||
|  |                     <div class="col-md-6 col-sm-12 p-3"> | ||||
|  |                         <div class="d-flex   h-100" style="padding: 30px;border-radius: 12px; | ||||
|  |                                     background: #FFF; | ||||
|  |                                     box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); "> | ||||
|  |                             <div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67; | ||||
|  |                                     display: flex; justify-content: center; align-items: center; | ||||
|  |                                     margin-right: 10px; flex-shrink: 0;"> | ||||
|  |                                 <i class="fa-solid fa-star  " style="color: #fff;font-size:14px;"></i> | ||||
|  |                             </div> | ||||
|  |                             <div> | ||||
|  |                                 <p style="color: #1A202C;font-weight: 600; | ||||
|  |                                       font-size: 1.2rem; margin-bottom: 2px;">Top Navigation bar with country list.</p> | ||||
|  |                             </div> | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                     <div class="col-md-6 col-sm-12 p-3"> | ||||
|  |                         <div class="d-flex   h-100" style="padding: 30px;border-radius: 12px; | ||||
|  |                                     background: #FFF; | ||||
|  |                                     box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); "> | ||||
|  |                             <div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67; | ||||
|  |                                     display: flex; justify-content: center; align-items: center; | ||||
|  |                                     margin-right: 10px; flex-shrink: 0;"> | ||||
|  |                                 <i class="fa-solid fa-star  " style="color: #fff;font-size:14px;"></i> | ||||
|  |                             </div> | ||||
|  |                             <div> | ||||
|  |                                 <p style="color: #1A202C;font-weight: 600; | ||||
|  |                                       font-size: 1.2rem; margin-bottom: 2px;">Direct BUY NOW is restricted for unavailable Products.</p> | ||||
|  | 
 | ||||
|  |                             </div> | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                 </div> | ||||
|  |                 <div class="row py-4"> | ||||
|  |                     <div class="col-md-6 col-sm-12 p-3"> | ||||
|  |                         <div class="d-flex   h-100" style="padding: 30px;border-radius: 12px; | ||||
|  |                                     background: #FFF; | ||||
|  |                                     box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); "> | ||||
|  |                             <div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67; | ||||
|  |                                     display: flex; justify-content: center; align-items: center; | ||||
|  |                                     margin-right: 10px; flex-shrink: 0;"> | ||||
|  |                                 <i class="fa-solid fa-star  " style="color: #fff;font-size:14px;"></i> | ||||
|  |                             </div> | ||||
|  |                             <div> | ||||
|  |                                 <p style="color: #1A202C;font-weight: 600; | ||||
|  |                                       font-size: 1.2rem; margin-bottom: 2px;">custom messages for products they are unavailable.</p> | ||||
|  |                             </div> | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                     <div class="col-md-6 col-sm-12 p-3"> | ||||
|  |                         <div class="d-flex   h-100" style="padding: 30px;border-radius: 12px; | ||||
|  |                                     background: #FFF; | ||||
|  |                                     box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); "> | ||||
|  |                             <div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67; | ||||
|  |                                     display: flex; justify-content: center; align-items: center; | ||||
|  |                                     margin-right: 10px; flex-shrink: 0;"> | ||||
|  |                                 <i class="fa-solid fa-star  " style="color: #fff;font-size:14px;"></i> | ||||
|  |                             </div> | ||||
|  |                             <div> | ||||
|  |                                 <p style="color: #1A202C;font-weight: 600; | ||||
|  |                                       font-size: 1.2rem; margin-bottom: 2px;">Restricts the checkout process.</p> | ||||
|  |                             </div> | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                 </div> | ||||
|  |             </div> | ||||
|  |       | ||||
|  |             <div class="container rounded" > | ||||
|  |                 <ul class="nav nav-tabs d-flex" style="width: fit-content;margin: 0 auto;gap: 1rem;"> | ||||
|  |                     <li class="col text-center py-2 text-nowrap " | ||||
|  |                         style="color: #fff; background-color: #714B67;border-radius: 6px 6px 0px 0px;"><a | ||||
|  |                             class="active show" data-toggle="tab" href="#tab1" | ||||
|  |                             style="color: #fff;font-weight: 500; background-color: #714B67; text-decoration: none;"> | ||||
|  |                             <i class="fa-regular fa-image  pr-2" style="color: #fff;"></i> | ||||
|  |                             Screenshots</a></li> | ||||
|  |                     <li class="col text-center py-2 text-nowrap " | ||||
|  |                         style="color: #fff; background-color: #714B67;border-radius: 6px 6px 0px 0px;"><a | ||||
|  |                             data-toggle="tab" href="#tab2" | ||||
|  |                             style="color: #fff;font-weight: 500;  text-decoration: none;"><i | ||||
|  |                                 class="fa-solid fa-star  pr-2" style="color: #fff;"></i>Features</a></li> | ||||
|  |                     <li class="col text-center py-2 text-nowrap " | ||||
|  |                         style="color: #fff; background-color: #714B67;border-radius: 6px 6px 0px 0px;"><a | ||||
|  |                             data-toggle="tab" href="#tab3" | ||||
|  |                             style="color: #fff;font-weight: 500; text-decoration: none; background-color: #714B67;"><i | ||||
|  |                                 class="fa-solid fa-book-open  pr-2" style="color: #fff;"></i>Released Notes</a></li> | ||||
|  |                 </ul> | ||||
|  |                 <div class="tab-content" style="background-color: rgba(121, 113, 119, 0.04);"> | ||||
|  |                     <div id="tab1" class="tab-pane fade in active show"> | ||||
|  |                         <div class="col-lg-12 py-2" style="padding: 1rem 4rem !important;"> | ||||
|  |                         </div> | ||||
|  |                         <div class="col-lg-12 py-2" style="padding: 1rem 4rem !important;"> | ||||
|  |                             <div | ||||
|  |                                 style="border: 1px solid #d8d6d6; border-radius: 4px;  background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> | ||||
|  |                                 <div class="row justify-content-center p-3 w-100 m-0"> | ||||
|  |                                     <img src="assets/screenshots/1.png" class="img-responsive" width="100%" height="auto"> | ||||
|  |                                 </div> | ||||
|  |                                 <div class="px-3"> | ||||
|  |                                     <h4 class="mt-2" | ||||
|  |                                         style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> | ||||
|  |                                           Set Countries in the backend.</h4> | ||||
|  |                                 </div> | ||||
|  |                             </div> | ||||
|  |                         </div> | ||||
|  |                          <div class="col-lg-12 py-2" style="padding: 1rem 4rem !important;"> | ||||
|  |                             <div | ||||
|  |                                 style="border: 1px solid #d8d6d6; border-radius: 4px;  background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> | ||||
|  |                                 <div class="row justify-content-center p-3 w-100 m-0"> | ||||
|  |                                    <img src="assets/screenshots/2.png" class="img-responsive" width="100%" height="auto"> | ||||
|  |                                 </div> | ||||
|  |                                 <div class="px-3"> | ||||
|  |                                     <h4 class="mt-2" | ||||
|  |                                         style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> | ||||
|  |                                         User can add custom messages for products that are unavailable.</h4> | ||||
|  |                                 </div> | ||||
|  |                             </div> | ||||
|  |                         </div> | ||||
|  |                           <div class="col-lg-12 py-2" style="padding: 1rem 4rem !important;"> | ||||
|  |                             <div | ||||
|  |                                 style="border: 1px solid #d8d6d6; border-radius: 4px;  background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> | ||||
|  |                                 <div class="row justify-content-center p-3 w-100 m-0"> | ||||
|  |                                     <img src="assets/screenshots/3.png" class="img-responsive" width="100%" height="auto"> | ||||
|  |                                 </div> | ||||
|  |                                 <div class="px-3"> | ||||
|  |                                     <h4 class="mt-2" | ||||
|  |                                         style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> | ||||
|  |                                        Product configuration for all or a specific country in the backend.</h4> | ||||
|  |                                 </div> | ||||
|  |                             </div> | ||||
|  |                         </div> | ||||
|  |                           <div class="col-lg-12 py-2" style="padding: 1rem 4rem !important;"> | ||||
|  |                             <div | ||||
|  |                                 style="border: 1px solid #d8d6d6; border-radius: 4px;  background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> | ||||
|  |                                 <div class="row justify-content-center p-3 w-100 m-0"> | ||||
|  |                                     <img src="assets/screenshots/4.png" class="img-responsive" width="100%" height="auto"> | ||||
|  |                                 </div> | ||||
|  |                                 <div class="px-3"> | ||||
|  |                                     <h4 class="mt-2" | ||||
|  |                                         style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> | ||||
|  |                                          Top Navigation bar will display selected country list.</h4> | ||||
|  |                                 </div> | ||||
|  |                             </div> | ||||
|  |                         </div> | ||||
|  |                          <div class="col-lg-12 py-2" style="padding: 1rem 4rem !important;"> | ||||
|  |                             <div | ||||
|  |                                 style="border: 1px solid #d8d6d6; border-radius: 4px;  background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> | ||||
|  |                                 <div class="row justify-content-center p-3 w-100 m-0"> | ||||
|  |                                     <img src="assets/screenshots/5.png" class="img-responsive" width="100%" height="auto"> | ||||
|  |                                 </div> | ||||
|  |                                 <div class="px-3"> | ||||
|  |                                     <h4 class="mt-2" | ||||
|  |                                         style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> | ||||
|  |                                        If the product is not available, users are restricted from using the direct "Buy Now" option.</h4> | ||||
|  |                                 </div> | ||||
|  |                             </div> | ||||
|  |                         </div> | ||||
|  |                         <div class="col-lg-12 py-2" style="padding: 1rem 4rem !important;"> | ||||
|  |                             <div | ||||
|  |                                 style="border: 1px solid #d8d6d6; border-radius: 4px;  background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> | ||||
|  |                                 <div class="row justify-content-center p-3 w-100 m-0"> | ||||
|  |                                     <img src="assets/screenshots/6.png" class="img-responsive" width="100%" height="auto"> | ||||
|  |                                 </div> | ||||
|  |                                 <div class="px-3"> | ||||
|  |                                     <h4 class="mt-2" | ||||
|  |                                         style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> | ||||
|  |                                        On the cart page, created a custom message for the unavailable product in a country.</h4> | ||||
|  |                                 </div> | ||||
|  |                             </div> | ||||
|  |                         </div> | ||||
|  |                         <div class="col-lg-12 py-2" style="padding: 1rem 4rem !important;"> | ||||
|  |                             <div | ||||
|  |                                 style="border: 1px solid #d8d6d6; border-radius: 4px;  background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> | ||||
|  |                                 <div class="row justify-content-center p-3 w-100 m-0"> | ||||
|  |                                     <img src="assets/screenshots/7.png" class="img-responsive" width="100%" height="auto"> | ||||
|  |                                 </div> | ||||
|  |                                 <div class="px-3"> | ||||
|  |                                     <h4 class="mt-2" | ||||
|  |                                         style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> | ||||
|  |                                         When the product is restricted in this country, the checkout process is restricted.</h4> | ||||
|  |                                 </div> | ||||
|  |                             </div> | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                     <div id="tab2" class="tab-pane fade"> | ||||
|  |                         <div class="col-mg-12" style="padding: 1rem 4rem;"> | ||||
|  |                             <ul style="list-style: none; padding: 1rem 0;font-weight: 500;"> | ||||
|  |                                 <li class="py-3" | ||||
|  |                                     style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> | ||||
|  |                                     <span style="margin-right: 12px;"><img src="assets/misc/star (1) 2.svg" alt="" | ||||
|  |                                             width="16px"></span>Customer can attach files in the "my account" screen and "payment" screen. | ||||
|  |                                 </li> | ||||
|  |                                 <li class="py-3" | ||||
|  |                                     style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> | ||||
|  |                                     <span style="margin-right: 12px;"><img src="assets/misc/star (1) 2.svg" alt="" | ||||
|  |                                             width="16px"></span>Customer can upload both image and pdf files. | ||||
|  |                                 </li> | ||||
|  |                                    <li class="py-3" | ||||
|  |                                     style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> | ||||
|  |                                     <span style="margin-right: 12px;"><img src="assets/misc/star (1) 2.svg" alt="" | ||||
|  |                                             width="16px"></span>Customer can upload multiple files. | ||||
|  |                                 </li> | ||||
|  |                                    <li class="py-3" | ||||
|  |                                     style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> | ||||
|  |                                     <span style="margin-right: 12px;"><img src="assets/misc/star (1) 2.svg" alt="" | ||||
|  |                                             width="16px"></span>It is available for all manual transactions. | ||||
|  |                                 </li> | ||||
|  |                                     <li class="py-3" | ||||
|  |                                     style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> | ||||
|  |                                     <span style="margin-right: 12px;"><img src="assets/misc/star (1) 2.svg" alt="" | ||||
|  |                                             width="16px"></span>Admin can see the uploaded file in the sale order section. | ||||
|  |                                 </li> | ||||
|  |                             </ul> | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                     <div id="tab3" class="tab-pane fade"> | ||||
|  |                         <div class="col-mg-12 active" style="padding: 1rem 4rem;"> | ||||
|  |                             <div class="py-3" | ||||
|  |                                 style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> | ||||
|  |                                 <div class="d-flex mb-3" style="font-size: 0.8rem; font-weight: 500;"><span>Version | ||||
|  |                                         17.0.1.0.0</span><span class="px-2">|</span><span | ||||
|  |                                         style="color: #714B67;font-weight: 600;">Released on:20th January 2024</span> | ||||
|  |                                 </div> | ||||
|  |                                 <p class="m-0" | ||||
|  |                                     style=" color:#718096!important; font-size:1rem !important;line-height: 28px;"> | ||||
|  | 
 | ||||
|  |                                     Initial Commit for Payment Proof Attachment.</p> | ||||
|  |                             </div> | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                 </div> | ||||
|  |             </div> | ||||
|  |             <div class="container mt-5"> | ||||
|  |                 <div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-5"> | ||||
|  |                     <p class="m-0" style="font-weight: 600; font-size: 24px; color:#000 !important">Related Products</p> | ||||
|  |                 </div> | ||||
|  |             </div> | ||||
|  |             <div id="myCarousel" class="carousel slide py-3" data-ride="carousel"> | ||||
|  |                 <div class="carousel-inner"> | ||||
|  |                     <div class="carousel-item active"> | ||||
|  |                         <div class="row p-4"> | ||||
|  |                             <div class="col"> | ||||
|  |                                 <div class="p-3"> | ||||
|  |                                     <a href="https://apps.odoo.com/apps/modules/17.0/product_barcode/" style="color: #000; text-decoration: none;"> | ||||
|  |                                         <div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> | ||||
|  |                                             <div style="width: 300px; "> | ||||
|  |                                                 <img src="assets/modules/1.png" alt="" width="100%" height="auto"> | ||||
|  | 
 | ||||
|  |                                             </div> | ||||
|  |                                             <p class="text-center pt-2 text-black font-weight-bold">Product Barcode Generator</p> | ||||
|  |                                         </div> | ||||
|  |                                     </a> | ||||
|  |                                 </div> | ||||
|  |                             </div> | ||||
|  |                             <div class="col"> | ||||
|  |                                 <div class="p-3"> | ||||
|  |                                     <a href="https://apps.odoo.com/apps/modules/17.0/export_stockinfo_xls/" style="color: #000; text-decoration: none;"> | ||||
|  |                                         <div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> | ||||
|  |                                             <div style="width: 300px; "> | ||||
|  |                                                 <img src="assets/modules/2.png" alt="" width="100%" height="auto"> | ||||
|  | 
 | ||||
|  |                                             </div> | ||||
|  |                                             <p class="text-center pt-2 text-black font-weight-bold">Export Stock Info</p> | ||||
|  |                                         </div> | ||||
|  |                                     </a> | ||||
|  |                                 </div> | ||||
|  |                             </div> | ||||
|  |                             <div class="col"> | ||||
|  |                                 <div class="p-3"> | ||||
|  |                                     <a href="https://apps.odoo.com/apps/modules/17.0/inventory_barcode_scanning/" style="color: #000; text-decoration: none;"> | ||||
|  |                                         <div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> | ||||
|  |                                             <div style="width: 300px; "> | ||||
|  |                                                 <img src="assets/modules/3.png" alt="" width="100%" height="auto"> | ||||
|  | 
 | ||||
|  |                                             </div> | ||||
|  |                                             <p class="text-center pt-2 text-black font-weight-bold">Inventory Barcode Scanning</p> | ||||
|  |                                         </div> | ||||
|  |                                     </a> | ||||
|  |                                 </div> | ||||
|  |                             </div> | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                     <div class="carousel-item"> | ||||
|  |                         <div class="row p-4"> | ||||
|  |                             <div class="col"> | ||||
|  |                                 <div class="p-3"> | ||||
|  |                                     <a href="https://apps.odoo.com/apps/modules/17.0/whatsapp_redirect/" style="color: #000; text-decoration: none;"> | ||||
|  |                                         <div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> | ||||
|  |                                             <div style="width: 300px; "> | ||||
|  |                                                 <img src="assets/modules/4.jpg" alt="" width="100%" height="auto"> | ||||
|  | 
 | ||||
|  |                                             </div> | ||||
|  |                                             <p class="text-center pt-2 text-black font-weight-bold">Whatsapp Redirect</p> | ||||
|  |                                         </div> | ||||
|  |                                     </a> | ||||
|  |                                 </div> | ||||
|  |                             </div> | ||||
|  |                             <div class="col"> | ||||
|  |                                 <div class="p-3"> | ||||
|  |                                     <a href="https://apps.odoo.com/apps/modules/17.0/invoice_format_editor/" style="color: #000; text-decoration: none;"> | ||||
|  |                                         <div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> | ||||
|  |                                             <div style="width: 300px;"> | ||||
|  |                                                 <img src="assets/modules/5.png" alt="" width="100%" height="auto"> | ||||
|  | 
 | ||||
|  |                                             </div> | ||||
|  |                                             <p class="text-center pt-2 text-black font-weight-bold">Invoice Format Editor</p> | ||||
|  |                                         </div> | ||||
|  |                                     </a> | ||||
|  |                                 </div> | ||||
|  |                             </div> | ||||
|  |                             <div class="col"> | ||||
|  |                                 <div class="p-3"> | ||||
|  |                                     <a href="https://apps.odoo.com/apps/modules/17.0/mobile_service_shop/" style="color: #000; text-decoration: none;"> | ||||
|  |                                         <div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> | ||||
|  |                                             <div style="width: 300px;"> | ||||
|  |                                                 <img src="assets/modules/6.jpg" alt="" width="100%" height="auto"> | ||||
|  |                                             </div> | ||||
|  |                                             <p class="text-center pt-2 text-black font-weight-bold"> Mobile Service Management</p> | ||||
|  |                                         </div> | ||||
|  |                                     </a> | ||||
|  |                                 </div> | ||||
|  |                             </div> | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                 </div> | ||||
|  |                 <a class="carousel-control-prev" href="#myCarousel" data-slide="prev" style="width: 35px; color: #000;"> | ||||
|  |                     <span class="carousel-control-prev-icon"> | ||||
|  |                         <i class="fa fa-chevron-left" style="font-size: 24px;"></i> | ||||
|  |                     </span> | ||||
|  |                 </a> | ||||
|  |                 <a class="carousel-control-next" href="#myCarousel" data-slide="next" style="width: 35px; color: #000;"> | ||||
|  |                     <span class="carousel-control-next-icon"> | ||||
|  |                         <i class="fa fa-chevron-right" style="font-size: 24px;"></i> | ||||
|  |                     </span> | ||||
|  |                 </a> | ||||
|  |             </div> | ||||
|  |             <div class="container mt-5"> | ||||
|  |                 <div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-4"> | ||||
|  |                     <p class="m-0" style="font-weight: 600; font-size: 24px; color:#000 !important">Our Services</p> | ||||
|  | 
 | ||||
|  |                 </div> | ||||
|  |             </div> | ||||
|  |             <div class="container my-5"> | ||||
|  |                 <div class="row py-3"> | ||||
|  |                     <div class="col-md-4 col-sm-6 px-4 py-4"> | ||||
|  |                         <div | ||||
|  |                             style="background-color: #fff; padding: 25px; text-align: center;  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;"> | ||||
|  |                             <div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> | ||||
|  |                                 <div style="background-color:#13EA36 ; border-radius: 50%; padding: 15px;    width: 68px; | ||||
|  |                                     height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> | ||||
|  |                                     <img src="assets/icons/cogs.png" alt="service-icon" width="38px" height="auto"> | ||||
|  |                                 </div> | ||||
|  |                             </div> | ||||
|  |                             <p style="margin-top: 20px; font-weight: bold;">Odoo Customization</p> | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                     <div class="col-md-4 col-sm-6 px-4 py-4"> | ||||
|  |                         <div | ||||
|  |                             style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;"> | ||||
|  |                             <div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> | ||||
|  |                                 <div style="background-color:#DBC711; border-radius: 50%; padding: 15px;    width: 68px; | ||||
|  |                                     height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> | ||||
|  |                                     <img src="assets/icons/wrench.png" alt="service-icon" width="38px" height="auto"> | ||||
|  |                                 </div> | ||||
|  |                             </div> | ||||
|  |                             <p style="margin-top: 20px; font-weight: bold;">Odoo Implementation</p> | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                     <div class="col-md-4 col-sm-6 px-4 py-4"> | ||||
|  |                         <div | ||||
|  |                             style="background-color: #fff; padding: 25px; text-align: center;  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative; border-radius: 4px;"> | ||||
|  |                             <div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> | ||||
|  |                                 <div style="background-color:#FF6B6B ; border-radius: 50%; padding: 15px;    width: 68px; | ||||
|  |                                     height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> | ||||
|  |                                     <img src="assets/icons/lifebuoy.png" alt="service-icon" width="38px" height="auto"> | ||||
|  |                                 </div> | ||||
|  |                             </div> | ||||
|  |                             <p style="margin-top: 20px; font-weight: bold;">Odoo Support</p> | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                     <div class="col-md-4 col-sm-6 px-4 py-4"> | ||||
|  |                         <div | ||||
|  |                             style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative; border-radius: 4px;"> | ||||
|  |                             <div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> | ||||
|  |                                 <div style="background-color:#FFA801 ; border-radius: 50%; padding: 15px;    width: 68px; | ||||
|  |                                     height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> | ||||
|  |                                     <img src="assets/icons/user.png" alt="service-icon" width="38px" height="auto"> | ||||
|  |                                 </div> | ||||
|  |                             </div> | ||||
|  |                             <p style="margin-top: 20px; font-weight: bold;">Hire Odoo Developer</p> | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                     <div class="col-md-4 col-sm-6 px-4 py-4"> | ||||
|  |                         <div | ||||
|  |                             style="background-color: #fff; padding: 25px; text-align: center;  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative; border-radius: 4px;"> | ||||
|  | 
 | ||||
|  |                             <div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> | ||||
|  |                                 <div style="background-color:#54A0FF; border-radius: 50%; padding: 15px;    width: 68px; | ||||
|  |                                     height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> | ||||
|  |                                     <img src="assets/icons/puzzle.png" alt="service-icon" width="38px" height="auto"> | ||||
|  |                                 </div> | ||||
|  |                             </div> | ||||
|  |                             <p style="margin-top: 20px; font-weight: bold;">Odoo Integration</p> | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                     <div class="col-md-4 col-sm-6 px-4 py-4"> | ||||
|  |                         <div | ||||
|  |                             style="background-color: #fff; padding: 25px; text-align: center;  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;"> | ||||
|  |                             <div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> | ||||
|  |                                 <div style="background-color:#6D7680 ; border-radius: 50%; padding: 15px;    width: 68px; | ||||
|  |                                     height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> | ||||
|  |                                     <img src="assets/icons/update.png" alt="service-icon" width="38px" height="auto"> | ||||
|  |                                 </div> | ||||
|  |                             </div> | ||||
|  |                             <p style="margin-top: 20px; font-weight: bold;">Odoo Migration</p> | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                     <div class="col-md-4 col-sm-6 px-4 py-4"> | ||||
|  |                         <div | ||||
|  |                             style="background-color: #fff; padding: 25px; text-align: center;  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;"> | ||||
|  |                             <div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> | ||||
|  |                                 <div style="background-color:#786FA6 ; border-radius: 50%; padding: 15px;    width: 68px; | ||||
|  |                                     height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> | ||||
|  |                                     <img src="assets/icons/consultation.png" alt="service-icon" width="38px" height="auto"> | ||||
|  |                                 </div> | ||||
|  |                             </div> | ||||
|  |                             <p style="margin-top: 20px; font-weight: bold;">Odoo Consultancy</p> | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                     <div class="col-md-4 col-sm-6 px-4 py-4"> | ||||
|  |                         <div | ||||
|  |                             style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;position: relative;border-radius: 4px;"> | ||||
|  |                             <div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> | ||||
|  |                                 <div style="background-color:#F8A5C2 ; border-radius: 50%; padding: 15px;    width: 68px; | ||||
|  |                                     height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> | ||||
|  |                                     <img src="assets/icons/training.png" alt="service-icon" width="38px" height="auto"> | ||||
|  |                                 </div> | ||||
|  |                             </div> | ||||
|  |                             <p style="margin-top: 20px; font-weight: bold;">Odoo Implementation</p> | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                     <div class="col-md-4 col-sm-6 px-4 py-4"> | ||||
|  |                         <div | ||||
|  |                             style="background-color: #fff; padding: 25px; text-align: center;  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;"> | ||||
|  |                             <div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> | ||||
|  |                                 <div style="background-color:#E6BE26; border-radius: 50%; padding: 15px;    width: 68px; | ||||
|  |                                     height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> | ||||
|  |                                     <img src="assets/icons/license.png" alt="service-icon" width="38px" height="auto"> | ||||
|  |                                 </div> | ||||
|  |                             </div> | ||||
|  |                             <p style="margin-top: 20px; font-weight: bold;">Odoo Licensing Consultancy</p> | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                 </div> | ||||
|  |             </div> | ||||
|  |             <div class="container mt-5"> | ||||
|  |                 <div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-4"> | ||||
|  |                     <p class="m-0" style="font-weight: 600; font-size: 24px; color:#000 !important">Our Industries</p> | ||||
|  | 
 | ||||
|  |                 </div> | ||||
|  |             </div> | ||||
|  |             <div class="container"> | ||||
|  |                 <div class="row my-5 py-4"> | ||||
|  |                     <div class="col-md-3 col-sm-6 p-0"> | ||||
|  |                         <div class="d-flex flex-column h-100 " | ||||
|  |                             style="border-right: 1px solid rgb(209, 209, 209); border-bottom: 1px solid  rgb(209, 209, 209); padding: 30px; box-shadow: 6px 0 10px rgba(228, 227, 227, 0.373);"> | ||||
|  |                             <img src="assets/icons/trading-black.png" width="42px" height="auto" alt=""> | ||||
|  |                             <p style="color: #714B67;font-weight: 600; margin-top: 10px; | ||||
|  |                            font-size: 1.2rem; margin-bottom: 2px;">Trading</p> | ||||
|  |                             <p>Easily procure and sell your products</p> | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                     <div class="col-md-3 col-sm-6  p-0"> | ||||
|  |                         <div class="d-flex flex-column h-100" | ||||
|  |                             style="border-right: 1px solid rgb(209, 209, 209);border-bottom: 1px solid  rgb(209, 209, 209); padding: 30px;"> | ||||
|  |                             <img src="assets/icons/pos-black.png" width="42px" height="auto" alt=""> | ||||
|  |                             <p style="color: #714B67;font-weight: 600; margin-top: 10px; | ||||
|  |                             font-size: 1.2rem; margin-bottom: 2px;">POS</p> | ||||
|  |                             <p>Easy configuration and convivial experience</p> | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                     <div class="col-md-3 col-sm-6  p-0"> | ||||
|  |                         <div class="d-flex flex-column h-100" | ||||
|  |                             style="border-right: 1px solid  rgb(209, 209, 209);border-bottom: 1px solid   rgba(0, 0, 0, 0.2); padding: 30px; box-shadow: 0 5px 10px  rgba(228, 227, 227, 0.373)"> | ||||
|  |                             <img src="assets/icons/education-black.png" width="42px" height="auto" alt=""> | ||||
|  |                             <p style="color: #714B67;font-weight: 600; margin-top: 10px; | ||||
|  |                             font-size: 1.2rem; margin-bottom: 2px;">Education</p> | ||||
|  |                             <p>A platform for educational management</p> | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                     <div class="col-md-3 col-sm-6  p-0"> | ||||
|  |                         <div class="d-flex flex-column h-100" | ||||
|  |                             style="border-bottom: 1px solid  rgb(209, 209, 209); padding: 30px; "> | ||||
|  |                             <img src="assets/icons/manufacturing-black.png" width="42px" height="auto" alt=""> | ||||
|  |                             <p style="color: #714B67;font-weight: 600; margin-top: 10px; | ||||
|  |                             font-size: 1.2rem; margin-bottom: 2px;">Manufacturing</p> | ||||
|  |                             <p>Plan, track and schedule your operations</p> | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                     <div class="col-md-3 col-sm-6 p-0"> | ||||
|  |                         <div class="d-flex flex-column h-100" | ||||
|  |                             style="border-right: 1px solid  rgb(209, 209, 209); padding: 30px;"> | ||||
|  |                             <img src="assets/icons/ecom-black.png" width="42px" height="auto" alt=""> | ||||
|  |                             <p style="color: #714B67;font-weight: 600; margin-top: 10px; | ||||
|  |                             font-size: 1.2rem; margin-bottom: 2px;">E-commerce & Website</p> | ||||
|  |                             <p>Mobile friendly, awe-inspiring product pages</p> | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                     <div class="col-md-3 col-sm-6   p-0"> | ||||
|  |                         <div class="d-flex flex-column h-100" | ||||
|  |                             style="border-right: 1px solid  rgb(209, 209, 209); padding: 30px;box-shadow: 0 -5px 10px  rgba(228, 227, 227, 0.373);"> | ||||
|  |                             <img src="assets/icons/service-black.png" width="42px" height="auto" alt=""> | ||||
|  |                             <p style="color: #714B67;font-weight: 600; margin-top: 10px; | ||||
|  |                             font-size: 1.2rem; margin-bottom: 2px;">Service Management</p> | ||||
|  |                             <p>Keep track of services and invoice</p> | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                     <div class="col-md-3 col-sm-6    p-0"> | ||||
|  |                         <div class="d-flex flex-column h-100" | ||||
|  |                             style="border-right: 1px solid  rgb(209, 209, 209); padding: 30px; "> | ||||
|  |                             <img src="assets/icons/restaurant-black.png" width="42px" height="auto" alt=""> | ||||
|  |                             <p style="color: #714B67;font-weight: 600; margin-top: 10px; | ||||
|  |                             font-size: 1.2rem; margin-bottom: 2px;">Restaurant</p> | ||||
|  |                             <p>Run your bar or restaurant methodically</p> | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                     <div class="col-md-3 col-sm-6   p-0"> | ||||
|  |                         <div class="d-flex flex-column h-100" | ||||
|  |                             style=" padding: 30px;box-shadow: -5px 0 10px  rgba(228, 227, 227, 0.373);"> | ||||
|  |                             <img src="assets/icons/hotel-black.png" width="42px" height="auto" alt=""> | ||||
|  |                             <p style="color: #714B67;font-weight: 600; margin-top: 10px; | ||||
|  |                             font-size: 1.2rem; margin-bottom: 2px;">Hotel Management</p> | ||||
|  |                             <p>An all-inclusive hotel management application</p> | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                 </div> | ||||
|  |             </div> | ||||
|  |             <div class="container mt-5"> | ||||
|  |                 <div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-5"> | ||||
|  |                     <p class="m-0" style="font-weight: 600; font-size: 24px; color:#000 !important">Support</p> | ||||
|  |                 </div> | ||||
|  |             </div> | ||||
|  |             <div class="container my-5"> | ||||
|  |                 <div class="row" style="background-color: #FFFAFE;"> | ||||
|  |                     <div class="col-md-6 pb-4  d-flex align-items-center justify-content-center" | ||||
|  |                         style="border-right: 1px solid #D9D9D9;"> | ||||
|  |                         <div style="padding: 30px;"> | ||||
|  |                             <div class="d-flex align-items-center"> | ||||
|  |                                 <img src="assets/misc/support (1) 1.svg" alt="" width="60px" style="margin-right: 12px;"> | ||||
|  |                                 <div style="padding: 0px 8px;"> | ||||
|  |                                     <span | ||||
|  |                                         style="color: #714B67;font-size: 24px;font-weight: 600;padding-bottom: 1rem;">Need | ||||
|  |                                         Help?</span> | ||||
|  |                                     <p class="m-0" style="color:#718096;">Got questions or need help? Get in touch.</p> | ||||
|  |                                     <div style="font-weight: 400;"><span><img src="assets/misc/support-email.svg" alt="" | ||||
|  |                                                 width="18px" | ||||
|  |                                                 style="filter: invert(1);margin-right: 0.8rem;"></span>odoo@cybrosys.com | ||||
|  |                                     </div> | ||||
|  |                                 </div> | ||||
|  |                             </div> | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                     <div class="col-md-6 pb-4 d-flex align-items-center justify-content-center"> | ||||
|  |                         <div style="padding: 30px;"> | ||||
|  |                             <div class="d-flex align-items-center"> | ||||
|  |                                 <img src="assets/misc/whatsapp 1.svg" alt="" width="60px" style="margin-right: 12px;"> | ||||
|  |                                 <div> | ||||
|  |                                     <span style="color: #714B67;font-size: 24px;font-weight: 600;">WhatsApp</span> | ||||
|  |                                     <p class="m-0" style="color:#718096;">Say hi to us on WhatsApp!</p> | ||||
|  |                                     <div style="font-weight: 400; font-size: 16px;"><span><img src="assets/misc/phone.svg" | ||||
|  |                                                 alt="" width="14px" | ||||
|  |                                                 style="filter: invert(1); margin-right: 0.8rem;"></span>+91 | ||||
|  |                                         99456767686</div> | ||||
|  |                                 </div> | ||||
|  |                             </div> | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                 </div> | ||||
|  |             </div> | ||||
|  |         </div> | ||||
|  |     </section> | ||||
|  |     <!-- Optional JavaScript --> | ||||
|  |     <!-- jQuery first, then Popper.js, then Bootstrap JS --> | ||||
|  |     <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> | ||||
|  |     <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script> | ||||
|  | </body> | ||||
|  | </html> | ||||
| @ -0,0 +1,21 @@ | |||||
|  | /** @odoo-module **/ | ||||
|  | import { jsonrpc } from "@web/core/network/rpc_service"; | ||||
|  | import publicWidget from "@web/legacy/js/public/public_widget"; | ||||
|  | 
 | ||||
|  |   publicWidget.registry.Country_detail = publicWidget.Widget.extend({ | ||||
|  |     selector: ".js_countrymenu", | ||||
|  |     events: { | ||||
|  |         'click .js_countries': 'OnClickChangeCountry', | ||||
|  |     }, | ||||
|  |     // Added a Click function to select the country
 | ||||
|  |     OnClickChangeCountry: function(e) { | ||||
|  |         event.preventDefault(e); | ||||
|  |             var country_id = e.currentTarget.dataset['country_id'] | ||||
|  |             var self = this; | ||||
|  |             jsonrpc('/website/countries', { 'country_id': country_id}) | ||||
|  |             .then(result => { | ||||
|  |                $(e.currentTarget).parent().parent().html(result) | ||||
|  |                window.location.reload() | ||||
|  |             }); | ||||
|  |         }, | ||||
|  |     }) | ||||
| @ -0,0 +1,32 @@ | |||||
|  | <?xml version="1.0" encoding="utf-8"?> | ||||
|  | <odoo> | ||||
|  |     <!--product.template inherited views--> | ||||
|  |     <record id="product_template_only_form_view" model="ir.ui.view"> | ||||
|  |         <field name="name"> | ||||
|  |             product.template.view.form.inherit.website.restrict.country | ||||
|  |         </field> | ||||
|  |         <field name="model">product.template</field> | ||||
|  |         <field name="inherit_id" | ||||
|  |                ref="product.product_template_only_form_view"/> | ||||
|  |         <field name="arch" type="xml"> | ||||
|  |             <xpath expr="//notebook" position="inside"> | ||||
|  |                 <page name="countries" string="Countries"> | ||||
|  |                     <group> | ||||
|  |                         <field name="country_availability" widget="radio"/> | ||||
|  |                     </group> | ||||
|  |                     <group> | ||||
|  |                         <field name="country_selection_ids" | ||||
|  |                                invisible="country_availability != 'selected'"> | ||||
|  |                             <tree string="Selected Country" | ||||
|  |                                   editable="bottom"> | ||||
|  |                                 <field name="select_country_id" column_invisible="1"/> | ||||
|  |                                 <field name="country_id"/> | ||||
|  |                                 <field name="country_code"/> | ||||
|  |                             </tree> | ||||
|  |                         </field> | ||||
|  |                     </group> | ||||
|  |                 </page> | ||||
|  |             </xpath> | ||||
|  |         </field> | ||||
|  |     </record> | ||||
|  | </odoo> | ||||
| @ -0,0 +1,140 @@ | |||||
|  | <?xml version="1.0" encoding="utf-8"?> | ||||
|  | <odoo> | ||||
|  |     <!--Templates for Country Selection menu--> | ||||
|  |     <template id="country_selection" name="Header Country Selection"> | ||||
|  |         <t t-nocache="The Countries" | ||||
|  |            t-nocache-_icon="_icon" | ||||
|  |            t-nocache-_item_class="_item_class" | ||||
|  |            t-nocache-_link_class="_link_class" | ||||
|  |            t-nocache-_badge_class="_badge_class" | ||||
|  |            t-nocache-_icon_wrap_class="_icon_wrap_class" | ||||
|  |            t-nocache-_text_class="_text_class" | ||||
|  |            t-nocache-_text="_text"> | ||||
|  |             <t t-set="countries" | ||||
|  |                t-value="request.env['website'].browse(request.website.id).country_ids"/> | ||||
|  |             <t t-if="countries"> | ||||
|  |                 <t t-set="country" | ||||
|  |                    t-value="request.env['website'].browse(request.website.id).default_country_id"/> | ||||
|  |                 <li class="nav-item dropdown o_no_autohide_item js_countrymenu"> | ||||
|  |                     <a href="#" role="button" data-bs-toggle="dropdown" | ||||
|  |                        id="a_select" | ||||
|  |                        class="dropdown-toggle nav-link fw-bold"> | ||||
|  |                         <img id="img_code_vat" class="js_img_country_code" | ||||
|  |                              t-att-src="country.image_url" | ||||
|  |                              width="30" height="20"/> | ||||
|  |                     </a> | ||||
|  |                     <div id="country_selection_menu" role="menu" | ||||
|  |                          class="dropdown-menu"> | ||||
|  |                         <t t-foreach="countries" t-as="country"> | ||||
|  |                             <a href="#" class="dropdown-item js_countries" | ||||
|  |                                t-att-id="country.code" | ||||
|  |                                t-att-data-country_id="country.id" | ||||
|  |                                t-att-data-country_code="country.code" | ||||
|  |                                t-att-data-country_image_url="country.image_url"> | ||||
|  |                                 <img t-att-data-country-id="country.id" | ||||
|  |                                      t-att-src="country.image_url" | ||||
|  |                                      width="30" height="20"/> | ||||
|  |                                 <span t-esc="country.name"/> | ||||
|  |                             </a> | ||||
|  |                         </t> | ||||
|  |                     </div> | ||||
|  |                 </li> | ||||
|  |             </t> | ||||
|  |         </t> | ||||
|  |     </template> | ||||
|  |     <!--website_sale.template_header_default inherited template --> | ||||
|  |     <template id="template_header_default" | ||||
|  |               inherit_id="website_sale.template_header_default"> | ||||
|  |         <xpath expr="//t[@t-call='website_sale.header_cart_link']" | ||||
|  |                position="after"> | ||||
|  |             <t t-call="website_restrict_country.country_selection"> | ||||
|  |                 <t t-set="_icon" t-value="True"/> | ||||
|  |                 <t t-set="_link_class" | ||||
|  |                    t-value="'o_navlink_background btn position-relative rounded-circle p-1 text-center text-reset'"/> | ||||
|  |                 <t t-set="_badge_class" | ||||
|  |                    t-value="'position-absolute top-0 end-0 mt-n1 me-n1 rounded-pill'"/> | ||||
|  |             </t> | ||||
|  |         </xpath> | ||||
|  |     </template> | ||||
|  |     <!--website_sale.suggested_products_list inherited template --> | ||||
|  |     <template id="cart_summary_inherit_website_country_restriction" | ||||
|  |               inherit_id="website_sale.suggested_products_list"> | ||||
|  |         <xpath expr="//div[hasclass('o_cart_suggested_product_name')]" | ||||
|  |                position="inside"> | ||||
|  |             <t t-set="country_availability" | ||||
|  |                t-value="line.product_id.product_tmpl_id.country_availability"/> | ||||
|  |             <t t-set="product_select_country" | ||||
|  |                t-value="line.product_id.product_tmpl_id.country_selection_ids.mapped('country_id').ids"/> | ||||
|  |             <t t-set="current_select_country" | ||||
|  |                t-value="request.env['website'].get_current_website().default_country_id.id"/> | ||||
|  |             <t t-set="message_cart" | ||||
|  |                t-value="request.env['website'].get_current_website().cart_message"/> | ||||
|  |             <t t-if="current_select_country not in product_select_country and country_availability == 'selected'"> | ||||
|  |                 <div class="text-warning"> | ||||
|  |                     <t t-esc="message_cart"/> | ||||
|  |                 </div> | ||||
|  |             </t> | ||||
|  |         </xpath> | ||||
|  |     </template> | ||||
|  |     <!--website_sale.product_buy_now inherited template --> | ||||
|  |     <template id="buy_now_restriction" name="Buy Now Restriction" | ||||
|  |               inherit_id="website_sale.product_buy_now"> | ||||
|  |         <xpath expr="//a[contains(@t-attf-class, 'o_we_buy_now')]" | ||||
|  |                position="replace"> | ||||
|  |             <t t-set="current_select_country" | ||||
|  |                t-value="request.env['website'].get_current_website().default_country_id.id"/> | ||||
|  |             <t t-set="product_select_country" | ||||
|  |                t-value="product.country_selection_ids.mapped('country_id').ids"/> | ||||
|  |             <t t-if="current_select_country in product_select_country or not product_select_country"> | ||||
|  |                 <a role="button" | ||||
|  |                    t-attf-class="btn btn-outline-primary o_we_buy_now ms-1 #{'btn-lg' if ctaSizeBig else ''}" | ||||
|  |                    href="#"> | ||||
|  |                     <i class="fa fa-bolt me-2"/> | ||||
|  |                     <span style="font-weight:bold">BUY NOW</span> | ||||
|  |                 </a> | ||||
|  |             </t> | ||||
|  |         </xpath> | ||||
|  |     </template> | ||||
|  |     <!--     website_sale.cart_lines inherited template  --> | ||||
|  |     <template id="add_cart_message" | ||||
|  |               name="Add Cart Message" | ||||
|  |               inherit_id="website_sale.cart_lines"> | ||||
|  |         <xpath expr="//div[@id='cart_products']/div/t/div[hasclass('flex-grow-1')]/div" | ||||
|  |                position="after"> | ||||
|  |             <t t-set="country_availability" | ||||
|  |                t-value="line.product_id.product_tmpl_id.country_availability"/> | ||||
|  |             <t t-set="product_select_country" | ||||
|  |                t-value="line.product_id.product_tmpl_id.country_selection_ids.mapped('country_id').ids"/> | ||||
|  |             <t t-set="current_select_country" | ||||
|  |                t-value="request.env['website'].get_current_website().default_country_id.id"/> | ||||
|  |             <t t-set="message_cart" | ||||
|  |                t-value="request.env['website'].get_current_website().cart_message"/> | ||||
|  |             <t t-if="current_select_country not in product_select_country and country_availability == 'selected'"> | ||||
|  |                 <div class="text-warning"> | ||||
|  |                     <t t-esc="message_cart"/> | ||||
|  |                 </div> | ||||
|  |             </t> | ||||
|  |         </xpath> | ||||
|  |     </template> | ||||
|  |     <!--     website_sale.navigation_buttons inherited template  --> | ||||
|  |     <template id="proceed_to_checkout_country_restriction" | ||||
|  |               name="Proceed to Checkout Restriction" | ||||
|  |               inherit_id="website_sale.navigation_buttons"> | ||||
|  |         <xpath expr="//t/t[2]" position="replace"> | ||||
|  |             <t t-set="availability" | ||||
|  |                t-value="website_sale_order.website_order_line.mapped('product_id.product_tmpl_id.country_availability')"/> | ||||
|  |             <t t-set="product_select_country" | ||||
|  |                t-value="website_sale_order.website_order_line.product_id.product_tmpl_id.country_selection_ids.mapped('country_id').ids"/> | ||||
|  |             <t t-set="current_select_country" | ||||
|  |                t-value="request.env['website'].get_current_website().default_country_id.id"/> | ||||
|  |             <t t-if="all(country=='all' for country in availability) or current_select_country in product_select_country"> | ||||
|  |                 <a role="button" name="website_sale_main_button" | ||||
|  |                    t-attf-class="#{_cta_classes} btn btn-primary #{not website_sale_order._is_cart_ready() and 'disabled'} #{_form_send_navigation and 'order-lg-3 w-100 w-lg-auto ms-lg-auto' or 'w-100'}" | ||||
|  |                    t-att-href="step_specific_values['main_button_href']"> | ||||
|  |                     <t t-out="step_specific_values['main_button']"/> | ||||
|  |                     <i class="fa fa-angle-right ms-2 fw-light"/> | ||||
|  |                 </a> | ||||
|  |             </t> | ||||
|  |         </xpath> | ||||
|  |     </template> | ||||
|  | </odoo> | ||||
| @ -0,0 +1,38 @@ | |||||
|  | <?xml version="1.0" encoding="UTF-8"?> | ||||
|  | <odoo> | ||||
|  |     <!--website inherited views--> | ||||
|  |     <record id="view_website_form" model="ir.ui.view"> | ||||
|  |         <field name="name">website.view.form.inherit.website.restrict.country | ||||
|  |         </field> | ||||
|  |         <field name="model">website</field> | ||||
|  |         <field name="inherit_id" ref="website.view_website_form"/> | ||||
|  |         <field name="arch" type="xml"> | ||||
|  |             <xpath expr="//notebook" position="inside"> | ||||
|  |                 <page name="countries_selection" string="Countries"> | ||||
|  |                     <h5 class="text-muted">SELECT COUNTRIES | ||||
|  |                     </h5> | ||||
|  |                     <br/> | ||||
|  |                     <group> | ||||
|  |                         <group> | ||||
|  |                             <field name="country_ids" widget="many2many_tags" | ||||
|  |                                    options="{'no_create': True, 'no_open': True}"/> | ||||
|  |                         </group> | ||||
|  |                     </group> | ||||
|  |                     <group> | ||||
|  |                         <field name="default_country_id" | ||||
|  |                                domain="[('id','in', country_ids)]" | ||||
|  |                                required="country_ids == True"/> | ||||
|  |                     </group> | ||||
|  |                     <br/> | ||||
|  |                     <h5 class="text-muted">WHEN A PRODUCT IS NOT AVAILABLE IN A | ||||
|  |                         COUNTRY, MESSAGES ARE DISPLAYED | ||||
|  |                     </h5> | ||||
|  |                     <br/> | ||||
|  |                     <group> | ||||
|  |                         <field name="cart_message"/> | ||||
|  |                     </group> | ||||
|  |                 </page> | ||||
|  |             </xpath> | ||||
|  |         </field> | ||||
|  |     </record> | ||||
|  | </odoo> | ||||