@ -0,0 +1,49 @@ |
|||||
|
.. image:: https://img.shields.io/badge/license-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/15.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: |
||||
|
(V15) Sabeel @ Cybrosys |
||||
|
(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>`__ |
@ -0,0 +1,22 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Sabeel B (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 |
@ -0,0 +1,45 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Sabeel B (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": "15.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", |
||||
|
"company": "Cybrosys Techno Solutions", |
||||
|
"maintainer": "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, |
||||
|
} |
@ -0,0 +1,6 @@ |
|||||
|
## Module <inventory_forecast_analysis_report> |
||||
|
|
||||
|
#### 26.06.2024 |
||||
|
#### Version 15.0.1.0.0 |
||||
|
#### ADD |
||||
|
- Initial Commit for Inventory Forecast Analysis Report |
@ -0,0 +1,23 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Sabeel B (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 |
@ -0,0 +1,57 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Sabeel B (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( |
||||
|
"res.partner", string="Supplier", |
||||
|
help="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") |
@ -0,0 +1,33 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Sabeel B (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") |
@ -0,0 +1,30 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Sabeel B (odoo@cybrosys.com) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU AFFERO |
||||
|
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
||||
|
# |
||||
|
# This program is distributed in the hope that it will be useful, |
||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
|
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
||||
|
# (AGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
from odoo import fields, models |
||||
|
|
||||
|
|
||||
|
class ProductTemplate(models.Model): |
||||
|
"""Inherited product_template to add new fields""" |
||||
|
_inherit = "product.template" |
||||
|
|
||||
|
product_brand_id = fields.Many2one('product.brand', |
||||
|
string="Product Brand", |
||||
|
help="Brand of the Product.") |
|
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 1.6 KiB |
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: 6.3 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 3.4 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: 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: 589 B |
After Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 967 B |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 3.8 KiB |
After Width: | Height: | Size: 5.0 KiB |
After Width: | Height: | Size: 59 KiB |
After Width: | Height: | Size: 60 KiB |
After Width: | Height: | Size: 60 KiB |
After Width: | Height: | Size: 60 KiB |
After Width: | Height: | Size: 56 KiB |
After Width: | Height: | Size: 58 KiB |
After Width: | Height: | Size: 47 KiB |
After Width: | Height: | Size: 324 KiB |
After Width: | Height: | Size: 61 KiB |
After Width: | Height: | Size: 49 KiB |
After Width: | Height: | Size: 100 KiB |
After Width: | Height: | Size: 180 KiB |
After Width: | Height: | Size: 201 KiB |
After Width: | Height: | Size: 283 KiB |
After Width: | Height: | Size: 290 KiB |
After Width: | Height: | Size: 64 KiB |
After Width: | Height: | Size: 75 KiB |
After Width: | Height: | Size: 98 KiB |
After Width: | Height: | Size: 50 KiB |
After Width: | Height: | Size: 8.9 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 51 KiB |
@ -0,0 +1,804 @@ |
|||||
|
<div class="container" |
||||
|
style="padding: 1rem !important; margin-bottom: 1rem !important;"> |
||||
|
<div class="row"> |
||||
|
<div class="col-sm-12 col-md-12 col-lg-12 d-flex justify-content-between" |
||||
|
style="border-bottom: 1px solid #d5d5d5;"> |
||||
|
<div class="my-3"> |
||||
|
<img src="./assets/icons/logo.png" |
||||
|
style="width: auto !important; height: 40px !important;"> |
||||
|
</div> |
||||
|
<div class="my-3 d-flex align-items-center"> |
||||
|
<div |
||||
|
style="background-color: #7C7BAD !important; color: #fff !important; font-weight: 600 !important; padding: 5px 15px 8px !important; margin: 0 5px !important;"> |
||||
|
<i class="fa fa-check mr-1"></i>Community |
||||
|
</div> |
||||
|
<div |
||||
|
style="background-color: #875A7B !important; color: #fff !important; font-weight: 600 !important; padding: 5px 15px 8px !important; margin: 0 5px !important;"> |
||||
|
<i class="fa fa-check mr-1"></i>Enterprise |
||||
|
</div> <div |
||||
|
style="background-color: #315A7B !important; color: #fff !important; font-weight: 600 !important; padding: 5px 15px 8px !important; margin: 0 5px !important;"> |
||||
|
<i class="fa fa-check mr-1"></i>Odoo.sh |
||||
|
</div> |
||||
|
|
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="container" style="padding: 0rem 1.5rem 4rem !important"> |
||||
|
<div class="row" style="height: 950px !important;"> |
||||
|
<div class="col-sm-12 col-md-12 col-lg-12" |
||||
|
style="padding: 4.1rem 1rem !important; background-color: #FFFFFF !important; height: 600px !important;"> |
||||
|
<div class="d-flex justify-content-center mb-2"> |
||||
|
<h1 |
||||
|
style="font-family: 'Montserrat', sans-serif !important; font-weight: 800 !important; color: #282F33 !important; font-size: 4rem !important; text-align: center !important;"> |
||||
|
Inventory Forecast Analysis Report</h1> |
||||
|
</div> |
||||
|
<p |
||||
|
style="font-family: 'Montserrat', sans-serif !important; font-weight: 300 !important; color: #282F33 !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="700px"/> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="row"> |
||||
|
<div class="col-sm-12 col-md-12 col-lg-12 px-3 text-center"> |
||||
|
<h2 |
||||
|
style="font-family: 'Montserrat', sans-serif !important; font-size: 1.4rem; font-weight: 700 !important;"> |
||||
|
Explore this module</h2> |
||||
|
<div class="mt-3"> |
||||
|
<a href="#overview" class="mr-5" |
||||
|
style="font-family: 'Montserrat', sans-serif !important; font-size: 1rem; font-weight: 700; color: #714B67 !important;">Overview |
||||
|
<i class="fa fa-chevron-right ml-1" |
||||
|
style="color: #714B67 !important;"></i></a> |
||||
|
<a href="#features" class="mr-5" |
||||
|
style="font-family: 'Montserrat', sans-serif !important; font-size: 1rem; font-weight: 700; color: #714B67 !important;">Key |
||||
|
Features <i class="fa fa-chevron-right ml-1" |
||||
|
style="color: #714B67 !important;"></i></a> |
||||
|
<a href="#screenshots" class="mr-5" |
||||
|
style="font-family: 'Montserrat', sans-serif !important; font-size: 1rem; font-weight: 700; color: #714B67 !important;">Screenshots |
||||
|
<i class="fa fa-chevron-right ml-1" |
||||
|
style="color: #714B67 !important;"></i></a> |
||||
|
</div> |
||||
|
<hr class="my-5" style="border-color: d5d5d5 !important;"/> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="row " id="overview"> |
||||
|
<div class="col-sm-12 col-md-12 col-lg-12 px-4"> |
||||
|
<h2 |
||||
|
style="font-family: 'Montserrat', sans-serif !important; font-size: 2rem; font-weight: 700 !important; color: #21272B !important;"> |
||||
|
Overview</h2> |
||||
|
<hr |
||||
|
style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 30px !important; margin-left: 0 !important; margin-bottom: 2rem !important;"/> |
||||
|
<p class="mt-4" |
||||
|
style="font-size: 1.1rem !important; color: #282F33 !important; font-weight: 400 !important; line-height: 1.85 !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" style="margin-top: 3rem;"> |
||||
|
<div class="col-sm-12 col-md-12 col-lg-12 px-4"> |
||||
|
<h2 |
||||
|
style="font-family: 'Montserrat', sans-serif !important; font-size: 2rem; font-weight: 700 !important; color: #21272B !important;"> |
||||
|
Features</h2> |
||||
|
<hr |
||||
|
style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 30px !important; margin-left: 0 !important; margin-bottom: 2rem !important;"/> |
||||
|
<div class="row"> |
||||
|
<div class="col-sm-12 col-md-6"> |
||||
|
<div class="d-flex my-5" |
||||
|
style="padding-bottom: 1.3rem !important; border-bottom: 2px solid #f0f0f0;"> |
||||
|
<img src="assets/icons/check.png" width="24px" |
||||
|
height="24px" class="mr-2"> |
||||
|
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Report for a specific duration</span> |
||||
|
<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 class="d-flex my-5" |
||||
|
style="padding-bottom: 1.3rem !important; border-bottom: 2px solid #f0f0f0;"> |
||||
|
<img src="assets/icons/check.png" width="24px" |
||||
|
height="24px" class="mr-2"> |
||||
|
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Report by category</span> |
||||
|
<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 class="d-flex my-5" |
||||
|
style="padding-bottom: 1.3rem !important; border-bottom: 2px solid #f0f0f0;"> |
||||
|
<img src="assets/icons/check.png" width="24px" |
||||
|
height="24px" class="mr-2"> |
||||
|
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> Report by supplier</span> |
||||
|
<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 class="d-flex my-5" |
||||
|
style="padding-bottom: 1.3rem !important; border-bottom: 2px solid #f0f0f0;"> |
||||
|
<img src="assets/icons/check.png" width="24px" |
||||
|
height="24px" class="mr-2"> |
||||
|
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Report by brand</span> |
||||
|
<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 class="d-flex my-5" |
||||
|
style="padding-bottom: 1.3rem !important; border-bottom: 2px solid #f0f0f0;"> |
||||
|
<img src="assets/icons/check.png" width="24px" |
||||
|
height="24px" class="mr-2"> |
||||
|
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Report by stock location</span> |
||||
|
<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> |
||||
|
</div> |
||||
|
|
||||
|
|
||||
|
<div class="row " id="screenshots"> |
||||
|
<div class="col-sm-12 col-md-12 col-lg-12 px-4"> |
||||
|
<h2 |
||||
|
style="font-family: 'Montserrat', sans-serif !important; font-size: 2rem; font-weight: 700 !important; color: #21272B !important;"> |
||||
|
Screenshots</h2> |
||||
|
<hr |
||||
|
style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 30px !important; margin-left: 0 !important; margin-bottom: 2rem !important;"/> |
||||
|
|
||||
|
<div class="mt-5"> |
||||
|
<div class="d-flex mb-2" |
||||
|
style="padding-bottom: 0.5rem !important;"> |
||||
|
<img src="assets/icons/chevron.png" width="20px" |
||||
|
height="20px" class="mr-2" |
||||
|
style="margin-top: 4px !important;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> |
||||
|
Forecast analysis report.</h3> |
||||
|
<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/scrn_001.png" |
||||
|
class="img-responsive img-thumbnail border"> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="mt-5"> |
||||
|
<div class="d-flex mb-2" |
||||
|
style="padding-bottom: 0.5rem !important;"> |
||||
|
<img src="assets/icons/chevron.png" width="20px" |
||||
|
height="20px" class="mr-2" |
||||
|
style="margin-top: 4px !important;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> |
||||
|
Report duration. |
||||
|
</h3> |
||||
|
<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/scrn_002.png" |
||||
|
class="img-responsive img-thumbnail border"> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="mt-5"> |
||||
|
<div class="d-flex mb-2" |
||||
|
style="padding-bottom: 0.5rem !important;"> |
||||
|
<img src="assets/icons/chevron.png" width="20px" |
||||
|
height="20px" class="mr-2" |
||||
|
style="margin-top: 4px !important;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> |
||||
|
Product category/ parent category. |
||||
|
</h3> |
||||
|
<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/scrn_003.png" |
||||
|
class="img-responsive img-thumbnail border"> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="mt-5"> |
||||
|
<div class="d-flex mb-2" |
||||
|
style="padding-bottom: 0.5rem !important;"> |
||||
|
<img src="assets/icons/chevron.png" width="20px" |
||||
|
height="20px" class="mr-2" |
||||
|
style="margin-top: 4px !important;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> |
||||
|
Product brand. |
||||
|
</h3> |
||||
|
<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/scrn_004.png" |
||||
|
class="img-responsive img-thumbnail border"> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="mt-5"> |
||||
|
<div class="d-flex mb-2" |
||||
|
style="padding-bottom: 0.5rem !important;"> |
||||
|
<img src="assets/icons/chevron.png" width="20px" |
||||
|
height="20px" class="mr-2" |
||||
|
style="margin-top: 4px !important;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> |
||||
|
Location. |
||||
|
</h3> |
||||
|
<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/scrn_005.png" |
||||
|
class="img-responsive img-thumbnail border"> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="mt-5"> |
||||
|
<div class="d-flex mb-2" |
||||
|
style="padding-bottom: 0.5rem !important;"> |
||||
|
<img src="assets/icons/chevron.png" width="20px" |
||||
|
height="20px" class="mr-2" |
||||
|
style="margin-top: 4px !important;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> |
||||
|
Supplier. |
||||
|
</h3> |
||||
|
<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/supplier.png" |
||||
|
class="img-responsive img-thumbnail border"> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="mt-5"> |
||||
|
<div class="d-flex mb-2" |
||||
|
style="padding-bottom: 0.5rem !important;"> |
||||
|
<img src="assets/icons/chevron.png" width="20px" |
||||
|
height="20px" class="mr-2" |
||||
|
style="margin-top: 4px !important;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> |
||||
|
The report. |
||||
|
</h3> |
||||
|
<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/scrn_006.png" |
||||
|
class="img-responsive img-thumbnail border"> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="mt-5"> |
||||
|
<div class="d-flex mb-2" |
||||
|
style="padding-bottom: 0.5rem !important;"> |
||||
|
<img src="assets/icons/chevron.png" |
||||
|
width="20px" |
||||
|
height="20px" class="mr-2" |
||||
|
style="margin-top: 4px !important;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> |
||||
|
Report based on category. |
||||
|
</h3> |
||||
|
<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/ctegory.png" |
||||
|
class="img-responsive img-thumbnail border"> |
||||
|
</div> |
||||
|
<div class="mt-5"> |
||||
|
<div class="d-flex mb-2" |
||||
|
style="padding-bottom: 0.5rem !important;"> |
||||
|
<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/scrn_007.png" |
||||
|
class="img-responsive img-thumbnail border"> |
||||
|
</div> |
||||
|
<div class="mt-5"> |
||||
|
<div class="d-flex mb-2" |
||||
|
style="padding-bottom: 0.5rem !important;"> |
||||
|
<img src="assets/icons/chevron.png" |
||||
|
width="20px" |
||||
|
height="20px" class="mr-2" |
||||
|
style="margin-top: 4px !important;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> |
||||
|
Report based on supplier. |
||||
|
</h3> |
||||
|
<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/scrn_008.png" |
||||
|
class="img-responsive img-thumbnail border"> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="mt-5"> |
||||
|
<div class="d-flex mb-2" |
||||
|
style="padding-bottom: 0.5rem !important;"> |
||||
|
<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/scrn_009.png" |
||||
|
class="img-responsive img-thumbnail border"> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- SUGGESTED PRODUCTS --> |
||||
|
<div class="row mt-3"> |
||||
|
<div class="col-lg-12 d-flex flex-column justify-content-center" |
||||
|
style="padding: 2.5rem 1rem !important;"> |
||||
|
<h2 |
||||
|
style="font-family: 'Montserrat', sans-serif !important; font-size: 2rem; font-weight: 700 !important; color: #21272B !important;"> |
||||
|
Suggested Products</h2> |
||||
|
<hr |
||||
|
style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 30px !important; margin-left: 0 !important; margin-bottom: 2rem !important;"/> |
||||
|
|
||||
|
<div id="demo1" |
||||
|
class="row carousel slide mt-4 data-ride=" |
||||
|
carousel=""> |
||||
|
<!-- The slideshow --> |
||||
|
<div class="carousel-inner"> |
||||
|
<div class="carousel-item active" |
||||
|
style="min-height:0px"> |
||||
|
<div class="carousel-item active" |
||||
|
style="min-height:0px"> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" |
||||
|
style="float:left"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/15.0/export_stockinfo_xls/" |
||||
|
target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" |
||||
|
style="border-top-left-radius:10px; border-top-right-radius:10px" |
||||
|
src="./assets/modules/export_image.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/15.0/custom_gantt_view/" |
||||
|
target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" |
||||
|
style="border-top-left-radius:10px; border-top-right-radius:10px" |
||||
|
src="./assets/modules/gantt_image.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/15.0/sales_credit_limit/" |
||||
|
target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" |
||||
|
style="border-top-left-radius:10px; border-top-right-radius:10px" |
||||
|
src="./assets/modules/credit_image.png"> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="carousel-item" |
||||
|
style="min-height:0px"> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" |
||||
|
style="float:left"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/15.0/base_account_budget/" |
||||
|
target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" |
||||
|
style="border-top-left-radius:10px; border-top-right-radius:10px" |
||||
|
src="./assets/modules/budget_image.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/15.0/product_to_quotation/" |
||||
|
target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" |
||||
|
style="border-top-left-radius:10px; border-top-right-radius:10px" |
||||
|
src="./assets/modules/quotation_image.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/15.0/employee_documents_expiry/" |
||||
|
target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" |
||||
|
style="border-top-left-radius:10px; border-top-right-radius:10px" |
||||
|
src="./assets/modules/employee_image.png"> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- Left and right controls --> |
||||
|
<a class="carousel-control-prev" |
||||
|
href="#demo1" data-slide="prev" |
||||
|
style="left:-25px;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="right:-25px;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 SUGGESTED PRODUCTS --> |
||||
|
|
||||
|
<!-- OUR SERVICES --> |
||||
|
<section class="container" |
||||
|
style="margin-top: 6rem !important;"> |
||||
|
<div class="row"> |
||||
|
<div class="col-lg-12"> |
||||
|
<h2 |
||||
|
style="font-family: 'Montserrat', sans-serif !important; font-size: 2rem; font-weight: 700 !important; color: #21272B !important;"> |
||||
|
Our Services</h2> |
||||
|
<hr |
||||
|
style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 30px !important; margin-left: 0 !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"> |
||||
|
<h2 |
||||
|
style="font-family: 'Montserrat', sans-serif !important; font-size: 2rem; font-weight: 700 !important; color: #21272B !important;"> |
||||
|
Our Industries</h2> |
||||
|
<hr |
||||
|
style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 30px !important; margin-left: 0 !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 & 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"> |
||||
|
<h2 |
||||
|
style="font-family: 'Montserrat', sans-serif !important; font-size: 2rem; font-weight: 700 !important; color: #21272B !important;"> |
||||
|
Need Help?</h2> |
||||
|
<hr |
||||
|
style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 30px !important; margin-left: 0 !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-6"> |
||||
|
<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-6"> |
||||
|
<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>+91 |
||||
|
86068 27707</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> |
@ -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': 'supplier_id'}"/> |
||||
|
<filter string="Brand" name="product_brand_id" domain="[]" |
||||
|
context="{'group_by': 'product_brand_id'}"/> |
||||
|
</group> |
||||
|
</search> |
||||
|
</field> |
||||
|
</record> |
||||
|
</odoo> |
@ -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> |
@ -0,0 +1,21 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Sabeel B (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 |
@ -0,0 +1,222 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Sabeel B (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, _ |
||||
|
from odoo.exceptions import ValidationError |
||||
|
|
||||
|
|
||||
|
class ForecastAnalysisReportWizard(models.TransientModel): |
||||
|
"""Transient model to choose and return forcasting report""" |
||||
|
_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") |
||||
|
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 get_start_date(self, today): |
||||
|
"""This function will calculate the start_date with respect to the |
||||
|
period and returns the result""" |
||||
|
res = fields.Date.subtract(today, months=3) |
||||
|
if self.period == '1week': |
||||
|
res = fields.Date.subtract(today, weeks=1) |
||||
|
elif self.period == '2week': |
||||
|
res = fields.Date.subtract(today, weeks=2) |
||||
|
elif self.period == '3week': |
||||
|
res = fields.Date.subtract(today, weeks=3) |
||||
|
elif self.period == '1month': |
||||
|
res = fields.Date.subtract(today, months=1) |
||||
|
elif self.period == '6months': |
||||
|
res = fields.Date.subtract(today, months=6) |
||||
|
elif self.period == '12months': |
||||
|
res = fields.Date.subtract(today, months=12) |
||||
|
elif self.period == '24months': |
||||
|
res = fields.Date.subtract(today, months=24) |
||||
|
elif self.period == '36months': |
||||
|
res = fields.Date.subtract(today, months=36) |
||||
|
elif self.period == '2months': |
||||
|
res = fields.Date.subtract(today, months=2) |
||||
|
elif self.period == '5months': |
||||
|
res = fields.Date.subtract(today, 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 |
||||
|
if (not self.product_category_id and not self.parent_category_id and |
||||
|
not self.partner_id and not self.product_brand_id and |
||||
|
not self.location_ids): |
||||
|
raise ValidationError(_("Data missing")) |
||||
|
|
||||
|
domain = [] |
||||
|
if self.product_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: |
||||
|
suppliers = self.env['res.partner'].search( |
||||
|
[('id', '=', self.partner_id.id)]) |
||||
|
domain += [('seller_ids', '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]) |
||||
|
current_date = fields.Date.today() |
||||
|
start_date = self.get_start_date(current_date) |
||||
|
|
||||
|
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, current_date, product_ids if product_ids else ( |
||||
|
0, 0, 0, 0) |
||||
|
self._cr.execute(query, params) |
||||
|
result = self._cr.dictfetchall() |
||||
|
|
||||
|
for product in products: |
||||
|
internal_locations = self.env['stock.location'].search( |
||||
|
[('usage', '=', 'internal')]) |
||||
|
locations = self.env['stock.quant'].search([ |
||||
|
('product_id', '=', product.id), |
||||
|
('location_id', 'in', internal_locations.ids) |
||||
|
]).location_id |
||||
|
|
||||
|
for location in self.location_ids if self.location_ids \ |
||||
|
else locations: |
||||
|
stock_quant = self.env['stock.quant'].search([ |
||||
|
('location_id', '=', location.id), |
||||
|
('product_id', '=', product.id), |
||||
|
('write_date', '>=', start_date), |
||||
|
('write_date', '<=', current_date) |
||||
|
]) |
||||
|
available_qty = sum([quant.quantity for quant in stock_quant]) |
||||
|
sold = 0 |
||||
|
for sol_product in result: |
||||
|
if sol_product['product_id'] == product.id: |
||||
|
sold = sol_product['qty_invoiced'] |
||||
|
|
||||
|
forecasted_qty = product.with_context( |
||||
|
{'warehouse': location.warehouse_id.id}).virtual_available |
||||
|
reorder_qty = self.env['stock.warehouse.orderpoint'].search([ |
||||
|
('product_id', '=', product.id), |
||||
|
('location_id', '=', location.id) |
||||
|
]) |
||||
|
reorder_min = sum([qty.product_min_qty for qty in reorder_qty]) |
||||
|
minimum_qty = reorder_min if available_qty < reorder_min else 0 |
||||
|
pending = product.with_context({ |
||||
|
'from_date': start_date, |
||||
|
'to_date': current_date, |
||||
|
'location_id': location.id |
||||
|
}).incoming_qty |
||||
|
suggested = sold - (forecasted_qty + pending + minimum_qty) |
||||
|
|
||||
|
supplier = '' |
||||
|
if self.partner_id: |
||||
|
supplier_record = product.seller_ids.filtered( |
||||
|
lambda seller: seller.id == self.partner_id.id) |
||||
|
supplier = supplier_record.id if supplier_record else '' |
||||
|
elif product.seller_ids: |
||||
|
supplier = product.seller_ids.ids[0] |
||||
|
|
||||
|
vals = { |
||||
|
'sold': sold, |
||||
|
'product_id': product.id, |
||||
|
'product_category_id': product.categ_id.id, |
||||
|
'supplier_id': supplier, |
||||
|
'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', |
||||
|
} |
||||
|
|
@ -0,0 +1,65 @@ |
|||||
|
<?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" |
||||
|
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> |