diff --git a/custom_pivot_report/README.rst b/custom_pivot_report/README.rst new file mode 100755 index 000000000..a51f08071 --- /dev/null +++ b/custom_pivot_report/README.rst @@ -0,0 +1,43 @@ +.. image:: https://img.shields.io/badge/license-LGPL--3-blue.svg + :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html + :alt: License: LGPL-3 + +Custom Pivot Report +=================== +This module Create Custom Pivot Report For Any Model Without Coding + +Company +------- +* `Cybrosys Techno Solutions `__ + +License +------- +General Public License, Version 3 (LGPL v3). +(https://www.gnu.org/licenses/lgpl-3.0-standalone.html) + +Credits +------- +Developer:(V17) SAFA FAHEEM PE @cybrosys, +Contact: odoo@cybrosys.com + +Contacts +-------- +* Mail Contact : odoo@cybrosys.com +* Website : https://cybrosys.com + +Bug Tracker +----------- +Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. + +Maintainer +========== +.. image:: https://cybrosys.com/images/logo.png + :target: https://cybrosys.com + +This module is maintained by Cybrosys Technologies. + +For support and more information, please visit `Our Website `__ + +Further information +=================== +HTML Description: ``__ diff --git a/custom_pivot_report/__init__.py b/custom_pivot_report/__init__.py new file mode 100644 index 000000000..73ade50c6 --- /dev/null +++ b/custom_pivot_report/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from . import models +from .hooks import report_uninstall_hook diff --git a/custom_pivot_report/__manifest__.py b/custom_pivot_report/__manifest__.py new file mode 100644 index 000000000..0108e5d21 --- /dev/null +++ b/custom_pivot_report/__manifest__.py @@ -0,0 +1,44 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +{ + 'name': 'Custom Pivot Report', + 'version': '17.0.1.0.0', + "category": "Extra Tools", + "summary": """Create Custom Pivot Report For Any Model Without Coding""", + "description": """Create Custom Pivot Report For Any Model Without Coding, + Dynamic Pivot Report, Custom Pivot Report, Dynamic Report, Pivot View""", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': 'https://www.cybrosys.com', + 'depends': ['base'], + 'data': [ + 'security/ir.model.access.csv', + 'views/custom_report_views.xml', + ], + 'images': ['static/description/banner.jpg'], + 'license': 'LGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, + 'uninstall_hook': 'report_uninstall_hook' +} diff --git a/custom_pivot_report/doc/RELEASE_NOTES.md b/custom_pivot_report/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..f10e4f8cc --- /dev/null +++ b/custom_pivot_report/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 20.01.2024 +#### Version 17.0.1.0.0 +#### ADD +- Initial commit for Custom Pivot Report diff --git a/custom_pivot_report/hooks.py b/custom_pivot_report/hooks.py new file mode 100644 index 000000000..8865c0eab --- /dev/null +++ b/custom_pivot_report/hooks.py @@ -0,0 +1,27 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# + +def report_uninstall_hook(env): + # Uninstall hook to delete all the custom pivot reports + records = env['custom.report'].search([]) + for record in records: + record.unlink() diff --git a/custom_pivot_report/models/__init__.py b/custom_pivot_report/models/__init__.py new file mode 100644 index 000000000..c55ced2a8 --- /dev/null +++ b/custom_pivot_report/models/__init__.py @@ -0,0 +1,26 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from . import ir_actions_act_window +from . import ir_ui_menu +from . import ir_ui_view +from . import custom_report +from . import custom_report_fields diff --git a/custom_pivot_report/models/custom_report.py b/custom_pivot_report/models/custom_report.py new file mode 100644 index 000000000..fd116a4c9 --- /dev/null +++ b/custom_pivot_report/models/custom_report.py @@ -0,0 +1,134 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from odoo import api, fields, models, _ + + +class CustomReport(models.Model): + """Custom report model for creating pivot view and adding required + fields for the model""" + _name = 'custom.report' + _description = 'Custom Report' + + name = fields.Char(string='Name', help="Name of the pivot report") + model_id = fields.Many2one('ir.model', string='Model', + required=True, + domain="[('transient', '=', False),]", + ondelete='cascade', + help="Select the model for the report") + fields_ids = fields.One2many('custom.report.fields', + 'report_id', string='Fields', + required=True, + help="Select the field that is added to the custom report.") + menu_id = fields.Many2one('ir.ui.menu', string='Menu', + required=True, ondelete='cascade', + help="The menu where you want to create a new menu item.") + menu_group_id = fields.Many2many('res.groups', + string='Menu Group', required=True, + ondelete='cascade', + help="Set the user group who hav access to the report menu") + view_type = fields.Selection([('pivot', 'Pivot'), + ('graph', 'Graph')], string='View Type', + help="Select the type of report") + + def unlink(self): + """Customized unlink method to clean up related records.""" + for rec in self: + # Searching the view + view = self.env['ir.ui.view'].search( + [('custom_report', '=', str(rec.id) + '_' + rec.model_id.model + '_' + rec.menu_id.complete_name)]) + # search the action + action = self.env['ir.actions.act_window'].search( + [('custom_report', '=', str(rec.id) + '_' + 'pivot' + '_' + '_' + 'current',)]) + # search the menu + menu = self.env['ir.ui.menu'].search( + [('custom_report', '=', str(rec.id) + '_' + rec.menu_id.complete_name + '_' + rec.model_id.model)]) + view.sudo().unlink() + action.sudo().unlink() + menu.sudo().unlink() + return super().unlink() + + @api.constrains('menu_id', 'fields_ids', 'model_id', 'name', 'menu_group_id') + def _create_menu_id(self): + """Customized constraint method to create or update menu, action, and + view""" + view_id = self.env['ir.ui.view'].search( + [('custom_report', '=', str(self.id) + '_' + self.model_id.model + '_' + self.menu_id.complete_name)]) + arch_base = '''\n''' % (self.name) + for rec in self.fields_ids: + if rec.row: + arch_base += ''' + \n''' % (rec.custom_field_id.name, rec.label) + elif rec.measure: + arch_base += ''' + \n''' % (rec.custom_field_id.name, rec.label) + else: + arch_base += '''\n''' % (rec.custom_field_id.name, rec.label) + + arch_base += '''\n''' + view_value = { + 'name': _(self.name), + 'type': 'pivot', + 'custom_report': str(self.id) + '_' + self.model_id.model + '_' + self.menu_id.complete_name, + 'model': self.model_id.model, + 'mode': 'primary', + 'active': True, + 'arch_base': arch_base, + 'groups_id': [(6, 0, [self.menu_group_id.id])], + } + if not view_id: + # Creating the view + view_obj = self.env['ir.ui.view'].create(view_value) + else: + view_id.sudo().write(view_value) + view_obj = view_id + value = { + 'type': 'ir.actions.act_window', + 'name': _(self.name), + 'res_model': self.model_id.model, + 'custom_report': str(self.id) + '_' + 'pivot' + '_' + '_' + 'current', + 'view_mode': 'pivot', + 'view_id': view_obj.id, + 'target': 'current', + } + action_id = self.env['ir.actions.act_window'].search( + [('custom_report', '=', str(self.id) + '_' + 'pivot' + '_' + '_' + 'current')]) + if not action_id: + # Creating the action + action = self.env['ir.actions.act_window'].create(value) + else: + action_id.sudo().write(value) + action = action_id + value = { + 'name': self.name, + 'complete_name': self.menu_id.complete_name + '/' + self.name, + 'action': 'ir.actions.act_window,%s' % (action.id), + 'parent_id': self.menu_id.id, + 'custom_report': str(self.id) + '_' + self.menu_id.complete_name + '_' + self.model_id.model, + 'groups_id': [(6, 0, [self.menu_group_id.id])], + } + menu_id = self.env['ir.ui.menu'].search( + [('custom_report', '=', str(self.id) + '_' + self.menu_id.complete_name + '_' + self.model_id.model)]) + if not menu_id: + # Creating the menu + menu = self.env['ir.ui.menu'].create(value) + else: + menu_id.sudo().write(value) diff --git a/custom_pivot_report/models/custom_report_fields.py b/custom_pivot_report/models/custom_report_fields.py new file mode 100644 index 000000000..4e7b797d5 --- /dev/null +++ b/custom_pivot_report/models/custom_report_fields.py @@ -0,0 +1,59 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from odoo import api, fields, models + + +class CustomReportFields(models.Model): + """Custom report fields model. + Used to define custom fields associated with custom reports.""" + _name = 'custom.report.fields' + _description = 'Custom Report Fields' + + custom_field_id = fields.Many2one('ir.model.fields', + string='Custom Report', + required=True, ondelete='cascade', + domain="[('model_id', '=', model_id)]", + help="Field adding to the report") + report_id = fields.Many2one('custom.report', string='Parent', + ondelete='cascade') + model_id = fields.Many2one('ir.model', + related='report_id.model_id', + help="Model for the report") + label = fields.Char(string='Label', + help="Label of the column in the report") + row = fields.Boolean(string='Row', default=0, + help="Define is the field is row") + measure = fields.Boolean(string='Measure', default=0, + help="Define is the field is measure") + measurable = fields.Boolean(string='Measurable', default=0, + help="Define is the field is row") + rowable = fields.Boolean(string='Row able', default=0, + help="Define is the field is measure") + + @api.onchange('custom_field_id') + def onchange_custom_field_id(self): + """Update field values based on the selected custom field.""" + self.label = self.custom_field_id.field_description + if self.custom_field_id.ttype in ['float', 'integer', 'many2one', 'monetary']: + self.measurable = True + if self.custom_field_id.ttype in ['many2many', 'one2many']: + self.rowable = True diff --git a/custom_pivot_report/models/ir_actions_act_window.py b/custom_pivot_report/models/ir_actions_act_window.py new file mode 100644 index 000000000..d8b6fe9c7 --- /dev/null +++ b/custom_pivot_report/models/ir_actions_act_window.py @@ -0,0 +1,29 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from odoo import fields, models + + +class IrActionsActWindow(models.Model): + """Inheriting the 'ir.action.act.window' model.""" + _inherit = 'ir.actions.act_window' + + custom_report = fields.Char(string='Custom ID', help="Custom report") diff --git a/custom_pivot_report/models/ir_ui_menu.py b/custom_pivot_report/models/ir_ui_menu.py new file mode 100644 index 000000000..dfeb3b76f --- /dev/null +++ b/custom_pivot_report/models/ir_ui_menu.py @@ -0,0 +1,29 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from odoo import fields, models + + +class IrUiMenu(models.Model): + """Inheriting the 'ir.ui.menu' model.""" + _inherit = 'ir.ui.menu' + + custom_report = fields.Char(string='Custom ID', help="Custom report") diff --git a/custom_pivot_report/models/ir_ui_view.py b/custom_pivot_report/models/ir_ui_view.py new file mode 100644 index 000000000..6382e8e4c --- /dev/null +++ b/custom_pivot_report/models/ir_ui_view.py @@ -0,0 +1,29 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from odoo import fields, models + + +class IrUiView(models.Model): + """Inheriting the 'ir.ui.view' model.""" + _inherit = 'ir.ui.view' + + custom_report = fields.Char(string='Custom ID', help="Custom report") diff --git a/custom_pivot_report/security/ir.model.access.csv b/custom_pivot_report/security/ir.model.access.csv new file mode 100755 index 000000000..5e890b721 --- /dev/null +++ b/custom_pivot_report/security/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +custom_report,custom.report,model_custom_report,base.group_user,1,1,1,1, +custom_report_fields,custom.report.field,model_custom_report_fields,base.group_user,1,1,1,1, diff --git a/custom_pivot_report/static/description/assets/icons/check.png b/custom_pivot_report/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/custom_pivot_report/static/description/assets/icons/check.png differ diff --git a/custom_pivot_report/static/description/assets/icons/chevron.png b/custom_pivot_report/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/custom_pivot_report/static/description/assets/icons/chevron.png differ diff --git a/custom_pivot_report/static/description/assets/icons/cogs.png b/custom_pivot_report/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/custom_pivot_report/static/description/assets/icons/cogs.png differ diff --git a/custom_pivot_report/static/description/assets/icons/consultation.png b/custom_pivot_report/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/custom_pivot_report/static/description/assets/icons/consultation.png differ diff --git a/custom_pivot_report/static/description/assets/icons/ecom-black.png b/custom_pivot_report/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/custom_pivot_report/static/description/assets/icons/ecom-black.png differ diff --git a/custom_pivot_report/static/description/assets/icons/education-black.png b/custom_pivot_report/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/custom_pivot_report/static/description/assets/icons/education-black.png differ diff --git a/custom_pivot_report/static/description/assets/icons/hotel-black.png b/custom_pivot_report/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/custom_pivot_report/static/description/assets/icons/hotel-black.png differ diff --git a/custom_pivot_report/static/description/assets/icons/license.png b/custom_pivot_report/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/custom_pivot_report/static/description/assets/icons/license.png differ diff --git a/custom_pivot_report/static/description/assets/icons/lifebuoy.png b/custom_pivot_report/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/custom_pivot_report/static/description/assets/icons/lifebuoy.png differ diff --git a/custom_pivot_report/static/description/assets/icons/logo.png b/custom_pivot_report/static/description/assets/icons/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/custom_pivot_report/static/description/assets/icons/logo.png differ diff --git a/custom_pivot_report/static/description/assets/icons/manufacturing-black.png b/custom_pivot_report/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/custom_pivot_report/static/description/assets/icons/manufacturing-black.png differ diff --git a/custom_pivot_report/static/description/assets/icons/pos-black.png b/custom_pivot_report/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/custom_pivot_report/static/description/assets/icons/pos-black.png differ diff --git a/custom_pivot_report/static/description/assets/icons/puzzle.png b/custom_pivot_report/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/custom_pivot_report/static/description/assets/icons/puzzle.png differ diff --git a/custom_pivot_report/static/description/assets/icons/restaurant-black.png b/custom_pivot_report/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/custom_pivot_report/static/description/assets/icons/restaurant-black.png differ diff --git a/custom_pivot_report/static/description/assets/icons/service-black.png b/custom_pivot_report/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/custom_pivot_report/static/description/assets/icons/service-black.png differ diff --git a/custom_pivot_report/static/description/assets/icons/trading-black.png b/custom_pivot_report/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/custom_pivot_report/static/description/assets/icons/trading-black.png differ diff --git a/custom_pivot_report/static/description/assets/icons/training.png b/custom_pivot_report/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/custom_pivot_report/static/description/assets/icons/training.png differ diff --git a/custom_pivot_report/static/description/assets/icons/update.png b/custom_pivot_report/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/custom_pivot_report/static/description/assets/icons/update.png differ diff --git a/custom_pivot_report/static/description/assets/icons/user.png b/custom_pivot_report/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/custom_pivot_report/static/description/assets/icons/user.png differ diff --git a/custom_pivot_report/static/description/assets/icons/wrench.png b/custom_pivot_report/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/custom_pivot_report/static/description/assets/icons/wrench.png differ diff --git a/custom_pivot_report/static/description/assets/misc/Cybrosys R.png b/custom_pivot_report/static/description/assets/misc/Cybrosys R.png new file mode 100644 index 000000000..da4058087 Binary files /dev/null and b/custom_pivot_report/static/description/assets/misc/Cybrosys R.png differ diff --git a/custom_pivot_report/static/description/assets/misc/categories.png b/custom_pivot_report/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/custom_pivot_report/static/description/assets/misc/categories.png differ diff --git a/custom_pivot_report/static/description/assets/misc/check-box.png b/custom_pivot_report/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/custom_pivot_report/static/description/assets/misc/check-box.png differ diff --git a/custom_pivot_report/static/description/assets/misc/compass.png b/custom_pivot_report/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/custom_pivot_report/static/description/assets/misc/compass.png differ diff --git a/custom_pivot_report/static/description/assets/misc/corporate.png b/custom_pivot_report/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/custom_pivot_report/static/description/assets/misc/corporate.png differ diff --git a/custom_pivot_report/static/description/assets/misc/customer-support.png b/custom_pivot_report/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/custom_pivot_report/static/description/assets/misc/customer-support.png differ diff --git a/custom_pivot_report/static/description/assets/misc/cybrosys-logo.png b/custom_pivot_report/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/custom_pivot_report/static/description/assets/misc/cybrosys-logo.png differ diff --git a/custom_pivot_report/static/description/assets/misc/features.png b/custom_pivot_report/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/custom_pivot_report/static/description/assets/misc/features.png differ diff --git a/custom_pivot_report/static/description/assets/misc/logo.png b/custom_pivot_report/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/custom_pivot_report/static/description/assets/misc/logo.png differ diff --git a/custom_pivot_report/static/description/assets/misc/pictures.png b/custom_pivot_report/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/custom_pivot_report/static/description/assets/misc/pictures.png differ diff --git a/custom_pivot_report/static/description/assets/misc/pie-chart.png b/custom_pivot_report/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/custom_pivot_report/static/description/assets/misc/pie-chart.png differ diff --git a/custom_pivot_report/static/description/assets/misc/right-arrow.png b/custom_pivot_report/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/custom_pivot_report/static/description/assets/misc/right-arrow.png differ diff --git a/custom_pivot_report/static/description/assets/misc/star.png b/custom_pivot_report/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/custom_pivot_report/static/description/assets/misc/star.png differ diff --git a/custom_pivot_report/static/description/assets/misc/support.png b/custom_pivot_report/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/custom_pivot_report/static/description/assets/misc/support.png differ diff --git a/custom_pivot_report/static/description/assets/misc/whatsapp.png b/custom_pivot_report/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/custom_pivot_report/static/description/assets/misc/whatsapp.png differ diff --git a/custom_pivot_report/static/description/assets/modules/1.jpg b/custom_pivot_report/static/description/assets/modules/1.jpg new file mode 100644 index 000000000..67c7f7062 Binary files /dev/null and b/custom_pivot_report/static/description/assets/modules/1.jpg differ diff --git a/custom_pivot_report/static/description/assets/modules/2.png b/custom_pivot_report/static/description/assets/modules/2.png new file mode 100644 index 000000000..3bedf7981 Binary files /dev/null and b/custom_pivot_report/static/description/assets/modules/2.png differ diff --git a/custom_pivot_report/static/description/assets/modules/3.png b/custom_pivot_report/static/description/assets/modules/3.png new file mode 100644 index 000000000..164eb62c7 Binary files /dev/null and b/custom_pivot_report/static/description/assets/modules/3.png differ diff --git a/custom_pivot_report/static/description/assets/modules/4.png b/custom_pivot_report/static/description/assets/modules/4.png new file mode 100644 index 000000000..d246d83ac Binary files /dev/null and b/custom_pivot_report/static/description/assets/modules/4.png differ diff --git a/custom_pivot_report/static/description/assets/modules/5.jpg b/custom_pivot_report/static/description/assets/modules/5.jpg new file mode 100644 index 000000000..655cf38f5 Binary files /dev/null and b/custom_pivot_report/static/description/assets/modules/5.jpg differ diff --git a/custom_pivot_report/static/description/assets/modules/6.jpg b/custom_pivot_report/static/description/assets/modules/6.jpg new file mode 100644 index 000000000..1f3f2e27f Binary files /dev/null and b/custom_pivot_report/static/description/assets/modules/6.jpg differ diff --git a/custom_pivot_report/static/description/assets/screenshots/custom_pivot_report_01.png b/custom_pivot_report/static/description/assets/screenshots/custom_pivot_report_01.png new file mode 100644 index 000000000..82f406dce Binary files /dev/null and b/custom_pivot_report/static/description/assets/screenshots/custom_pivot_report_01.png differ diff --git a/custom_pivot_report/static/description/assets/screenshots/custom_pivot_report_02.png b/custom_pivot_report/static/description/assets/screenshots/custom_pivot_report_02.png new file mode 100644 index 000000000..ecee37073 Binary files /dev/null and b/custom_pivot_report/static/description/assets/screenshots/custom_pivot_report_02.png differ diff --git a/custom_pivot_report/static/description/assets/screenshots/custom_pivot_report_03.png b/custom_pivot_report/static/description/assets/screenshots/custom_pivot_report_03.png new file mode 100644 index 000000000..27ac155a3 Binary files /dev/null and b/custom_pivot_report/static/description/assets/screenshots/custom_pivot_report_03.png differ diff --git a/custom_pivot_report/static/description/assets/screenshots/custom_pivot_report_04.png b/custom_pivot_report/static/description/assets/screenshots/custom_pivot_report_04.png new file mode 100644 index 000000000..f2bfb881e Binary files /dev/null and b/custom_pivot_report/static/description/assets/screenshots/custom_pivot_report_04.png differ diff --git a/custom_pivot_report/static/description/assets/screenshots/custom_pivot_report_05.png b/custom_pivot_report/static/description/assets/screenshots/custom_pivot_report_05.png new file mode 100644 index 000000000..7fa3e1fb0 Binary files /dev/null and b/custom_pivot_report/static/description/assets/screenshots/custom_pivot_report_05.png differ diff --git a/custom_pivot_report/static/description/assets/screenshots/custom_pivot_report_06.png b/custom_pivot_report/static/description/assets/screenshots/custom_pivot_report_06.png new file mode 100644 index 000000000..093a1d9e9 Binary files /dev/null and b/custom_pivot_report/static/description/assets/screenshots/custom_pivot_report_06.png differ diff --git a/custom_pivot_report/static/description/assets/screenshots/hero.gif b/custom_pivot_report/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..b6f876b5d Binary files /dev/null and b/custom_pivot_report/static/description/assets/screenshots/hero.gif differ diff --git a/custom_pivot_report/static/description/banner.jpg b/custom_pivot_report/static/description/banner.jpg new file mode 100644 index 000000000..2a7144321 Binary files /dev/null and b/custom_pivot_report/static/description/banner.jpg differ diff --git a/custom_pivot_report/static/description/icon.png b/custom_pivot_report/static/description/icon.png new file mode 100644 index 000000000..c493e9244 Binary files /dev/null and b/custom_pivot_report/static/description/icon.png differ diff --git a/custom_pivot_report/static/description/index.html b/custom_pivot_report/static/description/index.html new file mode 100644 index 000000000..9c037063d --- /dev/null +++ b/custom_pivot_report/static/description/index.html @@ -0,0 +1,615 @@ + + + + + + + Custom Pivot Report Index + + + + + + + + +
+
+
+
+
+ +
+
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+
+
+
+

+ Custom Pivot Report

+

+ Create Custom Pivot Report For Any Model Without Coding. +

+
+ +
+
+
+
+
+

Key Highlights +

+
+
+
+
+
+ +
+
+

Create custom pivot report for any module

+
+
+
+
+
+
+ +
+
+

Set custom row and measure for pivot

+
+
+
+
+
+
+ +
+
+

Place your custom report under any menu

+
+
+
+
+
+
+ +
+
+

Set security group for report.

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

+ User can create custom pivot report for any module and specify the report menu position. Along with this, user can provide security group and select custom fields for the report. +

+
+
+
+
+
+
+ +
+
+

+ User added report menu +

+
+
+
+
+
+
+ +
+
+

+ Custom created pivot report +

+
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+
    +
  • + Create custom pivot report for any module. +
  • +
+
    +
  • + Set custom row and measure for pivot. +
  • +
+
    +
  • + Place your custom report under any menu. +
  • +
+
    +
  • + Set security group for report. +
  • +
+
+
+
+
+
+
Version + 17.0.1.0.0|Released on:20 Jan 2024 +
+

+ + Initial commit for Custom Pivot Report.

+
+
+
+
+
+
+
+

Related Products

+
+
+ +
+
+

Our Services

+ +
+
+
+
+
+
+
+
+ service-icon +
+
+

Odoo Customization

+
+
+
+
+
+
+ service-icon +
+
+

Odoo Implementation

+
+
+
+
+
+
+ service-icon +
+
+

Odoo Support

+
+
+
+
+
+
+ service-icon +
+
+

Hire Odoo Developer

+
+
+
+
+ +
+
+ service-icon +
+
+

Odoo Integration

+
+
+
+
+
+
+ service-icon +
+
+

Odoo Migration

+
+
+
+
+
+
+ service-icon +
+
+

Odoo Consultancy

+
+
+
+
+
+
+ service-icon +
+
+

Odoo Implementation

+
+
+
+
+
+
+ service-icon +
+
+

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

+
+
+
+
+
+
+

Support

+
+
+
+
+
+
+
+ +
+ Need + Help? +

Got questions or need help? Get in touch.

+
odoo@cybrosys.com +
+
+
+
+
+
+
+
+ +
+ WhatsApp +

Say hi to us on WhatsApp!

+
+91 + 99456767686
+
+
+
+
+
+
+
+
+ + + + + + diff --git a/custom_pivot_report/views/custom_report_views.xml b/custom_pivot_report/views/custom_report_views.xml new file mode 100644 index 000000000..070a6bdcb --- /dev/null +++ b/custom_pivot_report/views/custom_report_views.xml @@ -0,0 +1,68 @@ + + + + + custom.report.view.tree + custom.report + tree + + + + + + + + + + + + custom.report.view.form + custom.report + form + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + + + Custom Report + ir.actions.act_window + custom.report + tree,form + +

+ Create record +

+
+
+ + + +
\ No newline at end of file