Browse Source

Mar 21: [ADD] Initial Commit 'inventory_forecast_analysis_report'

pull/278/merge
RisvanaCybro 1 year ago
parent
commit
cae11a56ed
  1. 48
      inventory_forecast_analysis_report/README.rst
  2. 22
      inventory_forecast_analysis_report/__init__.py
  3. 45
      inventory_forecast_analysis_report/__manifest__.py
  4. 7
      inventory_forecast_analysis_report/doc/RELEASE_NOTES.md
  5. 23
      inventory_forecast_analysis_report/models/__init__.py
  6. 58
      inventory_forecast_analysis_report/models/forecast_analysis_report.py
  7. 33
      inventory_forecast_analysis_report/models/product_brand.py
  8. 41
      inventory_forecast_analysis_report/models/product_template.py
  9. 4
      inventory_forecast_analysis_report/security/ir.model.access.csv
  10. BIN
      inventory_forecast_analysis_report/static/description/assets/icons/check.png
  11. BIN
      inventory_forecast_analysis_report/static/description/assets/icons/chevron.png
  12. BIN
      inventory_forecast_analysis_report/static/description/assets/icons/cogs.png
  13. BIN
      inventory_forecast_analysis_report/static/description/assets/icons/consultation.png
  14. BIN
      inventory_forecast_analysis_report/static/description/assets/icons/ecom-black.png
  15. BIN
      inventory_forecast_analysis_report/static/description/assets/icons/education-black.png
  16. BIN
      inventory_forecast_analysis_report/static/description/assets/icons/hotel-black.png
  17. BIN
      inventory_forecast_analysis_report/static/description/assets/icons/license.png
  18. BIN
      inventory_forecast_analysis_report/static/description/assets/icons/lifebuoy.png
  19. BIN
      inventory_forecast_analysis_report/static/description/assets/icons/logo.png
  20. BIN
      inventory_forecast_analysis_report/static/description/assets/icons/manufacturing-black.png
  21. BIN
      inventory_forecast_analysis_report/static/description/assets/icons/pos-black.png
  22. BIN
      inventory_forecast_analysis_report/static/description/assets/icons/puzzle.png
  23. BIN
      inventory_forecast_analysis_report/static/description/assets/icons/restaurant-black.png
  24. BIN
      inventory_forecast_analysis_report/static/description/assets/icons/service-black.png
  25. BIN
      inventory_forecast_analysis_report/static/description/assets/icons/trading-black.png
  26. BIN
      inventory_forecast_analysis_report/static/description/assets/icons/training.png
  27. BIN
      inventory_forecast_analysis_report/static/description/assets/icons/update.png
  28. BIN
      inventory_forecast_analysis_report/static/description/assets/icons/user.png
  29. BIN
      inventory_forecast_analysis_report/static/description/assets/icons/wrench.png
  30. BIN
      inventory_forecast_analysis_report/static/description/assets/misc/categories.png
  31. BIN
      inventory_forecast_analysis_report/static/description/assets/misc/check-box.png
  32. BIN
      inventory_forecast_analysis_report/static/description/assets/misc/compass.png
  33. BIN
      inventory_forecast_analysis_report/static/description/assets/misc/corporate.png
  34. BIN
      inventory_forecast_analysis_report/static/description/assets/misc/customer-support.png
  35. BIN
      inventory_forecast_analysis_report/static/description/assets/misc/cybrosys-logo.png
  36. BIN
      inventory_forecast_analysis_report/static/description/assets/misc/features.png
  37. BIN
      inventory_forecast_analysis_report/static/description/assets/misc/logo.png
  38. BIN
      inventory_forecast_analysis_report/static/description/assets/misc/pictures.png
  39. BIN
      inventory_forecast_analysis_report/static/description/assets/misc/pie-chart.png
  40. BIN
      inventory_forecast_analysis_report/static/description/assets/misc/right-arrow.png
  41. BIN
      inventory_forecast_analysis_report/static/description/assets/misc/star.png
  42. BIN
      inventory_forecast_analysis_report/static/description/assets/misc/support.png
  43. BIN
      inventory_forecast_analysis_report/static/description/assets/misc/whatsapp.png
  44. BIN
      inventory_forecast_analysis_report/static/description/assets/modules/1.png
  45. BIN
      inventory_forecast_analysis_report/static/description/assets/modules/2.png
  46. BIN
      inventory_forecast_analysis_report/static/description/assets/modules/3.png
  47. BIN
      inventory_forecast_analysis_report/static/description/assets/modules/4.png
  48. BIN
      inventory_forecast_analysis_report/static/description/assets/modules/5.png
  49. BIN
      inventory_forecast_analysis_report/static/description/assets/modules/6.png
  50. BIN
      inventory_forecast_analysis_report/static/description/assets/screenshots/hero.gif
  51. BIN
      inventory_forecast_analysis_report/static/description/assets/screenshots/sn.png
  52. BIN
      inventory_forecast_analysis_report/static/description/assets/screenshots/sn1.png
  53. BIN
      inventory_forecast_analysis_report/static/description/assets/screenshots/sn10.png
  54. BIN
      inventory_forecast_analysis_report/static/description/assets/screenshots/sn11.png
  55. BIN
      inventory_forecast_analysis_report/static/description/assets/screenshots/sn2.png
  56. BIN
      inventory_forecast_analysis_report/static/description/assets/screenshots/sn3.png
  57. BIN
      inventory_forecast_analysis_report/static/description/assets/screenshots/sn4.png
  58. BIN
      inventory_forecast_analysis_report/static/description/assets/screenshots/sn5.png
  59. BIN
      inventory_forecast_analysis_report/static/description/assets/screenshots/sn6.png
  60. BIN
      inventory_forecast_analysis_report/static/description/assets/screenshots/sn7.png
  61. BIN
      inventory_forecast_analysis_report/static/description/assets/screenshots/sn8.png
  62. BIN
      inventory_forecast_analysis_report/static/description/assets/screenshots/sn9.png
  63. BIN
      inventory_forecast_analysis_report/static/description/banner.png
  64. BIN
      inventory_forecast_analysis_report/static/description/icon.png
  65. BIN
      inventory_forecast_analysis_report/static/description/images/checked.png
  66. BIN
      inventory_forecast_analysis_report/static/description/images/cybrosys.png
  67. 768
      inventory_forecast_analysis_report/static/description/index.html
  68. 68
      inventory_forecast_analysis_report/views/forecast_report_views.xml
  69. 15
      inventory_forecast_analysis_report/views/product_template_views.xml
  70. 21
      inventory_forecast_analysis_report/wizards/__init__.py
  71. 211
      inventory_forecast_analysis_report/wizards/forecast_analysis_report.py
  72. 66
      inventory_forecast_analysis_report/wizards/forecast_analysis_report_views.xml

48
inventory_forecast_analysis_report/README.rst

@ -0,0 +1,48 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: https://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
Inventory Forecast Analysis Report
==================================
* This module helps you to find all the stock quantities like on-hand,
sold, forecasted, pending, minimum and suggested for all the
storable products.
Installation
============
- www.odoo.com/documentation/16.0/setup/install.html
- Install our custom addon
License
-------
General Public License, Version 3 (AGPL v3).
(http://www.gnu.org/licenses/agpl-3.0-standalone.html)
Company
-------
* `Cybrosys Techno Solutions <https://cybrosys.com/>`__
Credits
-------
* Developer:
(V16) Raveena @ Cybrosys
Contacts
--------
* Mail Contact : odoo@cybrosys.com
Bug Tracker
-----------
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported.
Maintainer
==========
.. image:: https://cybrosys.com/images/logo.png
:target: https://cybrosys.com
This module is maintained by Cybrosys Technologies.
For support and more information, please visit https://www.cybrosys.com
Further information
===================
HTML Description: `<static/description/index.html>`__

22
inventory_forecast_analysis_report/__init__.py

@ -0,0 +1,22 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
# Author: Raveena V (odoo@cybrosys.com)
#
# You can modify it under the terms of the GNU AFFERO
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details.
#
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE
# (AGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
#############################################################################
from . import models
from . import wizards

45
inventory_forecast_analysis_report/__manifest__.py

@ -0,0 +1,45 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
# Author: Raveena V (odoo@cybrosys.com)
#
# You can modify it under the terms of the GNU AFFERO
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details.
#
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE
# (AGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
#############################################################################
{
"name": "Inventory Forecast Analysis Report",
"version": "16.0.1.0.0",
"category": "Warehouse",
"summary": "Helps to find all the stock quantities",
"description": "This module allows the user to find all the "
"stock quantities like onhand, sold, forecasted,"
" pending, minimum and suggested for all the products.",
"author": "Cybrosys Techno Solutions",
"maintainer": "Cybrosys Techno Solutions",
"company": "Cybrosys Techno Solutions",
"website": "https://www.cybrosys.com",
"depends": ["stock", "sale"],
"data": [
"security/ir.model.access.csv",
"views/forecast_report_views.xml",
"views/product_template_views.xml",
"wizards/forecast_analysis_report_views.xml",
],
"images": ["static/description/banner.png"],
"license": "AGPL-3",
"installable": True,
"auto_install": False,
"application": False,
}

7
inventory_forecast_analysis_report/doc/RELEASE_NOTES.md

@ -0,0 +1,7 @@
## Module <inventory_forecast_analysis_report>
#### 28.02.2024
#### Version 16.0.1.0.0
#### ADD
- Initial Commit for Inventory Forecast Analysis Report

23
inventory_forecast_analysis_report/models/__init__.py

@ -0,0 +1,23 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
# Author: Raveena V (odoo@cybrosys.com)
#
# You can modify it under the terms of the GNU AFFERO
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details.
#
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE
# (AGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
#############################################################################
from . import forecast_analysis_report
from . import product_template
from . import product_brand

58
inventory_forecast_analysis_report/models/forecast_analysis_report.py

@ -0,0 +1,58 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
# Author: Raveena V (odoo@cybrosys.com)
#
# You can modify it under the terms of the GNU AFFERO
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details.
#
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE
# (AGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
#############################################################################
from odoo import fields, models
class ForecastReport(models.TransientModel):
"""A Transient model for the inventory forecast analysis report"""
_name = "forecast.report"
_description = "Stock Forecast Analysis Report"
_rec_name = "product_id"
product_id = fields.Many2one("product.product", string="Product", help="Product")
product_category_id = fields.Many2one(
"product.category", string="Category", help="Category of the product"
)
product_brand_id = fields.Many2one(
"product.brand", string="Brand", help="Brand of the product"
)
supplier_id = fields.Many2one(
"product.supplierinfo", string="Supplier", help="Supplier of the product"
)
partner_id = fields.Many2one(
"res.partner",
string="Partner",
related="supplier_id.partner_id",
store=True,
help="Primary supplier of the product",
)
location_id = fields.Many2one(
"stock.location", string="Location", help="Product Location"
)
sold = fields.Float(string="Sold Qty", help="The qty that is already sold")
on_hand = fields.Float(string="On Hand Qty", help="On-hand qty of the product")
forecast = fields.Float(
string="Forecasted Qty", help="Forecasted qty of the product"
)
pending = fields.Float(string="Pending Qty", help="Pending quantity")
minimum = fields.Float(string="Minimum Qty", help="Minimum quantity")
suggested = fields.Float(string="Suggested Qty", help="Suggested quantity")

33
inventory_forecast_analysis_report/models/product_brand.py

@ -0,0 +1,33 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
# Author: Raveena V (odoo@cybrosys.com)
#
# You can modify it under the terms of the GNU AFFERO
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details.
#
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE
# (AGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
#############################################################################
from odoo import fields, models
class ProductBrand(models.Model):
_name = "product.brand"
_description = "Product Brand"
_rec_name = 'brand'
brand = fields.Char(
string='Brand', required=True,
help="Name of the Brand that the product belongs to.")
description = fields.Text(string='Description',
help="Description of the brand")

41
inventory_forecast_analysis_report/models/product_template.py

@ -0,0 +1,41 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
# Author: Raveena V (odoo@cybrosys.com)
#
# You can modify it under the terms of the GNU AFFERO
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details.
#
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE
# (AGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
#############################################################################
from odoo import api, fields, models
class ProductTemplate(models.Model):
_inherit = "product.template"
product_brand_id = fields.Many2one('product.brand', string="Product Brand",
help="Brand of the Product.")
supplier_id = fields.Many2one(
'product.supplierinfo', string="Supplier",
compute="_compute_suppliers",
store=True, help="Supplier of the Product.")
@api.depends('seller_ids.partner_id')
def _compute_suppliers(self):
"""This function is used to compute the main supplier
of the product."""
for rec in self:
rec.supplier_id = False
if rec.seller_ids:
rec.supplier_id = rec.seller_ids[0]

4
inventory_forecast_analysis_report/security/ir.model.access.csv

@ -0,0 +1,4 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_product_brand,access.product.brand,model_product_brand,base.group_user,1,1,1,1
access_forecast_analysis_report,access.forecast.analysis.report,model_forecast_analysis_report,base.group_user,1,1,1,1
access_forecast_report,access.forecast.report,model_forecast_report,base.group_user,1,1,1,1
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 access_product_brand access.product.brand model_product_brand base.group_user 1 1 1 1
3 access_forecast_analysis_report access.forecast.analysis.report model_forecast_analysis_report base.group_user 1 1 1 1
4 access_forecast_report access.forecast.report model_forecast_report base.group_user 1 1 1 1

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 310 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 576 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 733 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 911 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
inventory_forecast_analysis_report/static/description/assets/icons/logo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 673 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 878 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 653 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 905 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 839 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 427 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 627 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 988 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 589 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 967 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 455 KiB

BIN
inventory_forecast_analysis_report/static/description/assets/screenshots/sn.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 149 KiB

BIN
inventory_forecast_analysis_report/static/description/assets/screenshots/sn1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

BIN
inventory_forecast_analysis_report/static/description/assets/screenshots/sn10.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

BIN
inventory_forecast_analysis_report/static/description/assets/screenshots/sn11.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

BIN
inventory_forecast_analysis_report/static/description/assets/screenshots/sn2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

BIN
inventory_forecast_analysis_report/static/description/assets/screenshots/sn3.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

BIN
inventory_forecast_analysis_report/static/description/assets/screenshots/sn4.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 121 KiB

BIN
inventory_forecast_analysis_report/static/description/assets/screenshots/sn5.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 143 KiB

BIN
inventory_forecast_analysis_report/static/description/assets/screenshots/sn6.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 KiB

BIN
inventory_forecast_analysis_report/static/description/assets/screenshots/sn7.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 258 KiB

BIN
inventory_forecast_analysis_report/static/description/assets/screenshots/sn8.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

BIN
inventory_forecast_analysis_report/static/description/assets/screenshots/sn9.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 272 KiB

BIN
inventory_forecast_analysis_report/static/description/banner.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

BIN
inventory_forecast_analysis_report/static/description/icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

BIN
inventory_forecast_analysis_report/static/description/images/checked.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
inventory_forecast_analysis_report/static/description/images/cybrosys.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

768
inventory_forecast_analysis_report/static/description/index.html

@ -0,0 +1,768 @@
<div style="background-color: #714B67; height: 810px; width: 100%; padding: 15px; position: relative;">
<!-- TITLE BAR -->
<div class="d-flex align-items-center justify-content-between"
style="border-bottom: 1px solid #875A7B; padding: 15px; display: flex; justify-content: space-between; align-items: center;">
<img src="assets/misc/cybrosys-logo.png" width="42" height="42"
style="width: 42px; height: 42px;"/>
<div>
<div
style="color: #7C7BAD; font-size: 14px; font-family: 'Montserrat', sans-serif; font-weight: bold; background-color: white; display: inline-block; padding: 3px 10px; border-radius: 50px;"
class="mr-2">
<i class="fa fa-check mr-1"></i>Community
</div>
<div
style="color: #7C7BAD; font-size: 14px; font-family: 'Montserrat', sans-serif; font-weight: bold; background-color: white; display: inline-block; padding: 3px 10px; border-radius: 50px;"
class="mr-2">
<i class="fa fa-check mr-1"></i>Enterprise
</div>
<div
style="color: #017E84; font-size: 14px; font-family: 'Montserrat', sans-serif; font-weight: bold; background-color: white; display: inline-block; padding: 3px 10px; border-radius: 50px;"
class="mr-2">
<i class="fa fa-check mr-1"></i>Odoo.sh
</div>
</div>
</div>
<div class="container" style="padding: 4rem 1.5rem !important">
<div class="row" style="height: 900px !important;">
<div class="col-sm-12 col-md-12 col-lg-12"
style="padding: 4rem 1rem !important; background-color: #714B67 !important; height: 600px !important; border-radius: 20px !important;">
<h1
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #FFFFFF !important; font-size: 3.5rem !important; text-align: center !important;">
Inventory Forecast Analysis Report</h1>
<p
style="font-family: 'Montserrat', sans-serif !important; font-weight: 300 !important; color: #FFFFFF !important; font-size: 1.4rem !important; text-align: center !important;">
To Find All The Stock Quantities
</p>
<img src="assets/screenshots/hero.gif" class="img-responsive"
width="100%" height="auto"/>
</div>
</div>
<div class="row">
<div class="col-md-12"
style="border-bottom: 1px solid #d5d5d5 !important; margin-bottom: 2rem !important">
<h2
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.5rem !important;">
<i class="fa fa-compass mr-2"></i>Explore this module
</h2>
</div>
<div class="col-md-6">
<a href="#overview" style="text-decoration: none !important;">
<div class="row"
style="background-color: #f5f2f5 !important; border-radius: 10px !important; margin: 1rem !important; padding: 1.5em !important; height: 100px !important;">
<div class="col-8">
<h3
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.2rem !important;">
Overview</h3>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #714B67 !important; font-size: 0.9rem !important;">
Learn more about this module</p>
</div>
<div class="col-4 text-right d-flex justify-content-end align-items-center">
<i class="fa fa-chevron-right"
style="color: #714B67 !important;"></i>
</div>
</div>
</a>
</div>
<div class="col-md-6">
<a href="#features" style="text-decoration: none !important;">
<div class="row"
style="background-color: #f5f2f5 !important; border-radius: 10px !important; margin: 1rem !important; padding: 1.5em !important; height: 100px !important;">
<div class="col-8">
<h3
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.2rem !important;">
Features</h3>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #714B67 !important; font-size: 0.9rem !important;">
View features of this module</p>
</div>
<div class="col-4 text-right d-flex justify-content-end align-items-center">
<i class="fa fa-chevron-right"
style="color: #714B67 !important;"></i>
</div>
</div>
</a>
</div>
<div class="col-md-6">
<a href="#screenshots"
style="text-decoration: none !important;">
<div class="row"
style="background-color: #f5f2f5 !important; border-radius: 10px !important; margin: 1rem !important; padding: 1.5em !important; height: 100px !important;">
<div class="col-8">
<h3
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.2rem !important;">
Screenshots</h3>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #714B67 !important; font-size: 0.9rem !important;">
See key screenshots of this module</p>
</div>
<div class="col-4 text-right d-flex justify-content-end align-items-center">
<i class="fa fa-chevron-right"
style="color: #714B67 !important;"></i>
</div>
</div>
</a>
</div>
</div>
<div class="row" id="overview">
<div class="col-md-12"
style="border-bottom: 1px solid #d5d5d5 !important; margin: 2rem 0 !important">
<h2
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.5rem !important;">
<i class="fa fa-pie-chart mr-2"></i>Overview
</h2>
</div>
<div class="col-mg-12 pl-3">
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important; line-height: 30px !important;">
This module helps you to find all the stock quantities like
onhand, sold, forecasted, pending, minimum and suggested
for all the products.</p>
</div>
</div>
<div class="row" id="features">
<div class="col-md-12"
style="border-bottom: 1px solid #d5d5d5 !important; margin: 2rem 0 !important">
<h2
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.5rem !important;">
<i class="fa fa-star mr-2"></i>Features
</h2>
</div>
<div class="col-md-6 pl-3 py-3 d-flex">
<div>
<img src="assets/icons/check.png">
</div>
<div>
<h4
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Report for a specific duration</h4>
<p style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
You can generate the forecast analysis report for a
specific duration like 1week, 2weeks etc. upto 36
months.</p>
</div>
</div>
<div class="col-md-6 pl-3 py-3 d-flex">
<div>
<img src="assets/icons/check.png">
</div>
<div>
<h4
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Report by category</h4>
<p style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
You can generate the forecast analysis report for a
specific Product Category or Parent Category.</p>
</div>
</div>
<div class="col-md-6 pl-3 py-3 d-flex">
<div>
<img src="assets/icons/check.png">
</div>
<div>
<h4
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Report by supplier</h4>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
You can generate the forecast analysis report for a
specific Supplier.</p>
</div>
</div>
<div class="col-md-6 pl-3 py-3 d-flex">
<div>
<img src="assets/icons/check.png">
</div>
<div>
<h4
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Report by brand</h4>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
You can generate the forecast analysis report for a
specific Product Brand.</p>
</div>
</div>
<div class="col-md-6 pl-3 py-3 d-flex">
<div>
<img src="assets/icons/check.png">
</div>
<div>
<h4
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Report by stock location</h4>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
You can generate the forecast analysis report for a
specific Stock location.</p>
</div>
</div>
</div>
<div class="row" id="screenshots">
<div class="col-md-12"
style="border-bottom: 1px solid #d5d5d5 !important; margin: 2rem 0 !important">
<h2
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.5rem !important;">
<i class="fa fa-image mr-2"></i>Screenshots
</h2>
</div>
<div class="col-lg-12 my-2">
<h4 class="mt-2"
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Forecast analysis report</h4>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
You can find the Forecast Analysis Report menu under the
Reporting menu of inventory module
</p>
<img src="assets/screenshots/sn1.png"
class="img-responsive img-thumbnail border" width="100%"
height="auto"/>
</div>
<div class="col-lg-12 my-2">
<h4 class="mt-2"
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Report duration</h4>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
You can select the duration of the report from the report
wizard. You can select from the 10 different durations.
</p>
<img src="assets/screenshots/sn2.png"
class="img-responsive img-thumbnail border" width="100%"
height="auto"/>
</div>
<div class="col-lg-12 my-2">
<h4 class="mt-2"
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Product category/ parent category</h4>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
You can select the category of the product if the report
for a specific category, otherwise you can select the
parent category.If you selected the parent category, the
report will generate based on the prooducts that have a
particular parent category. Anyhow, if you left these
fields blank, you will get the report for all
categories.</p>
<img src="assets/screenshots/sn3.png"
class="img-responsive img-thumbnail border" width="100%"
height="auto"/>
</div>
<div class="col-lg-12 my-2">
<h4 class="mt-2"
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Product brand</h4>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
You can select the product brand, if you are generating the
report for a specific brand, otherwise left blank.</p>
<img src="assets/screenshots/sn4.png"
class="img-responsive img-thumbnail border" width="100%"
height="auto"/>
</div>
<div class="col-lg-12 my-2">
<h4 class="mt-2"
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Location</h4>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
You can select the location if you are generating a report
for a specific stock location, otherwise, left blank.</p>
<img src="assets/screenshots/sn5.png"
class="img-responsive img-thumbnail border" width="100%"
height="auto"/>
</div>
<div class="col-lg-12 my-2">
<h4 class="mt-2"
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Supplier</h4>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
You can select the supplier if you are generating a report
for a specific supplier, otherwise, left blank.</p>
<img src="assets/screenshots/sn6.png"
class="img-responsive img-thumbnail border" width="100%"
height="auto"/>
</div>
<div class="col-lg-12 my-2">
<h4 class="mt-2"
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
The report</h4>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
You can view the report with the fields like product,
category, supplier, brand, location,csold qty, onhand qty,
forecasted qty, pending qty, minimum qty and suggested
qty.</p>
<img src="assets/screenshots/sn7.png"
class="img-responsive img-thumbnail border" width="100%"
height="auto"/>
</div>
<div class="col-lg-12 my-2">
<h4 class="mt-2"
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Report based on category</h4>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
You can select a particular Product category</p>
<img src="assets/screenshots/sn8.png"
class="img-responsive img-thumbnail border" width="100%"
height="auto"/>
</div>
<div class="col-lg-12 my-2">
<h4 class="mt-2"
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Report based on category</h4>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
You can view the report based on selected category.</p>
<img src="assets/screenshots/sn9.png"
class="img-responsive img-thumbnail border" width="100%"
height="auto"/>
</div>
<div class="col-lg-12 my-2">
<h4 class="mt-2"
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Report based on supplier</h4>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
You can select a particular product category.</p>
<img src="assets/screenshots/sn10.png"
class="img-responsive img-thumbnail border" width="100%"
height="auto"/>
</div>
<div class="col-lg-12 my-2">
<h4 class="mt-2"
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Report based on supplier</h4>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
You can view the report based on selected supplier.</p>
<img src="assets/screenshots/sn11.png"
class="img-responsive img-thumbnail border" width="100%"
height="auto"/>
</div>
</div>
<!-- RELATED PRODUCTS -->
<div class="d-flex align-items-center" style="border-bottom: 2px solid #714B67; padding: 15px 0px;">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/categories.png" />
</div>
<h2 class="mt-2" style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">Related
Products
</h2>
</div>
<div class="row">
<div class="col-sm-12">
<div id="demo1" class="row carousel slide" data-ride="carousel">
<!-- The slideshow -->
<div class="carousel-inner" style="padding: 30px;">
<div class="carousel-item" style="min-height: 198.656px;">
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left">
<a href="https://apps.odoo.com/apps/modules/16.0/todo_list/" target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block" style="border-radius: 0px;" src="assets/modules/1.png">
</div>
</a>
</div>
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left">
<a href="https://apps.odoo.com/apps/modules/16.0/multi_branch_base/" target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block" style="border-radius: 0px;" src="assets/modules/2.png">
</div>
</a>
</div>
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left">
<a href="https://apps.odoo.com/apps/modules/16.0/odoo_dynamic_dashboard/" target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block" style="border-radius: 0px;" src="assets/modules/3.png">
</div>
</a>
</div>
</div>
<div class="carousel-item active" style="min-height: 198.656px;">
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left">
<a href="https://apps.odoo.com/apps/modules/16.0/hide_menu_user/" target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block" style="border-radius: 0px;" src="assets/modules/4.png">
</div>
</a>
</div>
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left">
<a href="https://apps.odoo.com/apps/modules/16.0/readonly_unit_price_cybrosys/" target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block" style="border-radius: 0px;" src="assets/modules/5.png">
</div>
</a>
</div>
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left">
<a href="https://apps.odoo.com/apps/modules/16.0/activity_dashboard_mngmnt/" target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block" style="border-radius: 0px;" src="assets/modules/6.png">
</div>
</a>
</div>
</div>
</div>
<!-- Left and right controls -->
<a class="carousel-control-prev" href="#demo1" data-slide="prev" style="width:35px; color:#000"> <span
class="carousel-control-prev-icon"><i class="fa fa-chevron-left" style="font-size:24px"></i></span>
</a> <a class="carousel-control-next" href="#demo1" data-slide="next" style="width:35px; color:#000">
<span class="carousel-control-next-icon"><i class="fa fa-chevron-right" style="font-size:24px"></i></span>
</a>
</div>
</div>
</div>
<!-- END OF RELATED PRODUCTS -->
<!-- OUR SERVICES -->
<section class="container" style="margin-top: 6rem !important;">
<div class="row">
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center">
<h2 style="color: #212529 !important;">Our Services</h2>
<hr
style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 80px !important; margin-bottom: 2rem !important;"/>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #1dd1a1 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/cogs.png" class="img-responsive"
height="48px" width="48px">
</div>
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Customization</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #ff6b6b !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/wrench.png"
class="img-responsive" height="48px" width="48px">
</div>
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Implementation</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #6462CD !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/lifebuoy.png"
class="img-responsive" height="48px" width="48px">
</div>
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Support</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #ffa801 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/user.png" class="img-responsive"
height="48px" width="48px">
</div>
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Hire
Odoo
Developer</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #54a0ff !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/puzzle.png"
class="img-responsive" height="48px" width="48px">
</div>
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Integration</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #6d7680 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/update.png"
class="img-responsive" height="48px" width="48px">
</div>
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Migration</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #786fa6 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/consultation.png"
class="img-responsive" height="48px" width="48px">
</div>
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Consultancy</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #f8a5c2 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/training.png"
class="img-responsive" height="48px" width="48px">
</div>
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Implementation</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #e6be26 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/license.png"
class="img-responsive" height="48px" width="48px">
</div>
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Licensing Consultancy</h6>
</div>
</div>
</section>
<!-- END OF END OF OUR SERVICES -->
<!-- OUR INDUSTRIES -->
<section class="container" style="margin-top: 6rem !important;">
<div class="row">
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center">
<h2 style="color: #212529 !important;">Our Industries</h2>
<hr
style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 80px !important; margin-bottom: 2rem !important;"/>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/trading-black.png"
class="img-responsive mb-3" height="48px"
width="48px">
<h5
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Trading
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Easily procure
and
sell your products</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/pos-black.png"
class="img-responsive mb-3" height="48px"
width="48px">
<h5
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
POS
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Easy
configuration
and convivial experience</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/education-black.png"
class="img-responsive mb-3" height="48px"
width="48px">
<h5
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Education
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
A platform for
educational management</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/manufacturing-black.png"
class="img-responsive mb-3" height="48px"
width="48px">
<h5
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Manufacturing
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Plan, track and
schedule your operations</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/ecom-black.png"
class="img-responsive mb-3" height="48px"
width="48px">
<h5
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
E-commerce &amp; Website
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Mobile
friendly,
awe-inspiring product pages</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/service-black.png"
class="img-responsive mb-3" height="48px"
width="48px">
<h5
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Service Management
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Keep track of
services and invoice</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/restaurant-black.png"
class="img-responsive mb-3" height="48px"
width="48px">
<h5
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Restaurant
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Run your bar or
restaurant methodically</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/hotel-black.png"
class="img-responsive mb-3" height="48px"
width="48px">
<h5
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Hotel Management
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
An
all-inclusive
hotel management application</p>
</div>
</div>
</div>
</section>
<!-- END OF END OF OUR INDUSTRIES -->
<!-- FOOTER -->
<!-- Footer Section -->
<section class="container" style="margin: 5rem auto 2rem;">
<div class="row" style="max-width:1540px;">
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center">
<h2 style="color: #212529 !important;">Need Help?</h2>
<hr
style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 80px !important; margin-bottom: 2rem !important;"/>
</div>
</div>
<!-- Contact Cards -->
<div class="row d-flex justify-content-center align-items-center"
style="max-width:1540px; margin: 0 auto 2rem auto;">
<div class="col-lg-12"
style="padding: 0rem 3rem 2rem; border-radius: 10px; margin-right: 3rem; ">
<div class="row mt-4">
<div class="col-lg-4">
<a href="mailto:odoo@cybrosys.com" target="_blank"
class="btn btn-block mb-2 deep_hover"
style="text-decoration: none; background-color: #4d4d4d; color: #FFF; border-radius: 4px;"><i
class="fa fa-envelope mr-2"></i>odoo@cybrosys.com</a>
</div>
<div class="col-lg-4">
<a href="https://api.WhatsApp.com/send?phone=918606827707"
target="_blank"
class="btn btn-block mb-2 deep_hover"
style="text-decoration: none; background-color: #25D366; color: #FFF; border-radius: 4px;"><i
class="fa fa-WhatsApp mr-2"></i>WhatsApp</a>
</div>
<div class="col-lg-4">
<a href="mailto:info@cybrosys.com" target="_blank"
class="btn btn-block deep_hover"
style="text-decoration: none; background-color: #4d4d4d; color: #FFF; border-radius: 4px;"><i
class="fa fa-envelope mr-2"></i>info@cybrosys.com</a>
</div>
</div>
</div>
</div>
<!-- End of Contact Cards -->
</section>
<!-- Footer -->
<section class="oe_container" style="padding: 2rem 3rem 1rem;">
<div class="row"
style="max-width:1540px; margin: 0 auto; margin-right: 3rem; ">
<!-- Logo -->
<div class="col-lg-12 d-flex justify-content-center align-items-center"
style="margin-top: 3rem;">
<img src="https://www.cybrosys.com/images/logo.png"
width="200px" height="auto"/>
</div>
<!-- End of Logo -->
<div class="col-lg-12">
<hr
style="margin-top: 3rem;background: linear-gradient(90deg, rgba(2,0,36,0) 0%, rgba(229,229,229,1) 33%, rgba(229,229,229,1) 58%, rgba(0,212,255,0) 100%); height: 2px; border-style: none;">
<!-- End of Footer Section -->
</div>
</div>
</section>
<!-- END OF FOOTER -->
</div>
</div>

68
inventory_forecast_analysis_report/views/forecast_report_views.xml

@ -0,0 +1,68 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Forecast analysis report tree view -->
<record id="forecast_report_view_tree" model="ir.ui.view">
<field name="name">forecast.report.view.tree</field>
<field name="model">forecast.report</field>
<field name="arch" type="xml">
<tree string="Forecast Analysis Report">
<field name="product_id"/>
<field name="product_category_id"/>
<field name="product_brand_id"/>
<field name="supplier_id"/>
<field name="location_id"/>
<field name="sold"/>
<field name="on_hand"/>
<field name="forecast"/>
<field name="pending"/>
<field name="minimum"/>
<field name="suggested"/>
</tree>
</field>
</record>
<!-- Forecast analysis report pivot view -->
<record id="forecast_report_view_pivot" model="ir.ui.view">
<field name="name">forecast.report.view.pivot</field>
<field name="model">forecast.report</field>
<field name="arch" type="xml">
<pivot string="Forecast Analysis Report" disable_linking="True"
display_quantity="true">
<field name="location_id" type="row"/>
<field name="product_id" type="row"/>
<field name="product_category_id" type="measure"/>
<field name="product_brand_id" type="measure"/>
<field name="sold" type="measure"/>
<field name="pending" type="measure"/>
<field name="minimum" type="measure"/>
<field name="suggested" type="measure"/>
<field name="forecast" type="measure"/>
</pivot>
</field>
</record>
<!-- Forecast analysis report search view -->
<record id="forecast_report_view_search" model="ir.ui.view">
<field name="name">forecast.report.view.search</field>
<field name="model">forecast.report</field>
<field name="arch" type="xml">
<search string="Forecast Analysis Report">
<field name="location_id"/>
<field name="product_id"/>
<field name="product_category_id"/>
<field name="product_brand_id"/>
<group expand="0" string="Group By">
<filter string="Location" name="location_id" domain="[]"
context="{'group_by': 'location_id'}"/>
<filter string="Product" name="product_id" domain="[]"
context="{'group_by': 'product_id'}"/>
<filter string="Category" name="product_category_id"
domain="[]"
context="{'group_by': 'product_category_id'}"/>
<filter string="Supplier" name="supplier_id" domain="[]"
context="{'group_by': 'partner_id'}"/>
<filter string="Brand" name="product_brand_id" domain="[]"
context="{'group_by': 'product_brand_id'}"/>
</group>
</search>
</field>
</record>
</odoo>

15
inventory_forecast_analysis_report/views/product_template_views.xml

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Inherits product_template to add the brand -->
<record id="product_template_only_form_view" model="ir.ui.view">
<field name="name">product.template.view.form.inherit.inventory.forecast.analysis.report</field>
<field name="model">product.template</field>
<field name="inherit_id"
ref="product.product_template_only_form_view"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='default_code']" position="after">
<field name="product_brand_id"/>
</xpath>
</field>
</record>
</odoo>

21
inventory_forecast_analysis_report/wizards/__init__.py

@ -0,0 +1,21 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
# Author: Raveena V (odoo@cybrosys.com)
#
# You can modify it under the terms of the GNU AFFERO
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details.
#
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE
# (AGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
#############################################################################
from . import forecast_analysis_report

211
inventory_forecast_analysis_report/wizards/forecast_analysis_report.py

@ -0,0 +1,211 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
# Author: Raveena V (odoo@cybrosys.com)
#
# You can modify it under the terms of the GNU AFFERO
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details.
#
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE
# (AGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
#############################################################################
from datetime import datetime
from dateutil.relativedelta import relativedelta
from odoo import api, fields, models
class ForecastAnalysisReportWizard(models.TransientModel):
_name = 'forecast.analysis.report'
_description = 'Forecast Analysis Report'
product_category_id = fields.Many2one(
'product.category', string="Product Category",
help="Category of the product")
parent_category_id = fields.Many2one(
'product.category', string="Parent Category",
help="Parent category of product")
supplier_id = fields.Many2one(
'product.supplierinfo', string="Supplier",
help="Supplier/Vendor of the Product.")
product_brand_id = fields.Many2one('product.brand', string="Product Brand",
help="Brand of the Product.")
period = fields.Selection([('1week', 'Last 1 week'),
('2week', 'Last 2 weeks'),
('3week', 'Last 3 weeks'),
('1month', 'Last 1 month'),
('2months', 'Last 2 months'),
('3months', 'Last 3 months'),
('6months', 'Last 6 months'),
('12months', 'Last 12 months'),
('24months', 'Last 24 months'),
('36months', 'Last 36 months'),
], string='Duration', required=True,
default='3months',
help="The duration of the report. 3 months is "
"the default duration")
location_ids = fields.Many2many('stock.location', string="Locations",
help="Product locations.")
company_id = fields.Many2one('res.company',
default=lambda self: self.env.company,
string="Company",
help="Company of the Product belongs to.")
partner_id = fields.Many2one('res.partner', string="Partner",
help="Related Partner.")
@api.onchange('parent_category_id')
def _onchange_parent_category_id(self):
"""This function will return the domain for the field
product_category_id with respect to the parent_category_id"""
if self.parent_category_id:
return {'domain': {
'product_category_id': [
('parent_id', '=', self.parent_category_id.id)]}}
return {'domain': {
'product_category_id': ()}}
def _compute_date(self):
"""This function will calculate the start_date with respect to the
period and returns the result"""
res = datetime.today() + relativedelta(months=-3)
if self.period == '1week':
res = datetime.today() + relativedelta(weeks=-1)
elif self.period == '2week':
res = datetime.today() + relativedelta(weeks=-2)
elif self.period == '3week':
res = datetime.today() + relativedelta(weeks=-3)
elif self.period == '1month':
res = datetime.today() + relativedelta(months=-1)
elif self.period == '6months':
res = datetime.today() + relativedelta(months=-6)
elif self.period == '12months':
res = datetime.today() + relativedelta(months=-12)
elif self.period == '24months':
res = datetime.today() + relativedelta(months=-24)
elif self.period == '36months':
res = datetime.today() + relativedelta(months=-36)
elif self.period == '2months':
res = datetime.today() + relativedelta(months=-2)
elif self.period == '5months':
res = datetime.today() + relativedelta(months=-5)
return res
def action_print_report(self):
"""This function will generate the report based on the values
on the report wizard and returns the report."""
previous_report = self.env['forecast.report'].search([])
previous_report.unlink() if previous_report else False
suppliers = self.env['product.supplierinfo'].search(
[('partner_id', '=', self.partner_id.id)])
category_ids = []
if self.parent_category_id:
# if there is a parent category, the report will be generated based
# on the product category as the sub-sub categories
category_ids = self.env['product.category'].search(
[('parent_id', '=', self.parent_category_id.id)])
categ_list = category_ids.ids if category_ids else []
if categ_list:
for rec in categ_list:
sub_category = self.env['product.category'].search(
[('parent_id', '=', rec)])
for category in sub_category.ids:
if category not in categ_list:
categ_list.append(category)
category_ids = self.env['product.category'].browse(categ_list)
domain = []
# if both categories are present, it will generate the
# report based on the product category only
if self.parent_category_id and self.product_category_id:
domain += [('categ_id', '=', self.product_category_id.id)]
elif self.product_category_id and not self.parent_category_id:
domain += [('categ_id', '=', self.product_category_id.id)]
elif not self.product_category_id and self.parent_category_id:
domain += [('categ_id', '=', self.parent_category_id.id)]
if self.partner_id:
domain += [('supplier_id', 'in', suppliers.ids)]
if self.product_brand_id:
domain += [('product_brand_id', '=', self.product_brand_id.id)]
products = self.env['product.product'].search(domain)
product_ids = tuple([product.id for product in products])
start_date = self._compute_date()
current_date = datetime.today()
query = """
SELECT sum(sl.product_uom_qty) AS product_uom_qty,
sl.product_id, sum(sl.qty_invoiced) AS qty_invoiced
FROM sale_order_line AS sl
JOIN sale_order AS so ON sl.order_id = so.id
WHERE so.state IN ('sale','done')
AND so.date_order::date >= %s
AND so.date_order::date <= %s
AND sl.product_id in %s
group by sl.product_id"""
params = start_date.date(), current_date.date(), \
product_ids if product_ids else (0, 0, 0, 0)
self._cr.execute(query, params)
result = self._cr.dictfetchall()
locations = self.location_ids
if not locations:
locations = self.env['stock.location'].search([
('name', '=', 'Stock')])
for product in products:
for location in locations:
warehouse = location.warehouse_id.id
sold = 0
for sol_product in result:
if sol_product['product_id'] == product.id:
sold = sol_product['qty_invoiced']
available_qty = product.with_context(
{'from_date': start_date, 'to_date': current_date,
'warehouse': warehouse}).qty_available
forecasted_qty = product.with_context(
{'warehouse': warehouse}).virtual_available
reorder_qty = self.env['stock.warehouse.orderpoint'].search(
[('product_id', '=', product.id),
('location_id', '=', product.id)])
reorder_min = sum(
[q.product_min_qty for q in reorder_qty])
minimum_qty = 0
if available_qty < reorder_min:
minimum_qty = reorder_min
pending = product.with_context(
{'from_date': start_date, 'to_date': current_date,
'location': location.id}).incoming_qty
suggested = sold - (forecasted_qty + pending + minimum_qty)
vals = {
'sold': sold,
'product_id': product.id,
'product_category_id': product.categ_id.id,
'supplier_id': product.seller_ids.ids[
0] if product.seller_ids else False,
'product_brand_id': product.product_brand_id.id,
'on_hand': available_qty,
'pending': pending,
'minimum': minimum_qty,
'suggested': suggested,
'forecast': forecasted_qty,
'location_id': location.id
}
self.env['forecast.report'].create(vals)
return {
'name': 'Forecast Analysis Report',
'res_model': 'forecast.report',
'type': 'ir.actions.act_window',
'view_type': 'form',
'view_mode': 'tree,form',
'views': [(self.env.ref('inventory_forecast_analysis_report.'
'forecast_report_view_tree'
).id, 'tree'),
(False, 'form'),
(self.env.ref('inventory_forecast_analysis_report.'
'forecast_report_view_pivot').id,
'pivot')],
'target': 'current',
}

66
inventory_forecast_analysis_report/wizards/forecast_analysis_report_views.xml

@ -0,0 +1,66 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Forecast report menu action -->
<record id="inventory_forecast_report_action" model="ir.actions.act_window">
<field name="name">Forecast Analysis Report</field>
<field name="res_model">forecast.analysis.report</field>
<field name="view_mode">form</field>
<field name="target">new</field>
</record>
<!-- Menu for forecast analysis report -->
<menuitem id="inv_forecast_report_wizard_menu"
name="Forecast Analysis Report"
parent="stock.menu_warehouse_report"
action="inventory_forecast_report_action" sequence="300"/>
<!-- Forecast analysis report wizard form view -->
<record id="inv_forecast_report_wizard" model="ir.ui.view">
<field name="name">Inventory Forecast Analysis Report Wizard
</field>
<field name="model">forecast.analysis.report</field>
<field name="arch" type="xml">
<form>
<sheet>
<group>
<group string="Duration">
<field name="period" class="oe_inline"/>
</group>
<group string="Supplier">
<field name="partner_id"
domain="[('supplier_rank', '>', 0)]"
options="{'no_create': True}"
class="oe_inline"/>
</group>
</group>
<group string="Product Details">
<group>
<field name="parent_category_id"
options="{'no_open': True, 'no_create': True}"
class="oe_inline"/>
<field name="product_category_id"
options="{'no_open': True, 'no_create': True}"
class="oe_inline"/>
</group>
<group>
<field name="product_brand_id"
options="{'no_open': True, 'no_create': True}"
class="oe_inline"/>
<field name="location_ids"
widget="many2many_tags"
domain="[('usage', '=', 'internal')]"
options="{'no_open': True, 'no_create': True}"
class="oe_inline"/>
</group>
</group>
</sheet>
<footer>
<button name="action_print_report" string="Print"
type="object" default_focus="1"
class="oe_highlight"/>
<button string="Cancel" class="oe_link"
special="cancel"/>
</footer>
</form>
</field>
</record>
</odoo>
Loading…
Cancel
Save