diff --git a/individual_product_report/README.md b/individual_product_report/README.md new file mode 100644 index 000000000..c9674cbbb --- /dev/null +++ b/individual_product_report/README.md @@ -0,0 +1,33 @@ +Product Sale Report Graph View +============================== + +Installation +============ +- www.odoo.com/documentation/14.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
+ V14 Muhammed Nafih - odoo@cybrosys.com
+ V15 Akshay ck - 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..2f7d39b7a --- /dev/null +++ b/individual_product_report/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +################################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2021-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..b5d2fa92f --- /dev/null +++ b/individual_product_report/__manifest__.py @@ -0,0 +1,41 @@ +# -*- coding: utf-8 -*- +################################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2021-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': '15.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..9739fbc29 --- /dev/null +++ b/individual_product_report/doc/RELEASE_NOTES.md @@ -0,0 +1,5 @@ +## Module + +#### 31.10.2022 +#### Version 15.0.1.0.0 +#### ADD \ No newline at end of file diff --git a/individual_product_report/models/__init__.py b/individual_product_report/models/__init__.py new file mode 100644 index 000000000..f77a8d5b9 --- /dev/null +++ b/individual_product_report/models/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +################################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2021-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..44b2989d9 --- /dev/null +++ b/individual_product_report/models/sale_report.py @@ -0,0 +1,60 @@ +# -*- coding: utf-8 -*- +################################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2021-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'}, + 'groupby': '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'}, + 'groupby': 'date' + } + return action diff --git a/individual_product_report/static/description/assets/icons/check.png b/individual_product_report/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/individual_product_report/static/description/assets/icons/check.png differ diff --git a/individual_product_report/static/description/assets/icons/chevron.png b/individual_product_report/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/individual_product_report/static/description/assets/icons/chevron.png differ diff --git a/individual_product_report/static/description/assets/icons/cogs.png b/individual_product_report/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/individual_product_report/static/description/assets/icons/cogs.png differ diff --git a/individual_product_report/static/description/assets/icons/consultation.png b/individual_product_report/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/individual_product_report/static/description/assets/icons/consultation.png differ diff --git a/individual_product_report/static/description/assets/icons/ecom-black.png b/individual_product_report/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/individual_product_report/static/description/assets/icons/ecom-black.png differ diff --git a/individual_product_report/static/description/assets/icons/education-black.png b/individual_product_report/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/individual_product_report/static/description/assets/icons/education-black.png differ diff --git a/individual_product_report/static/description/assets/icons/hotel-black.png b/individual_product_report/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/individual_product_report/static/description/assets/icons/hotel-black.png differ diff --git a/individual_product_report/static/description/assets/icons/license.png b/individual_product_report/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/individual_product_report/static/description/assets/icons/license.png differ diff --git a/individual_product_report/static/description/assets/icons/lifebuoy.png b/individual_product_report/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/individual_product_report/static/description/assets/icons/lifebuoy.png differ diff --git a/individual_product_report/static/description/assets/icons/logo.png b/individual_product_report/static/description/assets/icons/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/individual_product_report/static/description/assets/icons/logo.png differ diff --git a/individual_product_report/static/description/assets/icons/manufacturing-black.png b/individual_product_report/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/individual_product_report/static/description/assets/icons/manufacturing-black.png differ diff --git a/individual_product_report/static/description/assets/icons/pos-black.png b/individual_product_report/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/individual_product_report/static/description/assets/icons/pos-black.png differ diff --git a/individual_product_report/static/description/assets/icons/puzzle.png b/individual_product_report/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/individual_product_report/static/description/assets/icons/puzzle.png differ diff --git a/individual_product_report/static/description/assets/icons/restaurant-black.png b/individual_product_report/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/individual_product_report/static/description/assets/icons/restaurant-black.png differ diff --git a/individual_product_report/static/description/assets/icons/service-black.png b/individual_product_report/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/individual_product_report/static/description/assets/icons/service-black.png differ diff --git a/individual_product_report/static/description/assets/icons/trading-black.png b/individual_product_report/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/individual_product_report/static/description/assets/icons/trading-black.png differ diff --git a/individual_product_report/static/description/assets/icons/training.png b/individual_product_report/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/individual_product_report/static/description/assets/icons/training.png differ diff --git a/individual_product_report/static/description/assets/icons/update.png b/individual_product_report/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/individual_product_report/static/description/assets/icons/update.png differ diff --git a/individual_product_report/static/description/assets/icons/user.png b/individual_product_report/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/individual_product_report/static/description/assets/icons/user.png differ diff --git a/individual_product_report/static/description/assets/icons/wrench.png b/individual_product_report/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/individual_product_report/static/description/assets/icons/wrench.png differ diff --git a/individual_product_report/static/description/assets/modules/1.png b/individual_product_report/static/description/assets/modules/1.png new file mode 100644 index 000000000..4269b1cd9 Binary files /dev/null and b/individual_product_report/static/description/assets/modules/1.png differ diff --git a/individual_product_report/static/description/assets/modules/2.png b/individual_product_report/static/description/assets/modules/2.png new file mode 100644 index 000000000..34cee3e01 Binary files /dev/null and b/individual_product_report/static/description/assets/modules/2.png differ diff --git a/individual_product_report/static/description/assets/modules/3.png b/individual_product_report/static/description/assets/modules/3.png new file mode 100644 index 000000000..85bb9021f Binary files /dev/null and b/individual_product_report/static/description/assets/modules/3.png differ diff --git a/individual_product_report/static/description/assets/modules/4.png b/individual_product_report/static/description/assets/modules/4.png new file mode 100644 index 000000000..3afc14722 Binary files /dev/null and b/individual_product_report/static/description/assets/modules/4.png differ diff --git a/individual_product_report/static/description/assets/modules/5.png b/individual_product_report/static/description/assets/modules/5.png new file mode 100644 index 000000000..cea66b05f Binary files /dev/null and b/individual_product_report/static/description/assets/modules/5.png differ diff --git a/individual_product_report/static/description/assets/modules/6.png b/individual_product_report/static/description/assets/modules/6.png new file mode 100644 index 000000000..0c9bb377e Binary files /dev/null and b/individual_product_report/static/description/assets/modules/6.png differ diff --git a/individual_product_report/static/description/assets/screenshots/1st.png b/individual_product_report/static/description/assets/screenshots/1st.png new file mode 100644 index 000000000..26c4aceaf Binary files /dev/null and b/individual_product_report/static/description/assets/screenshots/1st.png differ diff --git a/individual_product_report/static/description/assets/screenshots/2nd.png b/individual_product_report/static/description/assets/screenshots/2nd.png new file mode 100644 index 000000000..0ca062c90 Binary files /dev/null and b/individual_product_report/static/description/assets/screenshots/2nd.png differ diff --git a/individual_product_report/static/description/assets/screenshots/3rd.png b/individual_product_report/static/description/assets/screenshots/3rd.png new file mode 100644 index 000000000..d256729bc Binary files /dev/null and b/individual_product_report/static/description/assets/screenshots/3rd.png differ diff --git a/individual_product_report/static/description/assets/screenshots/4th.png b/individual_product_report/static/description/assets/screenshots/4th.png new file mode 100644 index 000000000..967c7d49b Binary files /dev/null and b/individual_product_report/static/description/assets/screenshots/4th.png differ diff --git a/individual_product_report/static/description/assets/screenshots/hero.png b/individual_product_report/static/description/assets/screenshots/hero.png new file mode 100644 index 000000000..3d610f200 Binary files /dev/null and b/individual_product_report/static/description/assets/screenshots/hero.png differ diff --git a/individual_product_report/static/description/banner.png b/individual_product_report/static/description/banner.png new file mode 100644 index 000000000..cd5d80e40 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..6298b5483 Binary files /dev/null and b/individual_product_report/static/description/icon.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..6213391f9 --- /dev/null +++ b/individual_product_report/static/description/index.html @@ -0,0 +1,605 @@ +
+
+
+
+ +
+
+
+ Community +
+
+ Enterprise +
+ +
+
+
+
+ +
+
+
+

+ Product Sale Report Graph View

+

+ Get the sale report of individual products in graph view +

+ + +
+
+ + + + +
+
+

+ Overview +

+
+ +
+

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

+ +
+
+ + +
+
+

+ Features +

+
+ +
+
+ +
+
+

+ Individual product sale report in Line chart

+ +
+
+
+
+ +
+
+

+ Individual product sale report in Bar chart

+ +
+
+ +
+
+ +
+
+

+ Individual product sale report in Pie chart

+ +
+
+ +
+ +
+
+

+ Screenshots +

+
+
+

+ Sale report button

+ + +
+ +
+

+ Product sale report in Line chart

+ + +
+ +
+

+ Product sale report in Bar chart

+ + +
+ + +
+

+ Product sale report in Pie chart

+ + +
+ + +
+ + +
+
+

Suggested Products

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

Our Services

+
+
+ +
+
+ +
+
+ Odoo + Customization
+
+ +
+
+ +
+
+ Odoo + Implementation
+
+ +
+
+ +
+
+ Odoo + Support
+
+ + +
+
+ +
+
+ Hire + Odoo + Developer
+
+ +
+
+ +
+
+ Odoo + Integration
+
+ +
+
+ +
+
+ Odoo + Migration
+
+ + +
+
+ +
+
+ Odoo + Consultancy
+
+ +
+
+ +
+
+ Odoo + Implementation
+
+ +
+
+ +
+
+ Odoo + Licensing Consultancy
+
+
+
+ + + +
+
+
+

Our Industries

+
+
+ +
+
+ +
+ Trading +
+

+ Easily procure + and + sell your products

+
+
+ +
+
+ +
+ POS +
+

+ Easy + configuration + and convivial experience

+
+
+ +
+
+ +
+ Education +
+

+ A platform for + educational management

+
+
+ +
+
+ +
+ Manufacturing +
+

+ Plan, track and + schedule your operations

+
+
+ +
+
+ +
+ E-commerce & Website +
+

+ Mobile + friendly, + awe-inspiring product pages

+
+
+ +
+
+ +
+ Service Management +
+

+ Keep track of + services and invoice

+
+
+ +
+
+ +
+ Restaurant +
+

+ Run your bar or + restaurant methodically

+
+
+ +
+
+ +
+ Hotel Management +
+

+ An + all-inclusive + hotel management application

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

Need Help?

+
+
+
+ + +
+ +
+ +
+ +
+ WhatsApp +
+
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+
+
+ + +
\ 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