diff --git a/project_report_pdf/README.rst b/project_report_pdf/README.rst new file mode 100644 index 000000000..1f40a52f6 --- /dev/null +++ b/project_report_pdf/README.rst @@ -0,0 +1,59 @@ +.. 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 + +Project Report XLS & PDF +======================== +PDF and XLS Reports for Project Module. + +Features +======== +* Project Task Reports of PDF and XLS [With advanced Filtration] + +Configuration +============= +Nothing to configure. + +License +------- +Affero General Public License, v3.0 (AGPL v3). +(https://www.gnu.org/licenses/agpl-3.0-standalone.html) + +Company +------- +* `Cybrosys Techno Solutions `__ + +Credits +------- +* Developers: (V9) Avinash NK, + (V10) Treesa, + (V11) Akshay, + (V12) Akshay, + (V13) Vinaya S B, + (V14) Muhammed P, + (V15) IRFAN, + (V16) VISWANTH, + (V17) Aysha Shalin, + 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/project_report_pdf/__init__.py b/project_report_pdf/__init__.py new file mode 100644 index 000000000..39b899338 --- /dev/null +++ b/project_report_pdf/__init__.py @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Aysha Shalin (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 . +# +############################################################################### +from . import controllers +from . import report +from . import wizard diff --git a/project_report_pdf/__manifest__.py b/project_report_pdf/__manifest__.py new file mode 100644 index 000000000..b0cacdb0c --- /dev/null +++ b/project_report_pdf/__manifest__.py @@ -0,0 +1,50 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Aysha Shalin (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 . +# +############################################################################### +{ + 'name': 'Project Report XLS & PDF', + 'version': '17.0.1.0.0', + 'category': 'Project', + 'summary': 'Advanced PDF & XLS reports for project.', + 'description': """Advanced PDF & XLS reports for project with filters for + stage and assigned person.""", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': "https://www.cybrosys.com", + 'depends': ['project'], + 'data': ['security/ir.model.access.csv', + 'wizard/project_report_view.xml', + 'views/project_project_view.xml', + 'report/project_report_template.xml', + 'views/report_project_project.xml' + ], + 'assets': { + 'web.assets_backend': [ + 'project_report_pdf/static/src/js/action_manager.js', + ], + }, + 'images': ['static/description/banner.png'], + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False +} diff --git a/project_report_pdf/controllers/__init__.py b/project_report_pdf/controllers/__init__.py new file mode 100644 index 000000000..83a259f78 --- /dev/null +++ b/project_report_pdf/controllers/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Aysha Shalin (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 . +# +############################################################################### +from . import project_report_pdf diff --git a/project_report_pdf/controllers/project_report_pdf.py b/project_report_pdf/controllers/project_report_pdf.py new file mode 100644 index 000000000..8e00ffe59 --- /dev/null +++ b/project_report_pdf/controllers/project_report_pdf.py @@ -0,0 +1,58 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Aysha Shalin (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 . +# +############################################################################### +import json +from odoo import http +from odoo.http import content_disposition, request +from odoo.tools import html_escape + + +class XLSXReportController(http.Controller): + """ Generates an XLSX report. """ + @http.route('/xlsx_reports', type='http', auth='user', + methods=['POST'], csrf=False) + def get_report_xlsx(self, model, options, output_format, report_name): + """ Generates an XLSX report. """ + uid = request.session.uid + report_obj = request.env[model].with_user(uid) + options = json.loads(options) + token = 'dummy-because-api-expects-one' + try: + if output_format == 'xlsx': + response = request.make_response( + None, + headers=[ + ('Content-Type', 'application/vnd.ms-excel'), + ('Content-Disposition', content_disposition( + report_name + '.xlsx')) + ] + ) + report_obj.get_xlsx_report(options, response) + response.set_cookie('fileToken', token) + return response + except Exception as e: + se = http.serialize_exception(e) + error = { + 'code': 200, + 'message': 'Odoo Server Error', + 'data': se + } + return request.make_response(html_escape(json.dumps(error))) diff --git a/project_report_pdf/doc/RELEASE_NOTES.md b/project_report_pdf/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..b0f2625fb --- /dev/null +++ b/project_report_pdf/doc/RELEASE_NOTES.md @@ -0,0 +1,7 @@ +## Module + +#### 07.11.2023 +#### Version 17.0.1.0.0 +##### ADD + +- Initial commit for Project Report XLS & PDF diff --git a/project_report_pdf/report/__init__.py b/project_report_pdf/report/__init__.py new file mode 100644 index 000000000..3d1759a43 --- /dev/null +++ b/project_report_pdf/report/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Aysha Shalin (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 . +# +############################################################################### +from . import project_project_report diff --git a/project_report_pdf/report/project_project_report.py b/project_report_pdf/report/project_project_report.py new file mode 100644 index 000000000..00c0c3982 --- /dev/null +++ b/project_report_pdf/report/project_project_report.py @@ -0,0 +1,87 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Aysha Shalin (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 . +# +############################################################################### +from odoo import api, models + + +class ReportProjectPdfProjectReportTemplate(models.AbstractModel): + """ Pdf reports """ + _name = 'report.project_report_pdf.report_project_project' + _description = 'Project Report' + + @api.model + def _get_report_values(self, docids, data=None): + """ The method collects task data based on selected criteria, including + assigned partners and task stages for the pdf report. """ + name = data['record'] + wizard_record = self.env['project.report'].search([])[-1] + task_obj = self.env['project.task'] + users_selected = [] + stages_selected = [] + for elements in wizard_record.partner_select: + users_selected.append(elements.id) + for elements in wizard_record.stage_select: + stages_selected.append(elements.id) + if wizard_record.partner_select: + if wizard_record.stage_select: + current_task = task_obj.search([ + ('project_id', '=', name), + ('user_ids', 'in', users_selected), + ('stage_id', 'in', stages_selected)]) + else: + current_task = task_obj.search([('project_id', '=', name), + ('user_ids', 'in', + users_selected)]) + else: + if wizard_record.stage_select: + current_task = task_obj.search([('project_id', '=', name), + ('stage_id', 'in', + stages_selected)]) + else: + current_task = task_obj.search([('project_id', '=', name)]) + vals = [] + for i in current_task: + new = [] + new.clear() + for o in i.user_ids: + new.append(o.name) + assignees_name = ' , '.join([str(elem) for elem in new]) + vals.append({ + 'name': i.name, + 'user_id': assignees_name, + 'stage_id': i.stage_id.name, + }) + if current_task: + return { + 'vals': vals, + 'name': current_task[0].project_id.name, + 'manager': current_task[0].project_id.user_id.name, + 'date_start': current_task[0].project_id.date_start, + 'date_end': current_task[0].project_id.date, + } + else: + return { + 'vals': vals, + 'name': current_task.project_id.name, + 'manager': current_task.project_id.user_id.name, + 'date_start': current_task.project_id.date_start, + 'date_end': current_task.project_id.date, + } diff --git a/project_report_pdf/report/project_report_template.xml b/project_report_pdf/report/project_report_template.xml new file mode 100644 index 000000000..146a0d3bc --- /dev/null +++ b/project_report_pdf/report/project_report_template.xml @@ -0,0 +1,45 @@ + + + + diff --git a/project_report_pdf/security/ir.model.access.csv b/project_report_pdf/security/ir.model.access.csv new file mode 100644 index 000000000..9333c0666 --- /dev/null +++ b/project_report_pdf/security/ir.model.access.csv @@ -0,0 +1,2 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_project_report,project.report,model_project_report,,1,1,1,1 diff --git a/project_report_pdf/static/description/assets/icons/capture (1).png b/project_report_pdf/static/description/assets/icons/capture (1).png new file mode 100644 index 000000000..8824deafc Binary files /dev/null and b/project_report_pdf/static/description/assets/icons/capture (1).png differ diff --git a/project_report_pdf/static/description/assets/icons/check.png b/project_report_pdf/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/project_report_pdf/static/description/assets/icons/check.png differ diff --git a/project_report_pdf/static/description/assets/icons/chevron.png b/project_report_pdf/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/project_report_pdf/static/description/assets/icons/chevron.png differ diff --git a/project_report_pdf/static/description/assets/icons/cogs.png b/project_report_pdf/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/project_report_pdf/static/description/assets/icons/cogs.png differ diff --git a/project_report_pdf/static/description/assets/icons/consultation.png b/project_report_pdf/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/project_report_pdf/static/description/assets/icons/consultation.png differ diff --git a/project_report_pdf/static/description/assets/icons/ecom-black.png b/project_report_pdf/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/project_report_pdf/static/description/assets/icons/ecom-black.png differ diff --git a/project_report_pdf/static/description/assets/icons/education-black.png b/project_report_pdf/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/project_report_pdf/static/description/assets/icons/education-black.png differ diff --git a/project_report_pdf/static/description/assets/icons/hotel-black.png b/project_report_pdf/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/project_report_pdf/static/description/assets/icons/hotel-black.png differ diff --git a/project_report_pdf/static/description/assets/icons/img.png b/project_report_pdf/static/description/assets/icons/img.png new file mode 100644 index 000000000..70197f477 Binary files /dev/null and b/project_report_pdf/static/description/assets/icons/img.png differ diff --git a/project_report_pdf/static/description/assets/icons/license.png b/project_report_pdf/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/project_report_pdf/static/description/assets/icons/license.png differ diff --git a/project_report_pdf/static/description/assets/icons/lifebuoy.png b/project_report_pdf/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/project_report_pdf/static/description/assets/icons/lifebuoy.png differ diff --git a/project_report_pdf/static/description/assets/icons/manufacturing-black.png b/project_report_pdf/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/project_report_pdf/static/description/assets/icons/manufacturing-black.png differ diff --git a/project_report_pdf/static/description/assets/icons/photo-capture.png b/project_report_pdf/static/description/assets/icons/photo-capture.png new file mode 100644 index 000000000..06c111758 Binary files /dev/null and b/project_report_pdf/static/description/assets/icons/photo-capture.png differ diff --git a/project_report_pdf/static/description/assets/icons/pos-black.png b/project_report_pdf/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/project_report_pdf/static/description/assets/icons/pos-black.png differ diff --git a/project_report_pdf/static/description/assets/icons/puzzle.png b/project_report_pdf/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/project_report_pdf/static/description/assets/icons/puzzle.png differ diff --git a/project_report_pdf/static/description/assets/icons/restaurant-black.png b/project_report_pdf/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/project_report_pdf/static/description/assets/icons/restaurant-black.png differ diff --git a/project_report_pdf/static/description/assets/icons/service-black.png b/project_report_pdf/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/project_report_pdf/static/description/assets/icons/service-black.png differ diff --git a/project_report_pdf/static/description/assets/icons/trading-black.png b/project_report_pdf/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/project_report_pdf/static/description/assets/icons/trading-black.png differ diff --git a/project_report_pdf/static/description/assets/icons/training.png b/project_report_pdf/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/project_report_pdf/static/description/assets/icons/training.png differ diff --git a/project_report_pdf/static/description/assets/icons/update.png b/project_report_pdf/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/project_report_pdf/static/description/assets/icons/update.png differ diff --git a/project_report_pdf/static/description/assets/icons/user.png b/project_report_pdf/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/project_report_pdf/static/description/assets/icons/user.png differ diff --git a/project_report_pdf/static/description/assets/icons/wrench.png b/project_report_pdf/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/project_report_pdf/static/description/assets/icons/wrench.png differ diff --git a/project_report_pdf/static/description/assets/misc/Cybrosys R.png b/project_report_pdf/static/description/assets/misc/Cybrosys R.png new file mode 100644 index 000000000..da4058087 Binary files /dev/null and b/project_report_pdf/static/description/assets/misc/Cybrosys R.png differ diff --git a/project_report_pdf/static/description/assets/misc/email.svg b/project_report_pdf/static/description/assets/misc/email.svg new file mode 100644 index 000000000..15291cdc3 --- /dev/null +++ b/project_report_pdf/static/description/assets/misc/email.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/project_report_pdf/static/description/assets/misc/phone.svg b/project_report_pdf/static/description/assets/misc/phone.svg new file mode 100644 index 000000000..b7bd7f251 --- /dev/null +++ b/project_report_pdf/static/description/assets/misc/phone.svg @@ -0,0 +1,3 @@ + + + diff --git a/project_report_pdf/static/description/assets/misc/star (1) 2.svg b/project_report_pdf/static/description/assets/misc/star (1) 2.svg new file mode 100644 index 000000000..5ae9f507a --- /dev/null +++ b/project_report_pdf/static/description/assets/misc/star (1) 2.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/project_report_pdf/static/description/assets/misc/support (1) 1.svg b/project_report_pdf/static/description/assets/misc/support (1) 1.svg new file mode 100644 index 000000000..7d37a8f30 --- /dev/null +++ b/project_report_pdf/static/description/assets/misc/support (1) 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/project_report_pdf/static/description/assets/misc/support-email.svg b/project_report_pdf/static/description/assets/misc/support-email.svg new file mode 100644 index 000000000..eb70370d6 --- /dev/null +++ b/project_report_pdf/static/description/assets/misc/support-email.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/project_report_pdf/static/description/assets/misc/tick-mark.svg b/project_report_pdf/static/description/assets/misc/tick-mark.svg new file mode 100644 index 000000000..2dbb40187 --- /dev/null +++ b/project_report_pdf/static/description/assets/misc/tick-mark.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/project_report_pdf/static/description/assets/misc/whatsapp 1.svg b/project_report_pdf/static/description/assets/misc/whatsapp 1.svg new file mode 100644 index 000000000..0bfaf8fc6 --- /dev/null +++ b/project_report_pdf/static/description/assets/misc/whatsapp 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/project_report_pdf/static/description/assets/misc/whatsapp.svg b/project_report_pdf/static/description/assets/misc/whatsapp.svg new file mode 100644 index 000000000..b618aea1d --- /dev/null +++ b/project_report_pdf/static/description/assets/misc/whatsapp.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/project_report_pdf/static/description/assets/modules/create_expense.png b/project_report_pdf/static/description/assets/modules/create_expense.png new file mode 100644 index 000000000..225692968 Binary files /dev/null and b/project_report_pdf/static/description/assets/modules/create_expense.png differ diff --git a/project_report_pdf/static/description/assets/modules/project_custom_gantt.png b/project_report_pdf/static/description/assets/modules/project_custom_gantt.png new file mode 100644 index 000000000..bfa4c431b Binary files /dev/null and b/project_report_pdf/static/description/assets/modules/project_custom_gantt.png differ diff --git a/project_report_pdf/static/description/assets/modules/project_dashboard_odoo.png b/project_report_pdf/static/description/assets/modules/project_dashboard_odoo.png new file mode 100644 index 000000000..d5424b8fa Binary files /dev/null and b/project_report_pdf/static/description/assets/modules/project_dashboard_odoo.png differ diff --git a/project_report_pdf/static/description/assets/modules/project_task_attachments.png b/project_report_pdf/static/description/assets/modules/project_task_attachments.png new file mode 100644 index 000000000..b07c616e8 Binary files /dev/null and b/project_report_pdf/static/description/assets/modules/project_task_attachments.png differ diff --git a/project_report_pdf/static/description/assets/modules/task_deadline_reminder.png b/project_report_pdf/static/description/assets/modules/task_deadline_reminder.png new file mode 100644 index 000000000..cf0c54ea9 Binary files /dev/null and b/project_report_pdf/static/description/assets/modules/task_deadline_reminder.png differ diff --git a/project_report_pdf/static/description/assets/modules/tasks_integration.png b/project_report_pdf/static/description/assets/modules/tasks_integration.png new file mode 100644 index 000000000..cce13769d Binary files /dev/null and b/project_report_pdf/static/description/assets/modules/tasks_integration.png differ diff --git a/project_report_pdf/static/description/assets/screenshots/1.png b/project_report_pdf/static/description/assets/screenshots/1.png new file mode 100644 index 000000000..5f7f82a6d Binary files /dev/null and b/project_report_pdf/static/description/assets/screenshots/1.png differ diff --git a/project_report_pdf/static/description/assets/screenshots/2.png b/project_report_pdf/static/description/assets/screenshots/2.png new file mode 100644 index 000000000..83a687b4c Binary files /dev/null and b/project_report_pdf/static/description/assets/screenshots/2.png differ diff --git a/project_report_pdf/static/description/assets/screenshots/3.png b/project_report_pdf/static/description/assets/screenshots/3.png new file mode 100644 index 000000000..ff33f08a2 Binary files /dev/null and b/project_report_pdf/static/description/assets/screenshots/3.png differ diff --git a/project_report_pdf/static/description/assets/screenshots/4.png b/project_report_pdf/static/description/assets/screenshots/4.png new file mode 100644 index 000000000..a96a87d1f Binary files /dev/null and b/project_report_pdf/static/description/assets/screenshots/4.png differ diff --git a/project_report_pdf/static/description/assets/screenshots/hero.gif b/project_report_pdf/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..da73127c1 Binary files /dev/null and b/project_report_pdf/static/description/assets/screenshots/hero.gif differ diff --git a/project_report_pdf/static/description/banner.png b/project_report_pdf/static/description/banner.png new file mode 100644 index 000000000..ec2c10a19 Binary files /dev/null and b/project_report_pdf/static/description/banner.png differ diff --git a/project_report_pdf/static/description/icon.png b/project_report_pdf/static/description/icon.png new file mode 100644 index 000000000..3aad68df7 Binary files /dev/null and b/project_report_pdf/static/description/icon.png differ diff --git a/project_report_pdf/static/description/index.html b/project_report_pdf/static/description/index.html new file mode 100644 index 000000000..23a0a3192 --- /dev/null +++ b/project_report_pdf/static/description/index.html @@ -0,0 +1,581 @@ + + + + + + Odoo App 3 Index + + + + + + + + +
+
+
+
+
+ +
+
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+
+
+
+

+ Project Report XLS & PDF

+

+ Export Project Report to XLS & PDF. +

+
+ +
+
+
+
+
+

Key Highlights +

+
+
+
+
+
+ +
+
+

XLS & PDF Reports of Projects.

+

Export Project Report to XLS & PDF. +

+
+
+
+
+
+
+ +
+
+

Detailed Reports.

+

Reports Consists of Task Details of the Selected Project Including Assigned Person and Stage. +

+
+
+
+
+
+
+ +
+
+

Advanced Filters.

+

Users can Leverage the Filtering Options within the Report + Wizard to Obtain Optimized Reports. +

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

+ Go to Project.

+

+ To Get to the Project, Go to Configuration -> Projects. +

+
+
+
+
+
+
+ +
+
+

+ Filter Project Report.

+

+ You can Filter the Project Report by Selecting the Appropriate Options from the Wizard.

+
+
+
+
+
+
+ +
+
+

+ PDF Report Of Data Import/Export Plugin Project.

+
+
+
+
+
+
+ +
+
+

+ Excel Report Of Data Import/Export Plugin Project.

+
+
+
+
+
+
+
    +
  • + XLS and PDF Reports. +
  • +
  • + Detailed Report on Tasks. +
  • +
  • + Advanced Filters. +
      +
    • The User can Filter Assigned Person and Stage of Task + from Report Wizard to get the Optimized Reports.
    • +
    +
  • +
+
+
+
+
+
+
Version + 17.0.1.0.0|Released on:07th May 2023 +
+

+ Initial Commit for Project Report XLS & PDF.

+
+
+
+
+
+
+
+

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/project_report_pdf/static/src/js/action_manager.js b/project_report_pdf/static/src/js/action_manager.js new file mode 100644 index 000000000..8eed9cf0e --- /dev/null +++ b/project_report_pdf/static/src/js/action_manager.js @@ -0,0 +1,16 @@ +/** @odoo-module */ +import { registry } from "@web/core/registry"; +import { BlockUI } from "@web/core/ui/block_ui"; +import { download } from "@web/core/network/download"; +// This function is responsible for generating and downloading an XLSX report. +registry.category("ir.actions.report handlers").add("xlsx", async function (action){ + if (action.report_type === 'xlsx') { + const blockUI = new BlockUI(); + await download({ + url: '/xlsx_reports', + data: action.data, + complete: () => unblockUI, + error: (error) => self.call('crash_manager', 'rpc_error', error), + }); + } +}); diff --git a/project_report_pdf/views/project_project_view.xml b/project_report_pdf/views/project_project_view.xml new file mode 100644 index 000000000..829661b0a --- /dev/null +++ b/project_report_pdf/views/project_project_view.xml @@ -0,0 +1,13 @@ + + + + edit.project.view.form.inherit.project.report.pdf + project.project + + + +