diff --git a/individual_product_report/README.md b/individual_product_report/README.md new file mode 100644 index 000000000..78c3a0a7b --- /dev/null +++ b/individual_product_report/README.md @@ -0,0 +1,31 @@ +Product Sale Report Graph View +============================== + +Installation +============ +- www.odoo.com/documentation/13.0/setup/install.html +- Install our custom addon + +License +======= +GNU AFFERO GENERAL PUBLIC LICENSE, Version 3 (AGPLv3) +(http://www.gnu.org/licenses/agpl.html) + +Bug Tracker +=========== +Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. + +Credits +======= +* Cybrosys Techno Solutions + + +Developer: Afras Habis - odoo@cybrosys.com + +Maintainer +---------- + +This module is maintained by Cybrosys Technologies. + +For support and more information, please visit https://www.cybrosys.com. + diff --git a/individual_product_report/__init__.py b/individual_product_report/__init__.py new file mode 100644 index 000000000..7480ba260 --- /dev/null +++ b/individual_product_report/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +################################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2019-TODAY Cybrosys Technologies(). +# This program is free software: you can modify +# it under the terms of the GNU Affero General Public License (AGPL) as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# 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 for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +################################################################################### + +from . import models \ No newline at end of file diff --git a/individual_product_report/__manifest__.py b/individual_product_report/__manifest__.py new file mode 100644 index 000000000..421f11ee0 --- /dev/null +++ b/individual_product_report/__manifest__.py @@ -0,0 +1,41 @@ +# -*- coding: utf-8 -*- +################################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2019-TODAY Cybrosys Technologies(). +# This program is free software: you can modify +# it under the terms of the GNU Affero General Public License (AGPL) as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# 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 for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +###################################################################################. + +{ + 'name': 'Product Sale Report Graph View', + 'version': '13.0.1.0.0', + 'description': "Sale Reports of Individual Products in Graph view", + 'summary': """Sale Report of Individual Products in Graph view""", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': "https://www.cybrosys.com", + 'category': 'Sales', + 'depends': ['sale_management'], + 'license': 'AGPL-3', + 'data': [ + 'views/sale_report_view.xml', + ], + "images": ['static/description/banner.png'], + 'installable': True, + 'application': False, + +} diff --git a/individual_product_report/doc/RELEASE_NOTES.md b/individual_product_report/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..29291f7ec --- /dev/null +++ b/individual_product_report/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 06.03.2020 +#### Version 13.0.1.0.0 +#### ADD +Initial Commit diff --git a/individual_product_report/models/__init__.py b/individual_product_report/models/__init__.py new file mode 100644 index 000000000..d637fd19f --- /dev/null +++ b/individual_product_report/models/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +################################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2019-TODAY Cybrosys Technologies(). +# This program is free software: you can modify +# it under the terms of the GNU Affero General Public License (AGPL) as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# 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 for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +################################################################################### + +from . import sale_report \ No newline at end of file diff --git a/individual_product_report/models/sale_report.py b/individual_product_report/models/sale_report.py new file mode 100644 index 000000000..79f7f8cd7 --- /dev/null +++ b/individual_product_report/models/sale_report.py @@ -0,0 +1,60 @@ +# -*- coding: utf-8 -*- +################################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2019-TODAY Cybrosys Technologies(). +# This program is free software: you can modify +# it under the terms of the GNU Affero General Public License (AGPL) as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# 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 for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +################################################################################### + +from odoo import models, fields, api + + +class SaleProductTemplateReport(models.Model): + _inherit = 'product.template' + + def action_view_sales_report(self): + """ To view the graph view on click of Sales Report Button in product.template model """ + + action = self.env.ref('individual_product_report.report_sales_product_graph').read()[0] + action['domain'] = [('product_tmpl_id', 'in', self.ids)] + action['context'] = { + 'graph_measure': ['product_uom_qty'], + 'active_id': self._context.get('active_id'), + 'active_model': 'sale.report', + 'search_default_Sales': 1, + 'time_ranges': {'field': 'date', 'range': 'last_365_days'}, + 'group_by': 'date', + } + return action + + +class SaleProductReport(models.Model): + _inherit = 'product.product' + + def action_view_sales_report(self): + """ To view the graph view on click of Sales Report Button in product.product model """ + + action = self.env.ref('individual_product_report.report_sales_product_graph').read()[0] + action['domain'] = [('product_id', 'in', self.ids)] + action['context'] = { + 'graph_measure': ['product_uom_qty'], + 'active_id': self._context.get('active_id'), + 'active_model': 'sale.report', + 'search_default_Sales': 1, + 'time_ranges': {'field': 'date', 'range': 'last_365_days'}, + 'group_by': 'date', + } + return action diff --git a/individual_product_report/static/description/banner.png b/individual_product_report/static/description/banner.png new file mode 100644 index 000000000..9e5f9363b Binary files /dev/null and b/individual_product_report/static/description/banner.png differ diff --git a/individual_product_report/static/description/icon.png b/individual_product_report/static/description/icon.png new file mode 100644 index 000000000..94904d381 Binary files /dev/null and b/individual_product_report/static/description/icon.png differ diff --git a/individual_product_report/static/description/images/1st.png b/individual_product_report/static/description/images/1st.png new file mode 100644 index 000000000..26c4aceaf Binary files /dev/null and b/individual_product_report/static/description/images/1st.png differ diff --git a/individual_product_report/static/description/images/2nd.png b/individual_product_report/static/description/images/2nd.png new file mode 100644 index 000000000..0ca062c90 Binary files /dev/null and b/individual_product_report/static/description/images/2nd.png differ diff --git a/individual_product_report/static/description/images/3rd.png b/individual_product_report/static/description/images/3rd.png new file mode 100644 index 000000000..d256729bc Binary files /dev/null and b/individual_product_report/static/description/images/3rd.png differ diff --git a/individual_product_report/static/description/images/4th.png b/individual_product_report/static/description/images/4th.png new file mode 100644 index 000000000..967c7d49b Binary files /dev/null and b/individual_product_report/static/description/images/4th.png differ diff --git a/individual_product_report/static/description/images/bank.png b/individual_product_report/static/description/images/bank.png new file mode 100644 index 000000000..088d9be88 Binary files /dev/null and b/individual_product_report/static/description/images/bank.png differ diff --git a/individual_product_report/static/description/images/cash.jpeg b/individual_product_report/static/description/images/cash.jpeg new file mode 100644 index 000000000..b7a48f2f4 Binary files /dev/null and b/individual_product_report/static/description/images/cash.jpeg differ diff --git a/individual_product_report/static/description/images/checked.png b/individual_product_report/static/description/images/checked.png new file mode 100644 index 000000000..578cedb80 Binary files /dev/null and b/individual_product_report/static/description/images/checked.png differ diff --git a/individual_product_report/static/description/images/cybrosys.png b/individual_product_report/static/description/images/cybrosys.png new file mode 100644 index 000000000..d76b5bafb Binary files /dev/null and b/individual_product_report/static/description/images/cybrosys.png differ diff --git a/individual_product_report/static/description/images/dynamic.png b/individual_product_report/static/description/images/dynamic.png new file mode 100644 index 000000000..b025b5c48 Binary files /dev/null and b/individual_product_report/static/description/images/dynamic.png differ diff --git a/individual_product_report/static/description/images/excel.png b/individual_product_report/static/description/images/excel.png new file mode 100644 index 000000000..60b9433b3 Binary files /dev/null and b/individual_product_report/static/description/images/excel.png differ diff --git a/individual_product_report/static/description/images/inventory.png b/individual_product_report/static/description/images/inventory.png new file mode 100644 index 000000000..5aa67e261 Binary files /dev/null and b/individual_product_report/static/description/images/inventory.png differ diff --git a/individual_product_report/static/description/images/produt_sale_report.png b/individual_product_report/static/description/images/produt_sale_report.png new file mode 100644 index 000000000..810a03900 Binary files /dev/null and b/individual_product_report/static/description/images/produt_sale_report.png differ diff --git a/individual_product_report/static/description/images/tax.png b/individual_product_report/static/description/images/tax.png new file mode 100644 index 000000000..fc94d26e6 Binary files /dev/null and b/individual_product_report/static/description/images/tax.png differ diff --git a/individual_product_report/static/description/index.html b/individual_product_report/static/description/index.html new file mode 100644 index 000000000..bdaa96332 --- /dev/null +++ b/individual_product_report/static/description/index.html @@ -0,0 +1,523 @@ +
+ cybrosys-logo
+
+
+
+

Product Sale Report Graph View

+
+

Key Highlights

+
    +
  • checkSale reports of individual products in graph view +
  • +
+
+
+
+
+
+
+
+ +
+
+ +

Overview

+
+

+ This module is used to get the sale report of individual products in graph view +

+
+
+ +

Product Sale Report Graph View

+
+
    +
  • + checkIndividual + product sale report in Line chart +
  • +
+
    +
  • + checkIndividual + product sale report in Bar chart + +
  • +
+
    +
  • + checkIndividual + product sale report in Pie chart + +
  • +
+
+ +
+
+

Screenshots

+
+
+
+ +
+
+
+
+ + + + + + +
+
    +
+
+
+
+
+
+
+

Suggested Products

+
+ +
+
+

Our Service

+
+ +
+
+
+

Our Industries

+
+ +
+
+
+
+ Odoo Industry
+
+
+

+ + Trading

+

+ Easily procure and sell your products.

+
+
+
+
+
+ Odoo Industry +
+
+
+

+ + Manufacturing

+

+ Plan, track and schedule your operations.

+
+
+
+
+
+ + Odoo Industry
+
+
+

+ + Restaurant

+

+ Run your bar or restaurant methodical.

+
+
+
+
+
+ Odoo Industry
+
+
+

+ + POS

+

+ Easy configuring and convivial selling.

+
+
+
+
+
+ Odoo Industry
+
+
+

+ + E-commerce & Website

+

+ Mobile friendly, awe-inspiring product pages.

+
+
+
+
+
+ + Odoo Industry
+
+
+

+ + Hotel Management

+

+ An all-inclusive hotel management application.

+
+
+
+
+
+ + Odoo Industry
+
+
+

+ + Education

+

+ A Collaborative platform for educational management.

+
+
+
+
+
+ Odoo Industry
+
+
+

+ + Service Management

+

+ Keep track of services and invoice accordingly.

+
+
+
+
+
+ +
+
+
+

Need Any Help?

+
+

If you have anything to share with us based on your use of this module, please + let us know. We are ready to offer our support.

+
+

Email us

+

odoo@cybrosys.com / info@cybrosys.com

+
+
+

Contact Us

+ www.cybrosys.com +
+
+
+
+
+
+
+
+
+ +
+ + + + + + + +
+
+
+ \ No newline at end of file diff --git a/individual_product_report/views/sale_report_view.xml b/individual_product_report/views/sale_report_view.xml new file mode 100644 index 000000000..52895e1cf --- /dev/null +++ b/individual_product_report/views/sale_report_view.xml @@ -0,0 +1,46 @@ + + + + + + + product.template.sale.report.button + product.template + + + +
+ +
+
+
+ + + + + product.product.sale.report.button + product.product + + + +
+ +
+
+
+ + + + Sales Analysis + sale.report + graph + + +
+
\ No newline at end of file