| @ -0,0 +1,52 @@ | |||
| .. 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 | |||
| 
 | |||
| Product Image Suggestion | |||
| ======================== | |||
| 
 | |||
| This module shortlists you with the most relevant product images on Bing Images that you are precisely looking for. | |||
| 
 | |||
| Configuration | |||
| ============= | |||
| 
 | |||
| * Before going to install, make sure "PIL" and "python-resize-image" python packages are installed on your server | |||
| * Linux commands to install packages - ('pip install pillow', 'pip install python-resize-image') | |||
| * After installing the module, go to product form. Search product image from page "Image suggestion". | |||
| * Use image number limit for searching. | |||
| 
 | |||
| 
 | |||
| Features | |||
| ======== | |||
| 
 | |||
| * A seamless and accurate search of product images from Bing. | |||
| * Prioritizing the image suggestions via setting the desired search limit. | |||
| * Easy image editing; Can automatically resize the image to 1024x1204 px | |||
| 
 | |||
| 
 | |||
| License | |||
| ======= | |||
| GNU LESSER GENERAL PUBLIC LICENSE, Version 3 (AGPLv3) | |||
| (http://www.gnu.org/licenses/agpl.html) | |||
| 
 | |||
| Credits | |||
| ------- | |||
| Developer : (V17) Vishnu KP, Contact : odoo@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 https://www.cybrosys.com. | |||
| 
 | |||
| Further information | |||
| =================== | |||
| HTML Description: `<static/description/index.html>`__ | |||
| @ -0,0 +1,21 @@ | |||
| # -*- coding: utf-8 -*- | |||
| ############################################################################## | |||
| # | |||
| #    Cybrosys Technologies Pvt. Ltd. | |||
| #    Copyright (C) 2023-TODAY Cybrosys Technologies(<http://www.cybrosys.com>). | |||
| #    Author: Vishnu kp(<https://www.cybrosys.com>) | |||
| #    you can modify it under the terms of the GNU AFFERO GENERAL | |||
| #    PUBLIC LICENSE (AGPL v3), Version 3. | |||
| 
 | |||
| #    This program is distributed in the hope that it will be useful, | |||
| #    but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
| #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | |||
| #    GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. | |||
| # | |||
| #    You should have received a copy of the GNU AFFERO GENERAL PUBLIC | |||
| #    LICENSE (AGPL v3) along with this program. | |||
| #    If not, see <http://www.gnu.org/licenses/>. | |||
| # | |||
| ############################################################################## | |||
| from . import models | |||
| from . import wizard | |||
| @ -0,0 +1,43 @@ | |||
| # -*- coding: utf-8 -*- | |||
| ############################################################################## | |||
| # | |||
| #    Cybrosys Technologies Pvt. Ltd. | |||
| #    Copyright (C) 2023-TODAY Cybrosys Technologies(<http://www.cybrosys.com>). | |||
| #    Author: Vishnu kp(<https://www.cybrosys.com>) | |||
| #    you can modify it under the terms of the GNU AFFERO GENERAL | |||
| #    PUBLIC LICENSE (AGPL v3), Version 3. | |||
| 
 | |||
| #    This program is distributed in the hope that it will be useful, | |||
| #    but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
| #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | |||
| #    GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. | |||
| # | |||
| #    You should have received a copy of the GNU AFFERO GENERAL PUBLIC | |||
| #    LICENSE (AGPL v3) along with this program. | |||
| #    If not, see <http://www.gnu.org/licenses/>. | |||
| # | |||
| ############################################################################## | |||
| { | |||
|     'name': 'Product Image Suggestion', | |||
|     'version': '17.0.1.0.0', | |||
|     'category': 'Productivity', | |||
|     'summary': 'Suggest product images from google search', | |||
|     'description': "Product images can be searched from the product form using" | |||
|                    " bing image downloader and it can be set as the product " | |||
|                    "display image.", | |||
|     'author': 'Cybrosys Techno Solutions', | |||
|     'company': 'Cybrosys Techno Solutions', | |||
|     'maintainer': 'Cybrosys Techno Solutions', | |||
|     'website': 'https://www.cybrosys.com', | |||
|     'depends': ['base', 'product'], | |||
|     'data': [ | |||
|         'security/ir.model.access.csv', | |||
|         'views/product_template_views.xml', | |||
|     ], | |||
|     'images': ['static/description/banner.jpg'], | |||
|     'external_dependencies': {'python': ['Pillow', 'python-resize-image']}, | |||
|     'license': 'AGPL-3', | |||
|     'installable': True, | |||
|     'auto_install': False, | |||
|     'application': False, | |||
| } | |||
| @ -0,0 +1,6 @@ | |||
| ## Module <product_image_suggestion> | |||
| 
 | |||
| #### 20.12.2023 | |||
| #### Version 17.0.1.0.0 | |||
| #### ADD | |||
| - Initial commit for Product Image Suggestion | |||
| @ -0,0 +1,22 @@ | |||
| # -*- coding: utf-8 -*- | |||
| ############################################################################## | |||
| # | |||
| #    Cybrosys Technologies Pvt. Ltd. | |||
| #    Copyright (C) 2023-TODAY Cybrosys Technologies(<http://www.cybrosys.com>). | |||
| #    Author: Vishnu kp(<https://www.cybrosys.com>) | |||
| #    you can modify it under the terms of the GNU AFFERO GENERAL | |||
| #    PUBLIC LICENSE (AGPL v3), Version 3. | |||
| 
 | |||
| #    This program is distributed in the hope that it will be useful, | |||
| #    but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
| #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | |||
| #    GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. | |||
| # | |||
| #    You should have received a copy of the GNU AFFERO GENERAL PUBLIC | |||
| #    LICENSE (AGPL v3) along with this program. | |||
| #    If not, see <http://www.gnu.org/licenses/>. | |||
| # | |||
| ############################################################################## | |||
| from . import bing | |||
| from . import downloader | |||
| from . import product_template | |||
| @ -0,0 +1,122 @@ | |||
| # -*- coding: utf-8 -*- | |||
| ############################################################################## | |||
| # | |||
| #    Cybrosys Technologies Pvt. Ltd. | |||
| #    Copyright (C) 2023-TODAY Cybrosys Technologies(<http://www.cybrosys.com>). | |||
| #    Author: Vishnu kp(<https://www.cybrosys.com>) | |||
| #    you can modify it under the terms of the GNU AFFERO GENERAL | |||
| #    PUBLIC LICENSE (AGPL v3), Version 3. | |||
| 
 | |||
| #    This program is distributed in the hope that it will be useful, | |||
| #    but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
| #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | |||
| #    GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. | |||
| # | |||
| #    You should have received a copy of the GNU AFFERO GENERAL PUBLIC | |||
| #    LICENSE (AGPL v3) along with this program. | |||
| #    If not, see <http://www.gnu.org/licenses/>. | |||
| # | |||
| ############################################################################## | |||
| import imghdr | |||
| import posixpath | |||
| import re | |||
| import urllib.request | |||
| import urllib | |||
| 
 | |||
| 
 | |||
| class Bing: | |||
|     """Download images from bing""" | |||
|     def __init__(self, query, limit, output_dir, adult, timeout, filter='', | |||
|                  verbose=True): | |||
|         self.download_count = 0 | |||
|         self.query = query | |||
|         self.output_dir = output_dir | |||
|         self.adult = adult | |||
|         self.filter = filter | |||
|         self.verbose = verbose | |||
|         self.seen = set() | |||
|         assert isinstance(limit, int), "limit must be integer" | |||
|         self.limit = limit | |||
|         assert isinstance(timeout, int), "timeout must be integer" | |||
|         self.timeout = timeout | |||
| 
 | |||
|         self.page_counter = 0 | |||
|         self.headers = {'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) ' | |||
|                                       'AppleWebKit/537.11 (KHTML, like Gecko) ' | |||
|                                       'Chrome/23.0.1271.64 Safari/537.11', | |||
|                         'Accept': 'text/html,application/xhtml+xml,' | |||
|                                   'application/xml;q=0.9,*/*;q=0.8', | |||
|                         'Accept-Charset': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3', | |||
|                         'Accept-Encoding': 'none', | |||
|                         'Accept-Language': 'en-US,en;q=0.8', | |||
|                         'Connection': 'keep-alive'} | |||
| 
 | |||
|     def get_filter(self, shorthand): | |||
|         """Get the filter from bing""" | |||
|         if shorthand in ["line", "linedrawing"]: | |||
|             return "+filterui:photo-linedrawing" | |||
|         elif shorthand == "photo": | |||
|             return "+filterui:photo-photo" | |||
|         elif shorthand == "clipart": | |||
|             return "+filterui:photo-clipart" | |||
|         elif shorthand in ["gif", "animatedgif"]: | |||
|             return "+filterui:photo-animatedgif" | |||
|         elif shorthand == "transparent": | |||
|             return "+filterui:photo-transparent" | |||
|         else: | |||
|             return "" | |||
| 
 | |||
|     def save_image(self, link, file_path): | |||
|         """Save image to directory""" | |||
|         request = urllib.request.Request(link, None, self.headers) | |||
|         image = urllib.request.urlopen(request, timeout=self.timeout).read() | |||
|         if not imghdr.what(None, image): | |||
|             raise ValueError('Invalid image, not saving {}\n'.format(link)) | |||
|         with open(str(file_path), 'wb') as path_string: | |||
|             path_string.write(image) | |||
| 
 | |||
|     def download_image(self, link): | |||
|         """Download the images using the url obtained""" | |||
|         self.download_count += 1 | |||
|         # Get the image link | |||
|         try: | |||
|             path = urllib.parse.urlsplit(link).path | |||
|             filename = posixpath.basename(path).split('?')[0] | |||
|             file_type = filename.split(".")[-1] | |||
|             if file_type.lower() not in ["jpe", "jpeg", "jfif", "exif", "tiff", | |||
|                                          "gif", "bmp", "png", "webp", "jpg"]: | |||
|                 file_type = "jpg" | |||
| 
 | |||
|             self.save_image(link, self.output_dir.joinpath("Image_{}.{}".format( | |||
|                 str(self.download_count), file_type))) | |||
|             if self.verbose: | |||
|                 return link | |||
| 
 | |||
|         except Exception: | |||
|             self.download_count -= 1 | |||
|             self.seen.remove(link) | |||
| 
 | |||
|     def run(self): | |||
|         """run the download function""" | |||
|         while self.download_count < self.limit: | |||
|             request_url = 'https://www.bing.com/images/async?q=' \ | |||
|                           + urllib.parse.quote_plus(self.query) \ | |||
|                           + '&first=' + str(self.page_counter) + '&count=' \ | |||
|                           + str(self.limit) \ | |||
|                           + '&adlt=' + self.adult + '&qft=' + ( | |||
|                               '' if self.filter is None else self.get_filter( | |||
|                                   self.filter)) | |||
|             request = urllib.request.Request(request_url, None, | |||
|                                              headers=self.headers) | |||
|             response = urllib.request.urlopen(request) | |||
|             html = response.read().decode('utf8') | |||
|             if html == "": | |||
|                 break | |||
|             links = re.findall('murl":"(.*?)"', html) | |||
| 
 | |||
|             for link in links: | |||
|                 if self.download_count < self.limit and link not in self.seen: | |||
|                     self.seen.add(link) | |||
|                     self.download_image(link) | |||
|             self.page_counter += 1 | |||
|         return self.seen | |||
| @ -0,0 +1,47 @@ | |||
| # -*- coding: utf-8 -*- | |||
| ############################################################################## | |||
| # | |||
| #    Cybrosys Technologies Pvt. Ltd. | |||
| #    Copyright (C) 2023-TODAY Cybrosys Technologies(<http://www.cybrosys.com>). | |||
| #    Author: Vishnu kp(<https://www.cybrosys.com>) | |||
| #    you can modify it under the terms of the GNU AFFERO GENERAL | |||
| #    PUBLIC LICENSE (AGPL v3), Version 3. | |||
| 
 | |||
| #    This program is distributed in the hope that it will be useful, | |||
| #    but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
| #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | |||
| #    GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. | |||
| # | |||
| #    You should have received a copy of the GNU AFFERO GENERAL PUBLIC | |||
| #    LICENSE (AGPL v3) along with this program. | |||
| #    If not, see <http://www.gnu.org/licenses/>. | |||
| # | |||
| ############################################################################## | |||
| from pathlib import Path | |||
| import shutil | |||
| import sys | |||
| 
 | |||
| try: | |||
|     from bing import Bing | |||
| except ImportError: | |||
|     from .bing import Bing | |||
| 
 | |||
| 
 | |||
| def download(query, limit=100, output_dir='dataset', adult_filter_off=True, | |||
|              force_replace=False, timeout=60, filter="", verbose=True): | |||
|     """download the images within the limit provided""" | |||
|     if adult_filter_off: | |||
|         adult = 'off' | |||
|     else: | |||
|         adult = 'on' | |||
|     image_dir = Path(output_dir).joinpath(query).absolute() | |||
|     if force_replace: | |||
|         if Path.isdir(image_dir): | |||
|             shutil.rmtree(image_dir) | |||
|     try: | |||
|         if not Path.is_dir(image_dir): | |||
|             Path.mkdir(image_dir, parents=True) | |||
|     except Exception: | |||
|         sys.exit(1) | |||
|     bing = Bing(query, limit, image_dir, adult, timeout, filter, verbose) | |||
|     return bing.run() | |||
| @ -0,0 +1,117 @@ | |||
| # -*- coding: utf-8 -*- | |||
| ############################################################################## | |||
| # | |||
| #    Cybrosys Technologies Pvt. Ltd. | |||
| #    Copyright (C) 2023-TODAY Cybrosys Technologies(<http://www.cybrosys.com>). | |||
| #    Author: Vishnu kp(<https://www.cybrosys.com>) | |||
| #    you can modify it under the terms of the GNU AFFERO GENERAL | |||
| #    PUBLIC LICENSE (AGPL v3), Version 3. | |||
| # | |||
| #    This program is distributed in the hope that it will be useful, | |||
| #    but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
| #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | |||
| #    GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. | |||
| # | |||
| #    You should have received a copy of the GNU AFFERO GENERAL PUBLIC | |||
| #    LICENSE (AGPL v3) along with this program. | |||
| #    If not, see <http://www.gnu.org/licenses/>. | |||
| # | |||
| ############################################################################## | |||
| import base64 | |||
| from . import downloader | |||
| import logging | |||
| import os | |||
| from odoo.exceptions import UserError | |||
| from odoo import api, fields, models, _ | |||
| from PIL import Image | |||
| import requests | |||
| from resizeimage import resizeimage | |||
| import tempfile | |||
| 
 | |||
| _logger = logging.getLogger(__name__) | |||
| 
 | |||
| 
 | |||
| class ProductTemplate(models.Model): | |||
|     """ | |||
|     Check if the searched image limit is greater than 10 and a warning | |||
|     message will be raised. | |||
|     """ | |||
|     _inherit = 'product.template' | |||
| 
 | |||
|     search_image_ids = fields.One2many('product.image.suggestion', | |||
|                                        'product_tmpl_id', | |||
|                                        string='Images', | |||
|                                        readonly=True, | |||
|                                        help="To show the images downloaded.") | |||
|     search_field = fields.Char(string='Search Text', | |||
|                                help="Type the text to be searched.") | |||
|     image_limit = fields.Integer(string='Limit', | |||
|                                  default=5, | |||
|                                  help="Limit of images to display.") | |||
|     resize_image = fields.Boolean(string='Resize Image', | |||
|                                   default=True, | |||
|                                   help="Resize the image.") | |||
| 
 | |||
|     @api.onchange('image_limit') | |||
|     def _onchange_image_limit(self): | |||
|         """ | |||
|         Check if the searched image limit is greater than 10 and a warning | |||
|         message will be raised. | |||
|         """ | |||
|         if self.image_limit > 10: | |||
|             raise UserError('This may slow down image search..!!! Try to' | |||
|                             'reset the Limit') | |||
| 
 | |||
|     def action_search_image(self): | |||
|         """ | |||
|         Clear search images and add new search | |||
|         """ | |||
|         for rec in self: | |||
|             rec.search_image_ids = [[5, 0, 0]] | |||
|             if rec.image_limit > 10: | |||
|                 _logger.warning("High limit number slow down the image " | |||
|                                 "searches.") | |||
|             try: | |||
|                 query_string = rec.search_field.replace(" ", "_").replace(",", | |||
|                                                                           "_") | |||
|                 image_datas = downloader.download(query_string, | |||
|                                                   limit=rec.image_limit, | |||
|                                                   output_dir='dataset', | |||
|                                                   adult_filter_off=False, | |||
|                                                   timeout=60, verbose=True) | |||
|             except AttributeError: | |||
|                 raise UserError(_('No internet connection available or ' | |||
|                                   'Something wrong.!')) | |||
|             if image_datas: | |||
|                 for img in image_datas: | |||
|                     temp_name = '' | |||
|                     try: | |||
|                         img_request = requests.get(img.strip()).content | |||
|                         if self.resize_image: | |||
|                             temp_file, temp_name = tempfile.mkstemp(suffix= | |||
|                                                                     '.png') | |||
|                             file = open(temp_name, "wb") | |||
|                             file.write(img_request) | |||
|                             file.close() | |||
|                             img_data = Image.open(temp_name) | |||
|                             img_data = resizeimage.resize_contain(img_data, | |||
|                                                                   [1024, 1024]) | |||
|                             img_data.save(temp_name, img_data.format) | |||
|                             with open(temp_name, "rb") as image_file: | |||
|                                 binary_image = base64.b64encode( | |||
|                                     image_file.read()) | |||
|                         else: | |||
|                             byte_image = bytearray(img_request) | |||
|                             binary_image = base64.b64encode(byte_image) | |||
|                         vals = { | |||
|                             'image': binary_image, | |||
|                             'product_tmpl_id': rec.id | |||
|                         } | |||
|                         self.env['product.image.suggestion'].create(vals) | |||
|                         if self.resize_image: | |||
|                             os.remove(temp_name) | |||
|                     except: | |||
|                         _logger.exception(_("failed to display in page.")) | |||
|                         continue | |||
|             else: | |||
|                 raise UserError(_('No image suggestions for this image.')) | |||
| 
 | 
| 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: 1.5 KiB | 
| After Width: | Height: | Size: 1.1 KiB | 
| After Width: | Height: | Size: 1.9 KiB | 
| After Width: | Height: | Size: 1.1 KiB | 
| After Width: | Height: | Size: 2.1 KiB | 
| After Width: | Height: | Size: 4.4 KiB | 
| After Width: | Height: | Size: 3.2 KiB | 
| After Width: | Height: | Size: 589 B | 
| After Width: | Height: | Size: 3.4 KiB | 
| After Width: | Height: | Size: 565 B | 
| After Width: | Height: | Size: 1.7 KiB | 
| After Width: | Height: | Size: 2.3 KiB | 
| After Width: | Height: | Size: 967 B | 
| After Width: | Height: | Size: 26 KiB | 
| After Width: | Height: | Size: 1.6 KiB | 
| After Width: | Height: | Size: 43 KiB | 
| After Width: | Height: | Size: 1.4 KiB | 
| After Width: | Height: | Size: 3.8 KiB | 
| After Width: | Height: | Size: 4.0 KiB | 
| After Width: | Height: | Size: 38 KiB | 
| After Width: | Height: | Size: 5.0 KiB | 
| After Width: | Height: | Size: 4.3 KiB | 
| After Width: | Height: | Size: 81 KiB | 
| After Width: | Height: | Size: 83 KiB | 
| After Width: | Height: | Size: 82 KiB | 
| After Width: | Height: | Size: 82 KiB | 
| After Width: | Height: | Size: 81 KiB | 
| After Width: | Height: | Size: 80 KiB | 
| After Width: | Height: | Size: 114 KiB | 
| After Width: | Height: | Size: 94 KiB | 
| After Width: | Height: | Size: 118 KiB | 
| After Width: | Height: | Size: 118 KiB | 
| After Width: | Height: | Size: 87 KiB | 
| After Width: | Height: | Size: 50 KiB | 
| After Width: | Height: | Size: 8.2 KiB | 
| @ -0,0 +1,614 @@ | |||
| <!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;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;"> | |||
|                             Enterprise | |||
|                         </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;"> | |||
|                         Product Image Suggestion</h1> | |||
|                     <p class="my-3 mb-4" | |||
|                        style="max-width: 80%; font-weight: 400 !important; line-height: 32px; color: #718096;"> | |||
|                         An effective and user-friendly method of suggesting | |||
|                         product images via web downloads. | |||
|                     </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;"> | |||
|                                     Odoo 17 Community & Enterprise Edition | |||
|                                     Support.</p> | |||
|                                 <p class="m-0" style="color:#718096">Product | |||
|                                     Image Suggestion in Odoo 17 Community & | |||
|                                     Enterprise Edition. | |||
|                                 </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;"> | |||
|                                     Search Product Images From Bing</p> | |||
|                                 <p class="m-0" style="color:#718096">A Seamless | |||
|                                     and Accurate Search of Product Images from | |||
|                                     Bing | |||
|                                 </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;"> | |||
|                                     Search Limit Option</p> | |||
|                                 <p class="m-0" style="color:#718096"> | |||
|                                     Prioritizing the image suggestions via | |||
|                                     setting the desired search limit. | |||
|                                 </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;"> | |||
|                                     Easy Image Editing.</p> | |||
|                                 <p class="m-0" style="color:#718096">Easy image | |||
|                                     editing: Can automatically resize the image | |||
|                                     to 1024x1204 px. | |||
|                                 </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 | |||
|                                 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/sss1.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"> | |||
|                                         New Image Suggestion page</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/sss2.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"> | |||
|                                         Search Images</h4> | |||
|                                     <h6 class="mt-2" | |||
|                                         style=" font-weight:300 !important; color:#282F33 !important; font-size:0.7rem !important"> | |||
|                                         Easy way to Get the Images , Set Image Limit and Click on Set Image</h6> | |||
|                                 </div> | |||
|                             </div> | |||
|                         </div> | |||
|                         <div class="col-lg-12 py-2" style="padding: 1rem 4rem !important;"> | |||
|                             <div | |||
|                                 style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> | |||
|                                 <div class="row justify-content-center p-3 w-100 m-0"> | |||
|                                     <img src="assets/screenshots/sss3.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"> | |||
|                                         Apply Image On Product</h4> | |||
|                                     <h6 class="mt-2" | |||
|                                         style=" font-weight:300 !important; color:#282F33 !important; font-size:0.7rem !important"> | |||
|                                         Can Set up the Image On Product Very Easily</h6> | |||
|                                 </div> | |||
|                             </div> | |||
|                         </div> | |||
|                     </div> | |||
| 
 | |||
|                     <div id="tab2" class="tab-pane fade"> | |||
|                         <div class="col-mg-12" style="padding: 1rem 4rem;"> | |||
|                             <ul style="list-style: none; padding: 1rem 0;font-weight: 500;"> | |||
|                                 <li class="py-3" | |||
|                                     style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> | |||
|                                     <span style="margin-right: 12px;"><img src="assets/misc/star (1) 2.svg" alt="" | |||
|                                             width="16px"></span>A Seamless and Accurate Search of Product Images from Bing. | |||
|                                 </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>Prioritizing the image suggestions via setting the desired search limit. | |||
|                                 </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>Easy image editing: Can automatically resize the image to 1024x1204 px. | |||
|                                 </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:29th Dec 2023</span> | |||
|                                 </div> | |||
|                                 <p class="m-0" | |||
|                                     style=" color:#718096!important; font-size:1rem !important;line-height: 28px;"> | |||
|                                     Odoo 17 Product Image Suggestion.</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/16.0/manufacturing_reports/" 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">Manufacturing Reports</p> | |||
|                                         </div> | |||
|                                     </a> | |||
|                                 </div> | |||
|                             </div> | |||
|                             <div class="col"> | |||
|                                 <div class="p-3"> | |||
|                                     <a href="https://apps.odoo.com/apps/modules/16.0/mrp_work_order_print/" 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">Print Work Order Details</p> | |||
|                                         </div> | |||
|                                     </a> | |||
|                                 </div> | |||
|                             </div> | |||
|                             <div class="col"> | |||
|                                 <div class="p-3"> | |||
|                                     <a href="https://apps.odoo.com/apps/modules/16.0/bom_total_cost/" 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">Show Total Cost On BOM</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/16.0/simple_mrp_order/" 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.png" alt="" width="100%" height="auto"> | |||
| 
 | |||
|                                             </div> | |||
|                                             <p class="text-center pt-2 text-black font-weight-bold">Simple Manufacturing Orders</p> | |||
|                                         </div> | |||
|                                     </a> | |||
|                                 </div> | |||
|                             </div> | |||
|                             <div class="col"> | |||
|                                 <div class="p-3"> | |||
|                                     <a href="https://apps.odoo.com/apps/modules/16.0/bom_multiple_product/" 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">BOM Multiple Product Selection</p> | |||
|                                         </div> | |||
|                                     </a> | |||
|                                 </div> | |||
|                             </div> | |||
|                             <div class="col"> | |||
|                                 <div class="p-3"> | |||
|                                     <a href="https://apps.odoo.com/apps/modules/16.0/cw_mrp/" style="color: #000; text-decoration: none;"> | |||
|                                         <div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> | |||
|                                             <div style="width: 300px;"> | |||
|                                                 <img src="assets/modules/l6.png" alt="" width="100%" height="auto"> | |||
|                                             </div> | |||
|                                             <p class="text-center pt-2 text-black font-weight-bold"> Catch Weight Management: Manufacturing</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,66 @@ | |||
| <?xml version="1.0" encoding="utf-8"?> | |||
| <odoo> | |||
|     <!--    New page added in product template form view to search image and download it--> | |||
|     <record id="product_template_only_form_view" | |||
|             model="ir.ui.view"> | |||
|         <field name="name"> | |||
|             product.template.inherit.view.form.product.image.suggestion | |||
|         </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[last()]" position="inside"> | |||
|                 <page string="Image Suggestion"> | |||
|                     <group> | |||
|                         <group> | |||
|                             <group> | |||
|                                 <field name="image_limit"/> | |||
|                                 <field name="resize_image"/> | |||
|                             </group> | |||
|                         </group> | |||
|                         <group> | |||
|                             <field name="search_field" | |||
|                                    placeholder="Search Here.." nolabel="1" | |||
|                                    style="width:150px"/> | |||
|                             <button class="oe_stat_button" | |||
|                                     name="action_search_image" | |||
|                                     type="object" icon="fa-search"> | |||
|                             </button> | |||
|                         </group> | |||
|                     </group> | |||
|                     <!--                    kanban view to show the images downloaded--> | |||
|                     <field name="search_image_ids" mode="kanban" | |||
|                            context="{'default_name': name, 'default_product_tmpl_id': active_id}"> | |||
|                         <kanban string="Suggested Images"> | |||
|                             <field name="image"/> | |||
|                             <templates> | |||
|                                 <t t-name="kanban-box"> | |||
|                                     <div class="oe_kanban_global_click"> | |||
|                                         <a t-if="!read_only_mode" | |||
|                                            type="delete" | |||
|                                            class="fa fa-times pull-right"/> | |||
|                                         <div class="o_kanban_image"> | |||
|                                             <img t-if="record.image.raw_value" | |||
|                                                  t-att-src="kanban_image('product.image.suggestion', 'image', record.id.raw_value)" | |||
|                                                  alt="Product" | |||
|                                                  class="o_image_64_contain"/> | |||
|                                         </div> | |||
|                                         <div style="margin-left:160px;"> | |||
|                                             <button name="action_set_image" | |||
|                                                     string="Set_Image" | |||
|                                                     class="btn btn-primary oe_stat_button pull-right" | |||
|                                                     style="height:30px;width:80px" | |||
|                                                     type="object">Set Image | |||
|                                             </button> | |||
|                                         </div> | |||
|                                     </div> | |||
|                                 </t> | |||
|                             </templates> | |||
|                         </kanban> | |||
|                     </field> | |||
|                 </page> | |||
|             </xpath> | |||
|         </field> | |||
|     </record> | |||
| </odoo> | |||
| @ -0,0 +1,20 @@ | |||
| # -*- coding: utf-8 -*- | |||
| ############################################################################## | |||
| # | |||
| #    Cybrosys Technologies Pvt. Ltd. | |||
| #    Copyright (C) 2023-TODAY Cybrosys Technologies(<http://www.cybrosys.com>). | |||
| #    Author: Vishnu kp(<https://www.cybrosys.com>) | |||
| #    you can modify it under the terms of the GNU AFFERO GENERAL | |||
| #    PUBLIC LICENSE (AGPL v3), Version 3. | |||
| 
 | |||
| #    This program is distributed in the hope that it will be useful, | |||
| #    but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
| #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | |||
| #    GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. | |||
| # | |||
| #    You should have received a copy of the GNU AFFERO GENERAL PUBLIC | |||
| #    LICENSE (AGPL v3) along with this program. | |||
| #    If not, see <http://www.gnu.org/licenses/>. | |||
| # | |||
| ############################################################################## | |||
| from . import product_image_suggestion | |||
| @ -0,0 +1,45 @@ | |||
| # -*- coding: utf-8 -*- | |||
| ############################################################################## | |||
| # | |||
| #    Cybrosys Technologies Pvt. Ltd. | |||
| #    Copyright (C) 2023-TODAY Cybrosys Technologies(<http://www.cybrosys.com>). | |||
| #    Author: Vishnu kp(<https://www.cybrosys.com>) | |||
| #    you can modify it under the terms of the GNU AFFERO GENERAL | |||
| #    PUBLIC LICENSE (AGPL v3), Version 3. | |||
| 
 | |||
| #    This program is distributed in the hope that it will be useful, | |||
| #    but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
| #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | |||
| #    GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. | |||
| # | |||
| #    You should have received a copy of the GNU AFFERO GENERAL PUBLIC | |||
| #    LICENSE (AGPL v3) along with this program. | |||
| #    If not, see <http://www.gnu.org/licenses/>. | |||
| # | |||
| ############################################################################## | |||
| from odoo import fields, models | |||
| 
 | |||
| 
 | |||
| class ProductImageSuggestion(models.TransientModel): | |||
|     """Creates new model to store the searched image""" | |||
|     _name = "product.image.suggestion" | |||
|     _description = "Attach images and set image as the display image of " \ | |||
|                    "product" | |||
| 
 | |||
|     image = fields.Binary(string='Image', attachment=True, | |||
|                           help="image field to store the image") | |||
|     product_tmpl_id = fields.Many2one('product.template', | |||
|                                       string='Related Product', | |||
|                                       help="product field to store the id of " | |||
|                                            "product from which the image " | |||
|                                            "is searched") | |||
| 
 | |||
|     def action_set_image(self): | |||
|         """Set product images from suggested images""" | |||
|         for rec in self: | |||
|             self_image = rec.image | |||
|             if self_image: | |||
|                 rec.product_tmpl_id.image_1920 = self_image | |||
|         return { | |||
|             'type': 'ir.actions.client', | |||
|             'tag': 'reload', } | |||