| @ -0,0 +1,49 @@ | |||||
|  | .. image:: https://img.shields.io/badge/license-LGPL--3-blue.svg | ||||
|  |     :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html | ||||
|  |     :alt: License: LGPL-3 | ||||
|  | 
 | ||||
|  | Product Management | ||||
|  | ================== | ||||
|  | * Product Management module for Odoo 17. | ||||
|  | 
 | ||||
|  | Configuration | ||||
|  | ============= | ||||
|  | * No Additional configuration is needed. | ||||
|  | 
 | ||||
|  | Company | ||||
|  | ------- | ||||
|  | * `Cybrosys Techno Solutions <https://cybrosys.com/>`__ | ||||
|  | 
 | ||||
|  | License | ||||
|  | ------- | ||||
|  | General Public License, Version 3 (LGPL v3). | ||||
|  | (https://www.odoo.com/documentation/17.0/legal/licenses.html) | ||||
|  | 
 | ||||
|  | 
 | ||||
|  | Credits | ||||
|  | ------- | ||||
|  | * Developer : (V16) Neethu UM, | ||||
|  |               (V17) Kailas Krishna | ||||
|  |   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,22 @@ | |||||
|  | # -*- coding: utf-8 -*- | ||||
|  | ############################################################################# | ||||
|  | # | ||||
|  | #    Cybrosys Technologies Pvt. Ltd. | ||||
|  | # | ||||
|  | #    Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) | ||||
|  | #    Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>) | ||||
|  | # | ||||
|  | #    You can modify it under the terms of the GNU LESSER | ||||
|  | #    GENERAL PUBLIC LICENSE (LGPL v3), Version 3. | ||||
|  | # | ||||
|  | #    This program is distributed in the hope that it will be useful, | ||||
|  | #    but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
|  | #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | ||||
|  | #    GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. | ||||
|  | # | ||||
|  | #    You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE | ||||
|  | #    (LGPL v3) along with this program. | ||||
|  | #    If not, see <http://www.gnu.org/licenses/>. | ||||
|  | # | ||||
|  | ############################################################################# | ||||
|  | from . import models | ||||
| @ -0,0 +1,57 @@ | |||||
|  | # -*- coding: utf-8 -*- | ||||
|  | ############################################################################# | ||||
|  | # | ||||
|  | #    Cybrosys Technologies Pvt. Ltd. | ||||
|  | # | ||||
|  | #    Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) | ||||
|  | #    Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>) | ||||
|  | # | ||||
|  | #    You can modify it under the terms of the GNU LESSER | ||||
|  | #    GENERAL PUBLIC LICENSE (LGPL v3), Version 3. | ||||
|  | # | ||||
|  | #    This program is distributed in the hope that it will be useful, | ||||
|  | #    but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
|  | #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | ||||
|  | #    GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. | ||||
|  | # | ||||
|  | #    You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE | ||||
|  | #    (LGPL v3) along with this program. | ||||
|  | #    If not, see <http://www.gnu.org/licenses/>. | ||||
|  | # | ||||
|  | ############################################################################# | ||||
|  | { | ||||
|  |     'name': 'Product Management', | ||||
|  |     'version': '17.0.1.0.0', | ||||
|  |     'summary': "Build product modules with dashboards for top sales, purchases," | ||||
|  |                "monthly movements, and location categorization.", | ||||
|  |     'description': """Create a separate module for each product, accompanied by | ||||
|  |     its dedicated dashboard. This dashboard should feature charts highlighting  | ||||
|  |     the top-selling products, top-purchased products, and monthly product  | ||||
|  |     movements. Additionally, include a section displaying products categorized  | ||||
|  |     by location.""", | ||||
|  |     'category': 'Extra Tools', | ||||
|  |     'author': 'Cybrosys Techno Solutions', | ||||
|  |     'company': 'Cybrosys Techno Solutions', | ||||
|  |     'maintainer': 'Cybrosys Techno Solutions', | ||||
|  |     'website': "https://www.cybrosys.com", | ||||
|  |     'license': 'LGPL-3', | ||||
|  |     'depends': ['product', 'sale', 'purchase', 'stock'], | ||||
|  |     'data': [ | ||||
|  |         'views/product_views.xml', | ||||
|  |         'views/product_dashboard.xml', | ||||
|  |     ], | ||||
|  |     'assets': { | ||||
|  |         'web.assets_backend': [ | ||||
|  |             'https://cdnjs.cloudflare.com/ajax/libs/Chart.js/4.4.0/chart.umd.min.js', | ||||
|  |             'product_management_app/static/src/css/dashboard_views.css', | ||||
|  |             'product_management_app/static/src/js/product_dashboard.js', | ||||
|  |             'product_management_app/static/src/xml/dashboard.xml', | ||||
|  |         ], | ||||
|  |     }, | ||||
|  |     'images': [ | ||||
|  |         'static/description/banner.jpg', | ||||
|  |     ], | ||||
|  |     'installable': True, | ||||
|  |     'auto_install': False, | ||||
|  |     'application': True | ||||
|  | } | ||||
| @ -0,0 +1,6 @@ | |||||
|  | ## Module <product_management_app> | ||||
|  | 
 | ||||
|  | #### 24.01.2024 | ||||
|  | #### Version 17.0.1.0.0 | ||||
|  | #### ADD | ||||
|  | - Initial commit for Product Management  | ||||
| @ -0,0 +1,22 @@ | |||||
|  | # -*- coding: utf-8 -*- | ||||
|  | ############################################################################# | ||||
|  | # | ||||
|  | #    Cybrosys Technologies Pvt. Ltd. | ||||
|  | # | ||||
|  | #    Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) | ||||
|  | #    Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>) | ||||
|  | # | ||||
|  | #    You can modify it under the terms of the GNU LESSER | ||||
|  | #    GENERAL PUBLIC LICENSE (LGPL v3), Version 3. | ||||
|  | # | ||||
|  | #    This program is distributed in the hope that it will be useful, | ||||
|  | #    but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
|  | #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | ||||
|  | #    GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. | ||||
|  | # | ||||
|  | #    You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE | ||||
|  | #    (LGPL v3) along with this program. | ||||
|  | #    If not, see <http://www.gnu.org/licenses/>. | ||||
|  | # | ||||
|  | ############################################################################# | ||||
|  | from . import product | ||||
| @ -0,0 +1,218 @@ | |||||
|  | # -*- coding: utf-8 -*- | ||||
|  | ############################################################################# | ||||
|  | # | ||||
|  | #    Cybrosys Technologies Pvt. Ltd. | ||||
|  | # | ||||
|  | #    Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) | ||||
|  | #    Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>) | ||||
|  | # | ||||
|  | #    You can modify it under the terms of the GNU LESSER | ||||
|  | #    GENERAL PUBLIC LICENSE (LGPL v3), Version 3. | ||||
|  | # | ||||
|  | #    This program is distributed in the hope that it will be useful, | ||||
|  | #    but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
|  | #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | ||||
|  | #    GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. | ||||
|  | # | ||||
|  | #    You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE | ||||
|  | #    (LGPL v3) along with this program. | ||||
|  | #    If not, see <http://www.gnu.org/licenses/>. | ||||
|  | # | ||||
|  | ############################################################################# | ||||
|  | import calendar | ||||
|  | from datetime import datetime | ||||
|  | from collections import OrderedDict | ||||
|  | from odoo import api, models | ||||
|  | 
 | ||||
|  | 
 | ||||
|  | class ProductTemplate(models.Model): | ||||
|  |     """The ProductTemplate model inherited to function for creating the | ||||
|  |     Template Dashboard values""" | ||||
|  |     _inherit = 'product.template' | ||||
|  | 
 | ||||
|  |     @api.model | ||||
|  |     def get_data(self): | ||||
|  |         """Returns data to the tiles of dashboard""" | ||||
|  |         return { | ||||
|  |             'product_templates': self.search_count([]), | ||||
|  |             'product_variants': self.env['product.product'].search_count([]), | ||||
|  |             'storable': self.search_count([('detailed_type', '=', 'product')]), | ||||
|  |             'consumable': self.search_count([('detailed_type', '=', 'consu')]), | ||||
|  |             'service': self.search_count([('detailed_type', '=', 'service')]), | ||||
|  |             'category': self.env['product.category'].search_count([]), | ||||
|  |             'price_list': self.env['product.pricelist'].search_count([]), | ||||
|  |             'product_attribute': self.env['product.attribute'].search_count([]), | ||||
|  |         } | ||||
|  | 
 | ||||
|  |     @api.model | ||||
|  |     def get_top_sale_data(self): | ||||
|  |         """return the top sale""" | ||||
|  |         query = '''select DISTINCT(product_template.name ->> 'en_US') as product_name,sum(product_uom_qty) as total_quantity from  | ||||
|  |                        sale_order_line inner join product_product on product_product.id=sale_order_line.product_id inner join  | ||||
|  |                        product_template on product_product.product_tmpl_id = product_template.id where sale_order_line.company_id = ''' + str( | ||||
|  |             self.env.company.id) + ''' group by product_template.id ORDER  | ||||
|  |                        BY total_quantity DESC Limit 10 ''' | ||||
|  |         self._cr.execute(query) | ||||
|  |         top_product = self._cr.dictfetchall() | ||||
|  |         total_quantity = [record.get('total_quantity') for record in top_product] | ||||
|  |         product_name = [record.get('product_name') for record in top_product] | ||||
|  |         final = [total_quantity, product_name] | ||||
|  |         return final | ||||
|  | 
 | ||||
|  |     @api.model | ||||
|  |     def get_top_purchase_data(self): | ||||
|  |         """Returns top purchase data""" | ||||
|  |         query = ('''select DISTINCT(product_template.name ->> 'en_US') as product_name,sum(product_qty) as total_quantity from  | ||||
|  |                                purchase_order_line inner join product_product on product_product.id=purchase_order_line.product_id inner join  | ||||
|  |                                product_template on product_product.product_tmpl_id = product_template.id where purchase_order_line.company_id = ''' | ||||
|  |                  + str(self.env.company.id) + ''' group by product_template.id  | ||||
|  |                                ORDER BY total_quantity DESC Limit 10 ''') | ||||
|  |         self._cr.execute(query) | ||||
|  |         top_product = self._cr.dictfetchall() | ||||
|  |         final = [ | ||||
|  |             [record.get('total_quantity') for record in top_product], | ||||
|  |             [record.get('product_name') for record in top_product] | ||||
|  |         ] | ||||
|  |         return final | ||||
|  | 
 | ||||
|  |     @api.model | ||||
|  |     def get_product_location_analysis(self): | ||||
|  |         """Returns the location, location id to the selection""" | ||||
|  |         categ_qry = """select id, complete_name from stock_location""" | ||||
|  |         self._cr.execute(categ_qry) | ||||
|  |         location = self._cr.dictfetchall() | ||||
|  |         location_id = [] | ||||
|  |         location_name = [] | ||||
|  |         for record in location: | ||||
|  |             location_id.append(record.get('id')) | ||||
|  |             location_name.append(record.get('complete_name')) | ||||
|  |         value1 = {'location_id': location_id, 'location_name': location_name} | ||||
|  |         return value1 | ||||
|  | 
 | ||||
|  |     @api.model | ||||
|  |     def get_products(self): | ||||
|  |         """Returns the product, product name to the selection""" | ||||
|  |         data = self.env['product.template'].search([]) | ||||
|  |         product_id = [] | ||||
|  |         product_name = [] | ||||
|  |         for record in data: | ||||
|  |             product_id.append(record.id) | ||||
|  |             product_name.append(self.env['product.template'].search([('id', '=', record.id)]).name) | ||||
|  |         value1 = {'product_id': product_id, 'product_name': product_name} | ||||
|  |         return value1 | ||||
|  | 
 | ||||
|  |     @api.model | ||||
|  |     def get_years(self): | ||||
|  |         """To get last 5 years from the current year""" | ||||
|  |         current_year = datetime.now().year | ||||
|  |         last_five_years = [current_year - year for year in range(5)] | ||||
|  |         return last_five_years | ||||
|  | 
 | ||||
|  |     @api.model | ||||
|  |     def get_prod_details(self, data, year): | ||||
|  |         """Returns the monthly analysis of product movement""" | ||||
|  |         query = """select product_template.name as name,sum(stock_move_line.quantity), stock_move_line.date as date_part from stock_move_line | ||||
|  |                                 inner join product_product on product_product.id = stock_move_line.product_id | ||||
|  |                                 inner join product_template on product_product.product_tmpl_id = product_template.id | ||||
|  |                                 where stock_move_line.company_id = %s and product_template.id = %s group by product_template.name, | ||||
|  |                                 stock_move_line.date""" % (self.env.company.id, data) | ||||
|  |         self._cr.execute(query) | ||||
|  |         product_moves = self._cr.dictfetchall() | ||||
|  |         product_move = [] | ||||
|  |         for move in product_moves: | ||||
|  |             if str(move['date_part'].year) == year: | ||||
|  |                 product_move.append(move) | ||||
|  |         month = [] | ||||
|  |         for rec in product_move: | ||||
|  |             date_part = rec.get('date_part') | ||||
|  |             month.append(int(date_part.month)) | ||||
|  |             rec.update({ | ||||
|  |                 'count': rec['sum'], | ||||
|  |                 'dates': calendar.month_name[int(date_part.month)], | ||||
|  |                 'month': int(date_part.month) | ||||
|  |             }) | ||||
|  |         for rec in range(1, 13): | ||||
|  |             if rec not in month: | ||||
|  |                 product_move.append({ | ||||
|  |                     'count': 0, | ||||
|  |                     'dates': calendar.month_name[rec], | ||||
|  |                     'month': rec | ||||
|  |                 }) | ||||
|  |         count = [] | ||||
|  |         months = [] | ||||
|  |         cr = sorted(product_move, key=lambda i: i['month']) | ||||
|  |         month_of_num = 0 | ||||
|  |         total_count = 0 | ||||
|  |         for rec in cr: | ||||
|  |             if month_of_num == rec['month']: | ||||
|  |                 total_count += rec['count'] | ||||
|  |                 if rec['count'] > 0: | ||||
|  |                     rec.update({'count': total_count}) | ||||
|  |             else: | ||||
|  |                 month_of_num = rec['month'] | ||||
|  |                 total_count = rec['count'] | ||||
|  |         # OrderedDict to maintain insertion order | ||||
|  |         result = OrderedDict() | ||||
|  |         for item in cr: | ||||
|  |             # Check if month already exists | ||||
|  |             if item['month'] not in result: | ||||
|  |                 result[item['month']] = item | ||||
|  |             else: | ||||
|  |                 # Update if count is higher | ||||
|  |                 if item['count'] > result[item['month']]['count']: | ||||
|  |                     result[item['month']] = item | ||||
|  |         # Convert back to list | ||||
|  |         result = list(result.values()) | ||||
|  |         for rec in result: | ||||
|  |             count.append(rec['count']) | ||||
|  |             months.append(rec['dates']) | ||||
|  |         return { | ||||
|  |             'count': count, | ||||
|  |             'dates': months | ||||
|  |         } | ||||
|  | 
 | ||||
|  |     @api.model | ||||
|  |     def product_move_by_category(self, args): | ||||
|  |         """rpc method of product moves by category | ||||
|  |             Returns category name and quantity_done""" | ||||
|  |         category_id = int(args) | ||||
|  |         company_id = self.env.company.id | ||||
|  |         query = ('''select product_template.name,sum(stock_move_line.qty_done) from stock_move_line | ||||
|  |             inner join product_product on stock_move_line.product_id = product_product.id | ||||
|  |             inner join product_template on product_product.product_tmpl_id = product_template.id | ||||
|  |             inner join product_category on product_template.categ_id = product_category.id | ||||
|  |             where stock_move_line.company_id = %s and product_category.id = %s group by product_template.name''' % | ||||
|  |                  (company_id, category_id)) | ||||
|  |         self._cr.execute(query) | ||||
|  |         product_move = self._cr.dictfetchall() | ||||
|  |         quantity_done = [] | ||||
|  |         name = [] | ||||
|  |         for record in product_move: | ||||
|  |             quantity_done.append(record.get('sum')) | ||||
|  |             name.append(record.get('name')) | ||||
|  |         value = { | ||||
|  |             'name': name, | ||||
|  |             'count': quantity_done, | ||||
|  |         } | ||||
|  |         return value | ||||
|  | 
 | ||||
|  |     @api.model | ||||
|  |     def get_product_qty_by_loc(self, args): | ||||
|  |         """Returns product qty based on the location selected""" | ||||
|  |         query = (''' | ||||
|  |                     select sl.complete_name, pt.name as name, sq.quantity | ||||
|  |                     from stock_quant sq | ||||
|  |                     inner join stock_location sl on sq.location_id = sl.id | ||||
|  |                     inner join product_product pp on sq.product_id = pp.id | ||||
|  |                     inner join product_template pt on pp.product_tmpl_id = pt.id | ||||
|  |                     where sq.company_id = '%s' and sl.id = '%s' | ||||
|  |                     group by sl.complete_name,pt.name, sq.quantity | ||||
|  |                 ''' % (self.env.company.id, int(args))) | ||||
|  |         self._cr.execute(query) | ||||
|  |         product_qty = self._cr.dictfetchall() | ||||
|  |         product = [rec['name'] for rec in product_qty] | ||||
|  |         quantity = [rec['quantity'] for rec in product_qty] | ||||
|  |         return { | ||||
|  |             'products': product, | ||||
|  |             'quantity': quantity, | ||||
|  |         } | ||||
| After Width: | Height: | Size: 3.6 KiB | 
| After Width: | Height: | Size: 310 B | 
| After Width: | Height: | Size: 1.3 KiB | 
| After Width: | Height: | Size: 1.4 KiB | 
| After Width: | Height: | Size: 576 B | 
| After Width: | Height: | Size: 733 B | 
| After Width: | Height: | Size: 911 B | 
| After Width: | Height: | Size: 1.1 KiB | 
| After Width: | Height: | Size: 1.2 KiB | 
| After Width: | Height: | Size: 673 B | 
| After Width: | Height: | Size: 878 B | 
| After Width: | Height: | Size: 653 B | 
| After Width: | Height: | Size: 905 B | 
| After Width: | Height: | Size: 839 B | 
| After Width: | Height: | Size: 427 B | 
| After Width: | Height: | Size: 627 B | 
| After Width: | Height: | Size: 1.2 KiB | 
| After Width: | Height: | Size: 988 B | 
| After Width: | Height: | Size: 1.2 KiB | 
| After Width: | Height: | Size: 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: 85 KiB | 
| After Width: | Height: | Size: 71 KiB | 
| After Width: | Height: | Size: 76 KiB | 
| After Width: | Height: | Size: 44 KiB | 
| After Width: | Height: | Size: 82 KiB | 
| After Width: | Height: | Size: 49 KiB | 
| After Width: | Height: | Size: 633 KiB | 
| After Width: | Height: | Size: 115 KiB | 
| After Width: | Height: | Size: 120 KiB | 
| After Width: | Height: | Size: 25 KiB | 
| After Width: | Height: | Size: 65 KiB | 
| After Width: | Height: | Size: 223 KiB | 
| After Width: | Height: | Size: 83 KiB | 
| After Width: | Height: | Size: 16 KiB | 
| @ -0,0 +1,771 @@ | |||||
|  | <!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;"> | ||||
|  |                     Product Management</h1> | ||||
|  |                 <p class="my-3 mb-4" | ||||
|  |                    style="max-width: 80%; font-weight: 400 !important; line-height: 32px; color: #718096;"> | ||||
|  |                     Manage The Products Independently | ||||
|  |                 </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;"> | ||||
|  |                                 Product Dashboard</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;"> | ||||
|  |                                 Product Seperate Module</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;"> | ||||
|  |                                 Product By Location</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;"> | ||||
|  |                                  Product Movements In Month</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/1.png" | ||||
|  |                                      class="img-responsive" width="100%" | ||||
|  |                                      height="auto"> | ||||
|  |                             </div> | ||||
|  |                             <div class="px-3"> | ||||
|  |                                 <h5 class="mt-2" | ||||
|  |                                     style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> | ||||
|  |                                     New App Product Managment</h5> | ||||
|  |                             </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"> | ||||
|  |                                 <h5 class="mt-2" | ||||
|  |                                     style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> | ||||
|  |                                     Product Module over view</h5> | ||||
|  |                             </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"> | ||||
|  |                                 <h5 class="mt-2" | ||||
|  |                                     style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> | ||||
|  |                                     Product's Dashboard</h5> | ||||
|  |                                 <p class="m-0" style="color:#718096"> | ||||
|  |                                     Dashboard for quick overview of the products. | ||||
|  |                                 </p> | ||||
|  |                             </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"> | ||||
|  |                                 <h5 class="mt-2" | ||||
|  |                                     style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> | ||||
|  |                                    Products' monthly analysis</h5> | ||||
|  |                                 <p class="m-0" style="color:#718096"> | ||||
|  |                                     Product moved are plot against each month. | ||||
|  |                                 </p> | ||||
|  |                             </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"> | ||||
|  |                                 <h5 class="mt-2" | ||||
|  |                                     style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> | ||||
|  |                                     Products by location | ||||
|  |                                 </h5> | ||||
|  |                                 <p class="m-0" style="color:#718096"> | ||||
|  |                                     Based on the selected location the product, | ||||
|  |                                     it's quantity can be view in the bar graph. | ||||
|  |                                 </p> | ||||
|  |                             </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">Product as seperate Module.</span> | ||||
|  |                             </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"> | ||||
|  |                                     Manage product, product variants, price list, product stock, its movements. | ||||
|  |                                     </span> | ||||
|  |                             </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">Dashboard to show the product's contents in general</span> | ||||
|  |                             </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">Graphs to show product movements in each month.</span> | ||||
|  |                             </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"> | ||||
|  |                                         Graphs to show tops sold/purchased products. | ||||
|  |                                     </span> | ||||
|  |                             </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">Graphs to show product based on the location.</span> | ||||
|  |                             </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:24th January 2024</span> | ||||
|  |                             </div> | ||||
|  |                             <p class="m-0" | ||||
|  |                                style=" color:#718096!important; font-size:1rem !important;line-height: 28px;"> | ||||
|  |                                 Initial Commit for Product Managment.</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/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/1.jpg" | ||||
|  |                                                  alt="" width="100%" | ||||
|  |                                                  height="auto"> | ||||
|  |                                         </div> | ||||
|  |                                         <p class="text-center pt-2 text-black font-weight-bold"> | ||||
|  |                                             Send Whatsapp Message | ||||
|  |                                         </p> | ||||
|  |                                     </div> | ||||
|  |                                 </a> | ||||
|  |                             </div> | ||||
|  |                         </div> | ||||
|  |                         <div class="col"> | ||||
|  |                             <div class="p-3"> | ||||
|  |                                 <a href="https://apps.odoo.com/apps/modules/17.0/direct_print_odoo/" | ||||
|  |                                    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.jpg" | ||||
|  |                                                  alt="" width="100%" | ||||
|  |                                                  height="auto"> | ||||
|  |                                         </div> | ||||
|  |                                         <p class="text-center pt-2 text-black font-weight-bold"> | ||||
|  |                                             Direct Print | ||||
|  |                                         </p> | ||||
|  |                                     </div> | ||||
|  |                                 </a> | ||||
|  |                             </div> | ||||
|  |                         </div> | ||||
|  |                         <div class="col"> | ||||
|  |                             <div class="p-3"> | ||||
|  |                                 <a href="https://apps.odoo.com/apps/modules/17.0/dashboard_pos/" | ||||
|  |                                    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"> | ||||
|  |                                             POS Dashboard | ||||
|  |                                         </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/login_user_detail/" | ||||
|  |                                    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"> | ||||
|  |                                             User Log Details | ||||
|  |                                         </p> | ||||
|  |                                     </div> | ||||
|  |                                 </a> | ||||
|  |                             </div> | ||||
|  |                         </div> | ||||
|  |                         <div class="col"> | ||||
|  |                             <div class="p-3"> | ||||
|  |                                 <a href="https://apps.odoo.com/apps/modules/17.0/product_discount_limit/#" | ||||
|  |                                    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.jpg" | ||||
|  |                                                  alt="" width="100%" | ||||
|  |                                                  height="auto"> | ||||
|  |                                         </div> | ||||
|  |                                         <p class="text-center pt-2 text-black font-weight-bold"> | ||||
|  |                                             Product Discount Limit | ||||
|  |                                         </p> | ||||
|  |                                     </div> | ||||
|  |                                 </a> | ||||
|  |                             </div> | ||||
|  |                         </div> | ||||
|  |                         <div class="col"> | ||||
|  |                             <div class="p-3"> | ||||
|  |                                 <a href="https://apps.odoo.com/apps/modules/17.0/top_selling_product_report/#" | ||||
|  |                                    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.png" | ||||
|  |                                                  alt="" width="100%" | ||||
|  |                                                  height="auto"> | ||||
|  |                                         </div> | ||||
|  |                                         <p class="text-center pt-2 text-black font-weight-bold"> | ||||
|  |                                             Top / Least Selling Product Report | ||||
|  |                                         </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,321 @@ | |||||
|  | .oh_dashboards{ | ||||
|  |     padding-top :15px; | ||||
|  |     background-color: #f8faff !important; | ||||
|  | } | ||||
|  | 
 | ||||
|  | .oh-card h4 { | ||||
|  |     font-size: 1.1rem; | ||||
|  | } | ||||
|  | 
 | ||||
|  | /*    Widget One | ||||
|  | ---------------------------*/ | ||||
|  | .stat-content { | ||||
|  |     display: inline-block; | ||||
|  |     width: 66%; | ||||
|  | } | ||||
|  | .stat-icon{ | ||||
|  |     display: inline-block; | ||||
|  | } | ||||
|  | 
 | ||||
|  | .stat-widget-one .stat-icon { | ||||
|  |     vertical-align: top; | ||||
|  |     margin: auto; | ||||
|  |     width: 100%; | ||||
|  |     color: #01c490; | ||||
|  | } | ||||
|  | 
 | ||||
|  | .stat-widget-one .stat-icon i { | ||||
|  |   font-size: 30px; | ||||
|  |   font-weight: 900; | ||||
|  |   display: inline-block; | ||||
|  |   color: #01c490;} | ||||
|  | 
 | ||||
|  | .stat-widget-one .stat-text { | ||||
|  |     font-size: 14px; | ||||
|  |     color: #868e96; | ||||
|  |     font-weight: bold; | ||||
|  | } | ||||
|  | 
 | ||||
|  | .stat-widget-one .stat-digit { | ||||
|  |   font-size: 24px; | ||||
|  |   color: #02448b; } | ||||
|  | 
 | ||||
|  | .stat-count { | ||||
|  |   font-size: 20px; | ||||
|  |   text-align: center; | ||||
|  |   color: #00438b;} | ||||
|  | 
 | ||||
|  | .stat-title { | ||||
|  |   font-size: 17px; | ||||
|  |   text-align: center; | ||||
|  |   color: #00438b; } | ||||
|  | 
 | ||||
|  | .mb-0{ | ||||
|  |     position: relative; | ||||
|  | } | ||||
|  | .mb-0 .dash-title { | ||||
|  |     font-size: 20px; | ||||
|  |     color: rgba(255, 255, 255, 0.81); | ||||
|  | } | ||||
|  | 
 | ||||
|  | .oh-card { | ||||
|  | 
 | ||||
|  |     padding-top: 0px; | ||||
|  |     padding: 0px; | ||||
|  |     margin-bottom: 1.5rem; | ||||
|  |     border-radius: 0px; | ||||
|  |     box-shadow: none; | ||||
|  |     background: none; | ||||
|  |     transition: transform 0.2s ease, box-shadow 0.2s ease; | ||||
|  |     will-change: transform, box-shadow; | ||||
|  | 
 | ||||
|  | } | ||||
|  | .oh-card:hover { | ||||
|  | 
 | ||||
|  |     transform: translateY(-2px) translateZ(0) !important; | ||||
|  |     box-shadow: 0 10px 10px 0 rgba(62, 57, 107, 0.12), 0 0 0 transparent !important; | ||||
|  | 
 | ||||
|  | } | ||||
|  | .oh-data { | ||||
|  |     margin-top: 2.5%; | ||||
|  | } | ||||
|  | .oh-data .stat-icon { | ||||
|  |     width: 30%; | ||||
|  |     height: 85px; | ||||
|  |     text-align: center; | ||||
|  |     background: #ff8762; | ||||
|  |     color: #fff; | ||||
|  |     width: 32%; | ||||
|  |     padding-top: 2%; | ||||
|  |     font-size: xxx-large; | ||||
|  | 
 | ||||
|  | } | ||||
|  | .oh-data .oh-card { | ||||
|  | 
 | ||||
|  |     transition: transform 0.2s ease, box-shadow 0.2s ease; | ||||
|  |     will-change: transform, box-shadow; | ||||
|  |     box-shadow: 0 10px 40px 0 rgba(62,57,107,0.07), 0 2px 9px 0 rgba(62,57,107,0.06); | ||||
|  | 
 | ||||
|  | } | ||||
|  | .stat-widget-one .stat-text { | ||||
|  |     font-size: 14px; | ||||
|  |     color: #ff8762; | ||||
|  |     margin-top: 2.3rem; | ||||
|  |     margin-left: 1rem; | ||||
|  | } | ||||
|  | .stat-widget-one .stat-digit { | ||||
|  |     font-size: 26px; | ||||
|  |     color:#993232; | ||||
|  |     margin-left: 1rem; | ||||
|  |     margin-top: -1px; | ||||
|  |     font-family: initial | ||||
|  | } | ||||
|  | 
 | ||||
|  | .stat-widget-one .stat-icon i { | ||||
|  | 
 | ||||
|  |     font-size: 25px; | ||||
|  |     font-weight: 900; | ||||
|  |     display: inline-block; | ||||
|  |     color: #fff; | ||||
|  | 
 | ||||
|  | } | ||||
|  | .stat-widget-one { | ||||
|  | 
 | ||||
|  |     background-color: white; | ||||
|  |     text-align: left; | ||||
|  | 
 | ||||
|  | } | ||||
|  | .stat-widget-one { | ||||
|  |     width: 100%; | ||||
|  | } | ||||
|  | .oh-data .stat-icon { | ||||
|  | 
 | ||||
|  |     width: 30%; | ||||
|  |     height: 85px; | ||||
|  |     text-align: center; | ||||
|  |     padding-top: 2%; | ||||
|  | 
 | ||||
|  | } | ||||
|  | 
 | ||||
|  | h4 .stat-count { | ||||
|  |     font-size: 17px; | ||||
|  |     text-align: center; | ||||
|  |     color: #000 !important; | ||||
|  |     margin-top: 0px; | ||||
|  |     width: 100%; | ||||
|  |     float: left; | ||||
|  |     margin: 0; | ||||
|  | } | ||||
|  | 
 | ||||
|  | .stat-head { | ||||
|  |     text-align: left !important; | ||||
|  |     font-weight: 300; | ||||
|  |     font-size: 15px; | ||||
|  |     margin-bottom: 25px; | ||||
|  |     margin-left: 24px; | ||||
|  |     width: 100%; | ||||
|  | } | ||||
|  | .oh-card-body { | ||||
|  |     display: flex; | ||||
|  |     justify-content: space-between; | ||||
|  |     align-items: center; | ||||
|  | } | ||||
|  | 
 | ||||
|  | .o_action_manager{ | ||||
|  |      overflow-y: scroll !important; | ||||
|  |     max-width:100%; | ||||
|  |  } | ||||
|  | 
 | ||||
|  | .stat_count{ | ||||
|  |     margin-top: -89px; | ||||
|  |     margin-left: 35px; | ||||
|  |     font-size: 33px; | ||||
|  | } | ||||
|  | 
 | ||||
|  | 
 | ||||
|  | .stat-head { | ||||
|  |     text-align: left !important; | ||||
|  |     font-weight: 300; | ||||
|  |     font-size: 18px; | ||||
|  |     margin-bottom: 25px; | ||||
|  |     margin-left: 24px; | ||||
|  |     width: 100%; | ||||
|  |     margin-top: 57px; | ||||
|  |     color: black; | ||||
|  | } | ||||
|  | 
 | ||||
|  | .top_chart{ | ||||
|  |     height: fit-content; | ||||
|  | } | ||||
|  | .row.main-section { | ||||
|  |     margin-right: 0px; !important; | ||||
|  | } | ||||
|  | 
 | ||||
|  | .chart-container { | ||||
|  |     border-radius: 0.3rem; | ||||
|  |     padding: 1rem; | ||||
|  |     margin: 1rem auto; | ||||
|  | } | ||||
|  | 
 | ||||
|  | .chart-container.card-shadow { | ||||
|  |     height: 100%; | ||||
|  | } | ||||
|  | 
 | ||||
|  | .half_chart.chart-container.card-shadow { | ||||
|  | 	height: 49%; | ||||
|  | } | ||||
|  | #container { | ||||
|  |     height: 400px; | ||||
|  | } | ||||
|  | 
 | ||||
|  | 
 | ||||
|  | /*table*/ | ||||
|  | .graph_details_table{ | ||||
|  | position: absolute; | ||||
|  |   top: 45px; | ||||
|  |   right: 15px; | ||||
|  | 
 | ||||
|  |  background-color: white; | ||||
|  |  border-collapse: collapse; | ||||
|  |  border: 1px solid #ddd; | ||||
|  | 
 | ||||
|  | } | ||||
|  | 
 | ||||
|  | .graph_details_table th{ | ||||
|  | background-color:#67b7dc; | ||||
|  | color: white; | ||||
|  |   width: 250px; | ||||
|  |   height: 30px; | ||||
|  | } | ||||
|  | 
 | ||||
|  | .graph_details_table td{ | ||||
|  | border: 1px solid #ddd; | ||||
|  | height: 20px; | ||||
|  | } | ||||
|  | 
 | ||||
|  | .graph_details_table tr:nth-child(even){background-color: #f2f2f2;} | ||||
|  | 
 | ||||
|  | .graph_details_table tr:hover {background-color: #ddd;} | ||||
|  | 
 | ||||
|  | .chart-container h2 { | ||||
|  |     font-weight: 700; | ||||
|  |     font-size: 1.690rem; | ||||
|  | } | ||||
|  | 
 | ||||
|  | .hr_notification { | ||||
|  |     background: #f6f7fa; | ||||
|  |     transition: transform 0.2s ease, box-shadow 0.2s ease; | ||||
|  |     will-change: transform, box-shadow; | ||||
|  |     box-shadow: 0 10px 40px 0 rgba(62,57,107,0.07), 0 2px 9px 0 rgba(62,57,107,0.06); | ||||
|  |     height: 316px; | ||||
|  |     overflow-y: auto; | ||||
|  |     margin-bottom: 15px; | ||||
|  | } | ||||
|  | .hr_notification .media { | ||||
|  |     border-bottom: 1px solid #e6e6e6; | ||||
|  |     padding-bottom: 6px; | ||||
|  |     margin-bottom: 10px; | ||||
|  | } | ||||
|  | hr_notification .text-color.display-6 { | ||||
|  |     margin: 0px 0 3px; | ||||
|  |     color: #2d2d2d; | ||||
|  | } | ||||
|  | .hr_notification p { | ||||
|  |     margin: 0 0 1px; | ||||
|  |     color: #666; | ||||
|  |     font-size: 10px; | ||||
|  | } | ||||
|  | .chart_head { | ||||
|  |     width: 850px; | ||||
|  |     margin-left: 21px; | ||||
|  |     font-size: 17px; | ||||
|  |     text-align: center; | ||||
|  |     padding: 12px 0; | ||||
|  |     color: #fff; | ||||
|  |     margin-bottom: 9px; | ||||
|  | } | ||||
|  | .hr_notification_head { | ||||
|  |     font-size: 17px; | ||||
|  |     text-align: center; | ||||
|  |     padding: 12px 0; | ||||
|  |     color: #fff; | ||||
|  |     font-weight: 300; | ||||
|  |     background: #5ebade; | ||||
|  |     margin-bottom: 9px; | ||||
|  | } | ||||
|  | @media (max-width: 767.98px) { | ||||
|  |     .oh-card{ | ||||
|  |         width: 100% !important; | ||||
|  |     } | ||||
|  |     .dashboard_main_section .form-control{ | ||||
|  |         width: 85% !important; | ||||
|  |         margin: 15px auto; | ||||
|  |     } | ||||
|  |     .sale_details{ | ||||
|  |         position: relative; | ||||
|  |         top: 0px !important; | ||||
|  |         right: 0px !important; | ||||
|  |     } | ||||
|  |     .selling_product_graph_view{ | ||||
|  |         margin-top: 5rem; | ||||
|  |     } | ||||
|  |     .hr_notification{ | ||||
|  |         min-width: 90% !important; | ||||
|  |     } | ||||
|  | } | ||||
|  | .hr_notification{ | ||||
|  |     min-width: 425.683px; | ||||
|  |     min-height: 316px; | ||||
|  |     max-width: 100%; | ||||
|  | } | ||||
|  | .media-body{ | ||||
|  | 
 | ||||
|  |     background: #466b8d; | ||||
|  |     float: left; | ||||
|  |     margin: 0; | ||||
|  |     width: 100% | ||||
|  | } | ||||
|  | .canvas{ | ||||
|  |     height: 500px; | ||||
|  |     width: 150px; | ||||
|  | } | ||||
| @ -0,0 +1,318 @@ | |||||
|  | /** @odoo-module **/ | ||||
|  | import { registry } from "@web/core/registry"; | ||||
|  | import { _t } from "@web/core/l10n/translation"; | ||||
|  | import { Component } from "@odoo/owl"; | ||||
|  | import { onWillStart, onMounted, useState, useRef } from "@odoo/owl"; | ||||
|  | import { useService } from "@web/core/utils/hooks"; | ||||
|  | export class ProductDashboard extends Component{ | ||||
|  |     setup(){ | ||||
|  |         super.setup(...arguments); | ||||
|  |         this.orm = useService("orm"); | ||||
|  |         this.TopSaleChart = useRef("top_sale_chart") | ||||
|  |         this.TopPurchaseChart = useRef("top_purchase_chart") | ||||
|  |         this.ProductChart = useRef("product_graph") | ||||
|  |         this.ProductQtyChart = useRef("product_qty") | ||||
|  |         this.state = useState({ | ||||
|  |                 product_templates : [], | ||||
|  |                 variants_count : [], | ||||
|  |                 products_storable : [], | ||||
|  |                 product_consumable: [], | ||||
|  |                 product_service: [], | ||||
|  |                 product_pricelist : [], | ||||
|  |                 product_attribute:[], | ||||
|  |                 location_chart: [], | ||||
|  |                 move_chart: [], | ||||
|  |             }); | ||||
|  |         onWillStart(async () => { | ||||
|  |             await this.fetch_data(); | ||||
|  |         }); | ||||
|  |         onMounted(async ()=> { | ||||
|  |             await this.render_top_sold_product(); | ||||
|  |             await this.render_top_purchase_product(); | ||||
|  |             await this.render_year_chart (); | ||||
|  |             await this.render_monthly_chart (); | ||||
|  |             await this.onchange_prod_selection(); | ||||
|  |             await this.render_product_categ_analysis(); | ||||
|  |             await this.onchange_location_selection(); | ||||
|  |         }); | ||||
|  |     } | ||||
|  |     async fetch_data() { | ||||
|  |         var self = this | ||||
|  |     // fetch data to the tiles
 | ||||
|  |         var result = await this.orm.call( 'product.template', "get_data",[]) | ||||
|  |         this.state.product_templates = result['product_templates'] | ||||
|  |         this.state.variants_count = result['product_variants'] | ||||
|  |         this.state.products_storable = result['storable'] | ||||
|  |         this.state.product_consumable = result['consumable'] | ||||
|  |         this.state.product_service = result['service'] | ||||
|  |         this.state.product_categ = result['category'] | ||||
|  |         this.state.product_pricelist = result['price_list'] | ||||
|  |         this.state.product_attribute = result['product_attribute'] | ||||
|  |     } | ||||
|  |     async render_top_sold_product() { | ||||
|  |      // To view the top sale products in the chart
 | ||||
|  |         var self = this | ||||
|  |         var ctx = this.TopSaleChart.el; | ||||
|  |         const arrays = await this.orm.call( | ||||
|  |         'product.template', "get_top_sale_data",[]) | ||||
|  |         var data = { | ||||
|  |             labels : arrays[1], | ||||
|  |             datasets: [{ | ||||
|  |                 label: "", | ||||
|  |                 data: arrays[0], | ||||
|  |                 backgroundColor: [ | ||||
|  |                     "#1E90FF", | ||||
|  |                     "#95B9C7", | ||||
|  |                     "#66CDAA", | ||||
|  |                     "#FF7F50", | ||||
|  |                     "#F67280", | ||||
|  |                     "#810541", | ||||
|  |                     "#7D0552", | ||||
|  |                     "#D58A94", | ||||
|  |                     "#B041FF" | ||||
|  |                 ], | ||||
|  |                 borderColor: [ | ||||
|  |                     "#1E90FF", | ||||
|  |                     "#95B9C7", | ||||
|  |                     "#66CDAA", | ||||
|  |                     "#FF7F50", | ||||
|  |                     "#F67280", | ||||
|  |                     "#810541", | ||||
|  |                     "#7D0552", | ||||
|  |                     "#D58A94", | ||||
|  |                     "#B041FF" | ||||
|  |                 ], | ||||
|  |                 borderWidth: 1 | ||||
|  |             },] | ||||
|  |         }; | ||||
|  |         //options
 | ||||
|  |         var options = { | ||||
|  |             responsive: true, | ||||
|  |             title: false, | ||||
|  |             legend: { | ||||
|  |                 display: true, | ||||
|  |                 position: "right", | ||||
|  |                 labels: { | ||||
|  |                     fontColor: "#333", | ||||
|  |                     fontSize: 16 | ||||
|  |                 } | ||||
|  |             }, | ||||
|  |             scales: { | ||||
|  |                 yAxes: [{ | ||||
|  |                     gridLines: { | ||||
|  |                         color: "rgba(0, 0, 0, 0)", | ||||
|  |                         display: false, | ||||
|  |                     }, | ||||
|  |                     ticks: { | ||||
|  |                         min: 0, | ||||
|  |                         display: false, | ||||
|  |                     } | ||||
|  |                 }] | ||||
|  |             } | ||||
|  |         }; | ||||
|  |         //create Chart class object
 | ||||
|  |         var chart = new Chart(ctx, { | ||||
|  |             type: "pie", | ||||
|  |             data: data, | ||||
|  |             options: options | ||||
|  |         }); | ||||
|  |     } | ||||
|  |     async render_top_purchase_product() { | ||||
|  |     // To view the top purchase products in the chart
 | ||||
|  |         var self = this | ||||
|  |         var ctx = this.TopPurchaseChart.el; | ||||
|  |         const arrays = await this.orm.call( 'product.template', "get_top_purchase_data",[]) | ||||
|  |         var data = { | ||||
|  |             labels : arrays[1], | ||||
|  |             datasets: [{ | ||||
|  |                 label: "", | ||||
|  |                 data: arrays[0], | ||||
|  |                 backgroundColor: [ | ||||
|  |                     "#003f5c", | ||||
|  |                     "#2f4b7c", | ||||
|  |                     "#f95d6a", | ||||
|  |                     "#665191", | ||||
|  |                     "#d45087", | ||||
|  |                     "#ff7c43", | ||||
|  |                     "#ffa600", | ||||
|  |                     "#a05195", | ||||
|  |                     "#6d5c16" | ||||
|  |                 ], | ||||
|  |                 borderColor: [ | ||||
|  |                     "#003f5c", | ||||
|  |                     "#2f4b7c", | ||||
|  |                     "#f95d6a", | ||||
|  |                     "#665191", | ||||
|  |                     "#d45087", | ||||
|  |                     "#ff7c43", | ||||
|  |                     "#ffa600", | ||||
|  |                     "#a05195", | ||||
|  |                     "#6d5c16" | ||||
|  |                 ], | ||||
|  |                 borderWidth: 1 | ||||
|  |             },] | ||||
|  |         }; | ||||
|  |         //options
 | ||||
|  |         var options = { | ||||
|  |             responsive: true, | ||||
|  |             title: false, | ||||
|  |             legend: { | ||||
|  |                 display: true, | ||||
|  |                 position: "right", | ||||
|  |                 labels: { | ||||
|  |                     fontColor: "#333", | ||||
|  |                     fontSize: 16 | ||||
|  |                 } | ||||
|  |             }, | ||||
|  |             scales: { | ||||
|  |                 yAxes: [{ | ||||
|  |                     gridLines: { | ||||
|  |                         color: "rgba(0, 0, 0, 0)", | ||||
|  |                         display: false, | ||||
|  |                     }, | ||||
|  |                     ticks: { | ||||
|  |                         min: 0, | ||||
|  |                         display: false, | ||||
|  |                     } | ||||
|  |                 }] | ||||
|  |             } | ||||
|  |         }; | ||||
|  |         //create Chart class object
 | ||||
|  |         var chart = new Chart(ctx, { | ||||
|  |             type: "doughnut", | ||||
|  |             data: data, | ||||
|  |             options: options | ||||
|  |         }); | ||||
|  |     } | ||||
|  |     async render_year_chart() { | ||||
|  |     // For adding the last 5 years in the selection filed
 | ||||
|  |         var self = this | ||||
|  |         const data = await this.orm.call( 'product.template', "get_years",[]) | ||||
|  |         for (var year in data) { | ||||
|  |             $('#year_selection').append('<option id="'+data[year]+'" value="'+data[year]+'">'+data[year]+'</option>') | ||||
|  |         } | ||||
|  |     } | ||||
|  |     async render_monthly_chart() { | ||||
|  |     // For listing the total products to filter the chart based on products
 | ||||
|  |         var self = this | ||||
|  |         const data = await this.orm.call( 'product.template', "get_products",[]) | ||||
|  |         var k = 0; | ||||
|  |         Object.entries(data.product_name).forEach(([key, value]) => { | ||||
|  |             if(k == 0){ | ||||
|  |                 $('#prod_selection').append('<option id="'+key+'" value="'+data.product_id[k]+'" selected="selected">'+value+'</option>') | ||||
|  |                 k++; | ||||
|  |             }else{ | ||||
|  |                 $('#prod_selection').append('<option id="'+key+'" value="'+data.product_id[k]+'">'+value+'</option>') | ||||
|  |                 k++; | ||||
|  |             } | ||||
|  |         }); | ||||
|  |     } | ||||
|  |     async onchange_prod_selection() { | ||||
|  |     /* The filter is based on changes in products, displaying monthly | ||||
|  |        product movements*/ | ||||
|  |         if (this.state.move_chart.length != 0) { | ||||
|  |             this.state.move_chart.forEach((item)=> { | ||||
|  |                 item.destroy() | ||||
|  |             }); | ||||
|  |         } | ||||
|  |         var option = $("#prod_selection").val(); | ||||
|  |         var year = $("#year_selection").val(); | ||||
|  |         var ctx = this.ProductChart.el; | ||||
|  |         const result = await this.orm.call('product.template', "get_prod_details", [option, year]) | ||||
|  |         var name = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'] | ||||
|  |         var data = { | ||||
|  |             labels: name,//x axis
 | ||||
|  |             datasets: [{ | ||||
|  |                 label: 'Purchase Order Total', // Name the series
 | ||||
|  |                 data: result.count, // Specify the data values array
 | ||||
|  |                 backgroundColor: '#0000ff', | ||||
|  |                 borderColor: '#0000ff', | ||||
|  |                 barPercentage: 0.5, | ||||
|  |                 barThickness: 6, | ||||
|  |                 maxBarThickness: 8, | ||||
|  |                 minBarLength: 0, | ||||
|  |                 borderWidth: 1, // Specify bar border width
 | ||||
|  |                 type: 'line', // Set this data to a line chart
 | ||||
|  |                 fill: false | ||||
|  |             },] | ||||
|  |         } | ||||
|  |         var options = { | ||||
|  |             scales: { | ||||
|  |                 y: { | ||||
|  |                     beginAtZero: true | ||||
|  |                 }, | ||||
|  |             }, | ||||
|  |             responsive: true, // Instruct chart js to respond nicely.
 | ||||
|  |             maintainAspectRatio: false, // Add to prevent default behaviour of full-width/height
 | ||||
|  |         } | ||||
|  |         var chart = new Chart(ctx, { | ||||
|  |             type: "line", | ||||
|  |             data: data, | ||||
|  |             options: options | ||||
|  |         }); | ||||
|  |         this.state.move_chart.push(chart) | ||||
|  |     } | ||||
|  |     async render_product_categ_analysis() { | ||||
|  |     /* For listing the whole locations in the inventory in the*/ | ||||
|  |         var self = this | ||||
|  |         const data = await this.orm.call( 'product.template', "get_product_location_analysis",[]) | ||||
|  |         var k = 0; | ||||
|  |         Object.entries(data.location_name).forEach(([key, value]) => { | ||||
|  |             if(k == 0){ | ||||
|  |                 $('#product_location_selection').append('<option id="'+key+'" value="'+data.location_id[k]+'" selected="selected">'+value+'</option>') | ||||
|  |                 k++; | ||||
|  |             }else{ | ||||
|  |                 $('#product_location_selection').append('<option id="'+key+'" value="'+data.location_id[k]+'">'+value+'</option>') | ||||
|  |                 k++; | ||||
|  |             } | ||||
|  |         }); | ||||
|  |     } | ||||
|  |     async onchange_location_selection() { | ||||
|  |     /* The filter is based on changes in location, products based on the location */ | ||||
|  |         if (this.state.location_chart.length != 0) { | ||||
|  |             this.state.location_chart.forEach((item)=> { | ||||
|  |                 item.destroy() | ||||
|  |             }); | ||||
|  |         } | ||||
|  |         var option = $("#product_location_selection" ).val(); | ||||
|  |         var ctx = this.ProductQtyChart.el; | ||||
|  |         const result = await this.orm.call( 'product.template', "get_product_qty_by_loc", [option]) | ||||
|  |         var product_list = [] | ||||
|  |         for (var product in result.products) { | ||||
|  |             product_list.push(result.products[product]['en_US']) | ||||
|  |         } | ||||
|  |         var data = { | ||||
|  |             labels: product_list, | ||||
|  |             datasets:  [{ | ||||
|  |                 label: 'Count', // Name the series
 | ||||
|  |                 data: result.quantity, // Specify the data values array
 | ||||
|  |                 backgroundColor: '#ac3973', | ||||
|  |                 borderColor: '#ac3973', | ||||
|  |                 barPercentage: 0.5, | ||||
|  |                 barThickness: 6, | ||||
|  |                 maxBarThickness: 8, | ||||
|  |                 minBarLength: 0, | ||||
|  |                 borderWidth: 1, // Specify bar border width
 | ||||
|  |                 type: 'bar', // Set this data to a line chart
 | ||||
|  |                 fill: false | ||||
|  |             }] | ||||
|  |         } | ||||
|  |         var options = { | ||||
|  |             scales: { | ||||
|  |                 y: { | ||||
|  |                     beginAtZero: true | ||||
|  |                 }, | ||||
|  |             }, | ||||
|  |             responsive: true, // Instruct chart js to respond nicely.
 | ||||
|  |             maintainAspectRatio: false, // Add to prevent default behaviour of full-width/height
 | ||||
|  |         } | ||||
|  |         var chart = new Chart(ctx, { | ||||
|  |             type: "bar", | ||||
|  |             data: data, | ||||
|  |             options: options | ||||
|  |         }); | ||||
|  |         this.state.location_chart.push(chart) | ||||
|  |     } | ||||
|  | } | ||||
|  | ProductDashboard.template = 'ProductDashboard' | ||||
|  | registry.category("actions").add("product_dashboard_tag", ProductDashboard) | ||||
| @ -0,0 +1,233 @@ | |||||
|  | <?xml version="1.0" encoding="utf-8"?> | ||||
|  | <template> | ||||
|  |     <t t-name="ProductDashboard"> | ||||
|  |         <div class="oh_dashboards"> | ||||
|  |         </div> | ||||
|  |         <section class="dashboard_main" id="main_section"> | ||||
|  |             <div class="col-sm-12 mb-4"> | ||||
|  |                 <div class="row" style="margin-left: 20px"> | ||||
|  |                     <div class="shadow-sm border m-2 p-4" style="height: 30px; width: 97.5%; border-radius: 10px; background: lavender"> | ||||
|  |                         <div class="d-flex justify-content-between"> | ||||
|  |                             <p class="section-header fw-bold" style="margin-top: -16px; font-size: 22px;">PRODUCT DASHBOARD</p> | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                     <!--      Tiles    --> | ||||
|  |                     <div class="col-sm-12 mb-3"> | ||||
|  |                         <div class="row" style="margin-left: 38px"> | ||||
|  |                             <div class="col-md-3 col-sm-5 all_products oh-data"> | ||||
|  |                                 <div class="oh-card" style="width: 288px;"> | ||||
|  |                                     <div class="oh-card-body"> | ||||
|  |                                         <div class="stat-widget-one"> | ||||
|  |                                             <div class="stat-icon" style="background:#ff4d94"> | ||||
|  |                                                 <i class="fa fa-star"/> | ||||
|  |                                             </div> | ||||
|  |                                             <div class="stat-content"> | ||||
|  |                                                 <div class="stat-head">Products</div> | ||||
|  |                                                 <div class="stat_count"> | ||||
|  |                                                     <t t-esc="this.state.product_templates"/> | ||||
|  |                                                 </div> | ||||
|  |                                             </div> | ||||
|  |                                         </div> | ||||
|  |                                     </div> | ||||
|  |                                 </div> | ||||
|  |                             </div> | ||||
|  |                             <div class="col-md-3 col-sm-5 product_variants oh-data"> | ||||
|  |                                 <div class="oh-card" style="width: 288px;"> | ||||
|  |                                     <div class="oh-card-body"> | ||||
|  |                                         <div class="stat-widget-one"> | ||||
|  |                                             <div class="stat-icon" style="background:#99e6ff"> | ||||
|  |                                                 <i class="fa fa-star"/> | ||||
|  |                                             </div> | ||||
|  |                                             <div class="stat-content"> | ||||
|  |                                                 <div class="stat-head">Product Variants</div> | ||||
|  |                                                 <div class="stat_count"> | ||||
|  |                                                     <t t-esc="this.state.variants_count"/> | ||||
|  |                                                 </div> | ||||
|  |                                             </div> | ||||
|  |                                         </div> | ||||
|  |                                     </div> | ||||
|  |                                 </div> | ||||
|  |                             </div> | ||||
|  |                             <div class="col-md-3 col-sm-5 storable_products oh-data"> | ||||
|  |                                 <div class="oh-card" style="width: 288px;"> | ||||
|  |                                     <div class="oh-card-body"> | ||||
|  |                                         <div class="stat-widget-one"> | ||||
|  |                                             <div class="stat-icon" style="background:#aaff80"> | ||||
|  |                                                 <i class="fa fa-star"/> | ||||
|  |                                             </div> | ||||
|  |                                             <div class="stat-content"> | ||||
|  |                                                 <div class="stat-head">Storable Products</div> | ||||
|  |                                                 <div class="stat_count"> | ||||
|  |                                                     <t t-esc="this.state.products_storable"/> | ||||
|  |                                                 </div> | ||||
|  |                                             </div> | ||||
|  |                                         </div> | ||||
|  |                                     </div> | ||||
|  |                                 </div> | ||||
|  |                             </div> | ||||
|  |                             <div class="col-md-3 col-sm-5 consu_products oh-data"> | ||||
|  |                                 <div class="oh-card" style="width: 288px;"> | ||||
|  |                                     <div class="oh-card-body"> | ||||
|  |                                         <div class="stat-widget-one"> | ||||
|  |                                             <div class="stat-icon" style="background:#bf80ff"> | ||||
|  |                                                 <i class="fa fa-star"/> | ||||
|  |                                             </div> | ||||
|  |                                             <div class="stat-content"> | ||||
|  |                                                 <div class="stat-head">Consumable Products</div> | ||||
|  |                                                 <div class="stat_count"> | ||||
|  |                                                     <t t-esc="this.state.product_consumable"/> | ||||
|  |                                                 </div> | ||||
|  |                                             </div> | ||||
|  |                                         </div> | ||||
|  |                                     </div> | ||||
|  |                                 </div> | ||||
|  |                             </div> | ||||
|  |                             <div class="col-md-3 col-sm-5 service_prod oh-data"> | ||||
|  |                                 <div class="oh-card" style="width: 288px;"> | ||||
|  |                                     <div class="oh-card-body"> | ||||
|  |                                         <div class="stat-widget-one"> | ||||
|  |                                             <div class="stat-icon" style="background:#ff4d94"> | ||||
|  |                                                 <i class="fa fa-star"/> | ||||
|  |                                             </div> | ||||
|  |                                             <div class="stat-content"> | ||||
|  |                                                 <div class="stat-head">Service Products</div> | ||||
|  |                                                 <div class="stat_count"> | ||||
|  |                                                     <t t-esc="this.state.product_service"/> | ||||
|  |                                                 </div> | ||||
|  |                                             </div> | ||||
|  |                                         </div> | ||||
|  |                                     </div> | ||||
|  |                                 </div> | ||||
|  |                             </div> | ||||
|  |                             <div class="col-md-3 col-sm-5 categ_prod oh-data"> | ||||
|  |                                 <div class="oh-card" style="width: 288px;"> | ||||
|  |                                     <div class="oh-card-body"> | ||||
|  |                                         <div class="stat-widget-one"> | ||||
|  |                                             <div class="stat-icon" style="background:#99e6ff"> | ||||
|  |                                                 <i class="fa fa-star"/> | ||||
|  |                                             </div> | ||||
|  |                                             <div class="stat-content"> | ||||
|  |                                                 <div class="stat-head">Product Category</div> | ||||
|  |                                                 <div class="stat_count"> | ||||
|  |                                                     <t t-esc="this.state.product_categ"/> | ||||
|  |                                                 </div> | ||||
|  |                                             </div> | ||||
|  |                                         </div> | ||||
|  |                                     </div> | ||||
|  |                                 </div> | ||||
|  |                             </div> | ||||
|  |                             <div class="col-md-3 col-sm-5 categ_prod oh-data"> | ||||
|  |                                 <div class="oh-card" style="width: 288px;"> | ||||
|  |                                     <div class="oh-card-body"> | ||||
|  |                                         <div class="stat-widget-one"> | ||||
|  |                                             <div class="stat-icon" style="background:#aaff80"> | ||||
|  |                                                 <i class="fa fa-star"/> | ||||
|  |                                             </div> | ||||
|  |                                             <div class="stat-content"> | ||||
|  |                                                 <div class="stat-head">Price Lists</div> | ||||
|  |                                                 <div class="stat_count"> | ||||
|  |                                                     <t t-esc="this.state.product_pricelist"/> | ||||
|  |                                                 </div> | ||||
|  |                                             </div> | ||||
|  |                                         </div> | ||||
|  |                                     </div> | ||||
|  |                                 </div> | ||||
|  |                             </div> | ||||
|  |                             <div class="col-md-3 col-sm-5 categ_prod oh-data"> | ||||
|  |                                 <div class="oh-card" style="width: 288px;"> | ||||
|  |                                     <div class="oh-card-body"> | ||||
|  |                                         <div class="stat-widget-one"> | ||||
|  |                                             <div class="stat-icon" style="background:#bf80ff"> | ||||
|  |                                                 <i class="fa fa-star"/> | ||||
|  |                                             </div> | ||||
|  |                                             <div class="stat-content"> | ||||
|  |                                                 <div class="stat-head">Product Attribute</div> | ||||
|  |                                                 <div class="stat_count"> | ||||
|  |                                                     <t t-esc="this.state.product_attribute"/> | ||||
|  |                                                 </div> | ||||
|  |                                             </div> | ||||
|  |                                         </div> | ||||
|  |                                     </div> | ||||
|  |                                 </div> | ||||
|  |                             </div> | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                 </div> | ||||
|  |             </div> | ||||
|  |         </section> | ||||
|  |         <div class="col-xs-12 col-sm-12 col-lg-12 col-md-12"> | ||||
|  |             <div class="row main-section"> | ||||
|  |                 <div class="col-md"> | ||||
|  |                     <div class="chart_head" | ||||
|  |                          style="font-weight: 700;background: #0b3c38b0;"> | ||||
|  |                         Top Sale Charts | ||||
|  |                     </div> | ||||
|  |                     <div class="shadow-sm border m-4 p-4 bg-white"> | ||||
|  |                         <canvas t-ref="top_sale_chart"/> | ||||
|  |                     </div> | ||||
|  |                 </div> | ||||
|  |                 <div class="col-md"> | ||||
|  |                     <div class="chart_head" | ||||
|  |                          style="font-weight: 700;background: #3e6c1eb0;"> | ||||
|  |                         Top Purchase Charts | ||||
|  |                     </div> | ||||
|  |                     <div class="shadow-sm border m-4 p-4 bg-white"> | ||||
|  |                         <canvas t-ref="top_purchase_chart"/> | ||||
|  |                     </div> | ||||
|  |                 </div> | ||||
|  |             </div> | ||||
|  |         </div> | ||||
|  |         <br/> | ||||
|  |         <div class="col-xs-12 col-sm-12 col-lg-12 col-md-12"> | ||||
|  |             <div class="row main-section"> | ||||
|  |                 <div class="col-sm-6 col-lg-6"> | ||||
|  |                     <div class="chart_head" | ||||
|  |                          style="font-weight: 700;background: #669731d4;"> | ||||
|  |                         Product Moves Monthly Analysis | ||||
|  |                     </div> | ||||
|  |                     <div class="shadow-sm border m-4 p-4 bg-white"> | ||||
|  |                         <div class="row" style="margin-left: 5px;"> | ||||
|  |                             <!-- Product Select --> | ||||
|  |                             <div class="form-group col-4" | ||||
|  |                                  style="padding: 12px 0;" id="product_select"> | ||||
|  |                                 <select class="form-select" id="prod_selection" | ||||
|  |                                         t-on-change="onchange_prod_selection" | ||||
|  |                                         style="background-color: ghostwhite;"> | ||||
|  |                                 </select> | ||||
|  |                             </div> | ||||
|  |                             <!-- Year Select --> | ||||
|  |                             <div class="form-group col-2" | ||||
|  |                                  style="padding: 12px 0; margin-left: 5px;" id="year_select"> | ||||
|  |                                 <select class="form-select" id="year_selection" | ||||
|  |                                         style="background-color: ghostwhite;"> | ||||
|  |                                 </select> | ||||
|  |                             </div> | ||||
|  |                         </div> | ||||
|  |                         <div class="graph_canvas" style="margin-top: 30px;"> | ||||
|  |                             <canvas class="canvas" t-ref="product_graph"/> | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                 </div> | ||||
|  |                 <div class="col-sm-6 col-lg-6"> | ||||
|  |                     <div class="chart_head" | ||||
|  |                          style="font-weight: 700;background: #137660c2;"> | ||||
|  |                         Product By Location | ||||
|  |                     </div> | ||||
|  |                     <div class="shadow-sm border m-4 p-4 bg-white" style="height: 636px;"> | ||||
|  |                         <div class="form-group col-4" | ||||
|  |                              style="padding: 12px 0;" id="product_categ_select"> | ||||
|  |                             <select class="form-select" id="product_location_selection" | ||||
|  |                                     t-on-change="onchange_location_selection" | ||||
|  |                                     style="background-color: ghostwhite;"> | ||||
|  |                             </select> | ||||
|  |                         </div> | ||||
|  |                         <div class="graph_canvas" style="margin-top: 30px;"> | ||||
|  |                             <canvas class="canvas" t-ref="product_qty"/> | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                 </div> | ||||
|  |             </div> | ||||
|  |         </div> | ||||
|  |         <br/> | ||||
|  |     </t> | ||||
|  | </template> | ||||
| @ -0,0 +1,12 @@ | |||||
|  | <?xml version="1.0" encoding="utf-8"?> | ||||
|  | <odoo> | ||||
|  |     <record id="product_dashboard_action" model="ir.actions.client"> | ||||
|  |         <field name="name">Dashboard</field> | ||||
|  |         <field name="tag">product_dashboard_tag</field> | ||||
|  |     </record> | ||||
|  |     <menuitem id="dashboard" | ||||
|  |               name="Dashboard" | ||||
|  |               parent="product_management_app.menu_product_root" | ||||
|  |               action="product_dashboard_action" | ||||
|  |               sequence="-10"/> | ||||
|  | </odoo> | ||||
| @ -0,0 +1,23 @@ | |||||
|  | <?xml version="1.0" encoding="utf-8"?> | ||||
|  | <odoo> | ||||
|  | <!-- Added Menus--> | ||||
|  |     <menuitem id="menu_product_root" name="Products" | ||||
|  |               web_icon="product_management_app,static/description/icon.png" | ||||
|  |               sequence="10"/> | ||||
|  |     <menuitem id="menu_product_template" name="Products" parent="menu_product_root" | ||||
|  |               action="product.product_template_action"/> | ||||
|  |     <menuitem id="menu_product_variants" name="Products Variants" | ||||
|  |               parent="menu_product_root" action="product.product_normal_action" | ||||
|  |               groups="product.group_product_variant" sequence="20"/> | ||||
|  |     <menuitem id="menu_product_pricelist" name="Pricelists" | ||||
|  |               parent="menu_product_root" | ||||
|  |               action="product.product_pricelist_action2" | ||||
|  |               groups="product.group_product_pricelist" sequence="30"/> | ||||
|  |     <menuitem id="menu_product_stock" name="Stock" parent="menu_product_root" | ||||
|  |               sequence="230"/> | ||||
|  |     <menuitem action="stock.stock_move_action" id="stock_move_menu" | ||||
|  |               parent="menu_product_stock" groups="base.group_no_one"/> | ||||
|  |     <menuitem action="stock.stock_move_line_action" | ||||
|  |               id="stock_move_line_menu" | ||||
|  |               parent="menu_product_stock" sequence="200"/> | ||||
|  | </odoo> | ||||