diff --git a/pdf_report_password_protection/README.rst b/pdf_report_password_protection/README.rst new file mode 100644 index 000000000..d4084e5a1 --- /dev/null +++ b/pdf_report_password_protection/README.rst @@ -0,0 +1,44 @@ +.. 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 + +Password protection in PDF Reports +================================== +This module adds password protection to PDF reports. + +Company +------- +* `Cybrosys Techno Solutions `__ + +License +------- +General Public License, Version 3 (AGPL v3). +(https://www.gnu.org/licenses/agpl-3.0-standalone.html) + +Credits +------- +* Developer: (V15) Sabeel B, + (V17) Subina P, +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/pdf_report_password_protection/__init__.py b/pdf_report_password_protection/__init__.py new file mode 100644 index 000000000..77f510fb1 --- /dev/null +++ b/pdf_report_password_protection/__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 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 models diff --git a/pdf_report_password_protection/__manifest__.py b/pdf_report_password_protection/__manifest__.py new file mode 100644 index 000000000..f54f75754 --- /dev/null +++ b/pdf_report_password_protection/__manifest__.py @@ -0,0 +1,43 @@ +# -*- 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 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': 'Password protection in PDF Reports', + 'version': '15.0.1.0.0', + 'category': 'Tools', + 'summary': 'This module adds password protection to PDF reports.', + 'description': 'This module adds functionality for password protecting PDF ' + 'reports in Odoo. It allows users to set a password for ' + 'generated PDF documents, enhancing document security. ', + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': "https://www.cybrosys.com", + 'depends': ['base', 'web'], + 'data': ['views/ir_actions_report_views.xml'], + 'images': [ + 'static/description/banner.png' + ], + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/pdf_report_password_protection/controllers/__init__.py b/pdf_report_password_protection/controllers/__init__.py new file mode 100644 index 000000000..d5d779f1e --- /dev/null +++ b/pdf_report_password_protection/controllers/__init__.py @@ -0,0 +1,22 @@ +# -*- 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 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 pdf_report_password_protection diff --git a/pdf_report_password_protection/controllers/pdf_report_password_protection.py b/pdf_report_password_protection/controllers/pdf_report_password_protection.py new file mode 100644 index 000000000..8509b6465 --- /dev/null +++ b/pdf_report_password_protection/controllers/pdf_report_password_protection.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 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 +import werkzeug +from odoo import http +from odoo.http import request +from odoo.addons.web.controllers.main import ReportController + + +class ReportController(ReportController): + """Controller for pdf report protection.""" + @http.route([ + '/report//', + '/report///', + ], type='http', auth='user', website=True) + def report_routes(self, reportname, docids=None, converter=None, **data): + """The method used to Fetch Report Types """ + report = request.env['ir.actions.report']._get_report_from_name(reportname) + context = dict(request.env.context) + if docids: + docids = [int(i) for i in docids.split(',') if i.isdigit()] + if data.get('options'): + data.update(json.loads(data.pop('options'))) + if data.get('context'): + data['context'] = json.loads(data['context']) + context.update(data['context']) + if converter == 'html': + html = report.with_context(context)._render_qweb_html(reportname, docids, data=data)[0] + return request.make_response(html) + elif converter == 'pdf': + pdf = report.with_context(context)._render_qweb_pdf( docids, data=data)[0] + pdf_data = report.apply_password_protection(pdf, report.password_name) + pdfhttpheaders = [('Content-Type', 'application/pdf'), ('Content-Length', len(pdf_data))] + return request.make_response(pdf_data, headers=pdfhttpheaders) + elif converter == 'text': + text = report.with_context(context)._render_qweb_text(reportname, docids, data=data)[0] + texthttpheaders = [('Content-Type', 'text/plain'), ('Content-Length', len(text))] + return request.make_response(text, headers=texthttpheaders) + else: + raise werkzeug.exceptions.HTTPException(description='Converter %s not implemented.' % converter) diff --git a/pdf_report_password_protection/doc/RELEASE_NOTES.md b/pdf_report_password_protection/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..faae7d943 --- /dev/null +++ b/pdf_report_password_protection/doc/RELEASE_NOTES.md @@ -0,0 +1,7 @@ +## Module + +#### 30.07.2024 +#### Version 15.0.1.0.0 +#### ADD + +- Initial commit for Password protection in PDF Reports diff --git a/pdf_report_password_protection/models/__init__.py b/pdf_report_password_protection/models/__init__.py new file mode 100644 index 000000000..4848c519f --- /dev/null +++ b/pdf_report_password_protection/models/__init__.py @@ -0,0 +1,22 @@ +# -*- 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 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 ir_actions_report diff --git a/pdf_report_password_protection/models/ir_actions_report.py b/pdf_report_password_protection/models/ir_actions_report.py new file mode 100644 index 000000000..106d67743 --- /dev/null +++ b/pdf_report_password_protection/models/ir_actions_report.py @@ -0,0 +1,50 @@ +# -*- 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 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 fields, models +from io import BytesIO +from PyPDF2 import PdfFileWriter, PdfFileReader + + +class IrActionsReportInherit(models.Model): + """The Class Inherits to update the fields and functions""" + _inherit = 'ir.actions.report' + + is_password = fields.Boolean("Enable Password?", + help="Activate this field if you want to add " + "the password for pdf report") + password_name = fields.Char("Password", help="Enter the Password " + "here") + # Encrypts the given PDF data with a specified password if + # the password protection is enabled. + def apply_password_protection(self, pdf_content, pwd): + """Method Added to Implement the pasword options""" + input_buffer = BytesIO(pdf_content) + reader = PdfFileReader(input_buffer) + writer = PdfFileWriter() + writer.appendPagesFromReader(reader) + if self.is_password: + writer.encrypt(user_pwd=self.password_name, owner_pwd=None, + use_128bit=True) + output_buffer = BytesIO() + writer.write(output_buffer) + output_buffer.seek(0) + return output_buffer.read() diff --git a/pdf_report_password_protection/static/description/assets/icons/check.png b/pdf_report_password_protection/static/description/assets/icons/check.png new file mode 100644 index 000000000..ea0da5029 Binary files /dev/null and b/pdf_report_password_protection/static/description/assets/icons/check.png differ diff --git a/pdf_report_password_protection/static/description/assets/icons/chevron.png b/pdf_report_password_protection/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..f49dd8541 Binary files /dev/null and b/pdf_report_password_protection/static/description/assets/icons/chevron.png differ diff --git a/pdf_report_password_protection/static/description/assets/icons/cogs.png b/pdf_report_password_protection/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/pdf_report_password_protection/static/description/assets/icons/cogs.png differ diff --git a/pdf_report_password_protection/static/description/assets/icons/consultation.png b/pdf_report_password_protection/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/pdf_report_password_protection/static/description/assets/icons/consultation.png differ diff --git a/pdf_report_password_protection/static/description/assets/icons/ecom-black.png b/pdf_report_password_protection/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/pdf_report_password_protection/static/description/assets/icons/ecom-black.png differ diff --git a/pdf_report_password_protection/static/description/assets/icons/education-black.png b/pdf_report_password_protection/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/pdf_report_password_protection/static/description/assets/icons/education-black.png differ diff --git a/pdf_report_password_protection/static/description/assets/icons/hotel-black.png b/pdf_report_password_protection/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/pdf_report_password_protection/static/description/assets/icons/hotel-black.png differ diff --git a/pdf_report_password_protection/static/description/assets/icons/icon.png b/pdf_report_password_protection/static/description/assets/icons/icon.png new file mode 100644 index 000000000..61b0eb171 Binary files /dev/null and b/pdf_report_password_protection/static/description/assets/icons/icon.png differ diff --git a/pdf_report_password_protection/static/description/assets/icons/license.png b/pdf_report_password_protection/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/pdf_report_password_protection/static/description/assets/icons/license.png differ diff --git a/pdf_report_password_protection/static/description/assets/icons/lifebuoy.png b/pdf_report_password_protection/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/pdf_report_password_protection/static/description/assets/icons/lifebuoy.png differ diff --git a/pdf_report_password_protection/static/description/assets/icons/logo.png b/pdf_report_password_protection/static/description/assets/icons/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/pdf_report_password_protection/static/description/assets/icons/logo.png differ diff --git a/pdf_report_password_protection/static/description/assets/icons/manufacturing-black.png b/pdf_report_password_protection/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/pdf_report_password_protection/static/description/assets/icons/manufacturing-black.png differ diff --git a/pdf_report_password_protection/static/description/assets/icons/pos-black.png b/pdf_report_password_protection/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/pdf_report_password_protection/static/description/assets/icons/pos-black.png differ diff --git a/pdf_report_password_protection/static/description/assets/icons/puzzle.png b/pdf_report_password_protection/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/pdf_report_password_protection/static/description/assets/icons/puzzle.png differ diff --git a/pdf_report_password_protection/static/description/assets/icons/restaurant-black.png b/pdf_report_password_protection/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/pdf_report_password_protection/static/description/assets/icons/restaurant-black.png differ diff --git a/pdf_report_password_protection/static/description/assets/icons/service-black.png b/pdf_report_password_protection/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/pdf_report_password_protection/static/description/assets/icons/service-black.png differ diff --git a/pdf_report_password_protection/static/description/assets/icons/trading-black.png b/pdf_report_password_protection/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/pdf_report_password_protection/static/description/assets/icons/trading-black.png differ diff --git a/pdf_report_password_protection/static/description/assets/icons/training.png b/pdf_report_password_protection/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/pdf_report_password_protection/static/description/assets/icons/training.png differ diff --git a/pdf_report_password_protection/static/description/assets/icons/update.png b/pdf_report_password_protection/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/pdf_report_password_protection/static/description/assets/icons/update.png differ diff --git a/pdf_report_password_protection/static/description/assets/icons/user.png b/pdf_report_password_protection/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/pdf_report_password_protection/static/description/assets/icons/user.png differ diff --git a/pdf_report_password_protection/static/description/assets/icons/wrench.png b/pdf_report_password_protection/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/pdf_report_password_protection/static/description/assets/icons/wrench.png differ diff --git a/pdf_report_password_protection/static/description/assets/misc/categories.png b/pdf_report_password_protection/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/pdf_report_password_protection/static/description/assets/misc/categories.png differ diff --git a/pdf_report_password_protection/static/description/assets/misc/check-box.png b/pdf_report_password_protection/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/pdf_report_password_protection/static/description/assets/misc/check-box.png differ diff --git a/pdf_report_password_protection/static/description/assets/misc/compass.png b/pdf_report_password_protection/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/pdf_report_password_protection/static/description/assets/misc/compass.png differ diff --git a/pdf_report_password_protection/static/description/assets/misc/corporate.png b/pdf_report_password_protection/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/pdf_report_password_protection/static/description/assets/misc/corporate.png differ diff --git a/pdf_report_password_protection/static/description/assets/misc/customer-support.png b/pdf_report_password_protection/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/pdf_report_password_protection/static/description/assets/misc/customer-support.png differ diff --git a/pdf_report_password_protection/static/description/assets/misc/cybrosys-logo.png b/pdf_report_password_protection/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/pdf_report_password_protection/static/description/assets/misc/cybrosys-logo.png differ diff --git a/pdf_report_password_protection/static/description/assets/misc/features.png b/pdf_report_password_protection/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/pdf_report_password_protection/static/description/assets/misc/features.png differ diff --git a/pdf_report_password_protection/static/description/assets/misc/logo.png b/pdf_report_password_protection/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/pdf_report_password_protection/static/description/assets/misc/logo.png differ diff --git a/pdf_report_password_protection/static/description/assets/misc/pictures.png b/pdf_report_password_protection/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/pdf_report_password_protection/static/description/assets/misc/pictures.png differ diff --git a/pdf_report_password_protection/static/description/assets/misc/pie-chart.png b/pdf_report_password_protection/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/pdf_report_password_protection/static/description/assets/misc/pie-chart.png differ diff --git a/pdf_report_password_protection/static/description/assets/misc/right-arrow.png b/pdf_report_password_protection/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/pdf_report_password_protection/static/description/assets/misc/right-arrow.png differ diff --git a/pdf_report_password_protection/static/description/assets/misc/star.png b/pdf_report_password_protection/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/pdf_report_password_protection/static/description/assets/misc/star.png differ diff --git a/pdf_report_password_protection/static/description/assets/misc/support.png b/pdf_report_password_protection/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/pdf_report_password_protection/static/description/assets/misc/support.png differ diff --git a/pdf_report_password_protection/static/description/assets/misc/whatsapp.png b/pdf_report_password_protection/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/pdf_report_password_protection/static/description/assets/misc/whatsapp.png differ diff --git a/pdf_report_password_protection/static/description/assets/modules/budget_image.png b/pdf_report_password_protection/static/description/assets/modules/budget_image.png new file mode 100644 index 000000000..b50130c7d Binary files /dev/null and b/pdf_report_password_protection/static/description/assets/modules/budget_image.png differ diff --git a/pdf_report_password_protection/static/description/assets/modules/credit_image.png b/pdf_report_password_protection/static/description/assets/modules/credit_image.png new file mode 100644 index 000000000..3ad04ecfd Binary files /dev/null and b/pdf_report_password_protection/static/description/assets/modules/credit_image.png differ diff --git a/pdf_report_password_protection/static/description/assets/modules/employee_image.png b/pdf_report_password_protection/static/description/assets/modules/employee_image.png new file mode 100644 index 000000000..30ad58232 Binary files /dev/null and b/pdf_report_password_protection/static/description/assets/modules/employee_image.png differ diff --git a/pdf_report_password_protection/static/description/assets/modules/export_image.png b/pdf_report_password_protection/static/description/assets/modules/export_image.png new file mode 100644 index 000000000..492980ad0 Binary files /dev/null and b/pdf_report_password_protection/static/description/assets/modules/export_image.png differ diff --git a/pdf_report_password_protection/static/description/assets/modules/gantt_image.png b/pdf_report_password_protection/static/description/assets/modules/gantt_image.png new file mode 100644 index 000000000..1ae7cfe3b Binary files /dev/null and b/pdf_report_password_protection/static/description/assets/modules/gantt_image.png differ diff --git a/pdf_report_password_protection/static/description/assets/modules/quotation_image.png b/pdf_report_password_protection/static/description/assets/modules/quotation_image.png new file mode 100644 index 000000000..499b1a72f Binary files /dev/null and b/pdf_report_password_protection/static/description/assets/modules/quotation_image.png differ diff --git a/pdf_report_password_protection/static/description/assets/screenshots.zip b/pdf_report_password_protection/static/description/assets/screenshots.zip new file mode 100644 index 000000000..9ecb15784 Binary files /dev/null and b/pdf_report_password_protection/static/description/assets/screenshots.zip differ diff --git a/pdf_report_password_protection/static/description/assets/screenshots/hero.gif b/pdf_report_password_protection/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..ead05fb4a Binary files /dev/null and b/pdf_report_password_protection/static/description/assets/screenshots/hero.gif differ diff --git a/pdf_report_password_protection/static/description/assets/screenshots/scrn_001.png b/pdf_report_password_protection/static/description/assets/screenshots/scrn_001.png new file mode 100644 index 000000000..907ada88b Binary files /dev/null and b/pdf_report_password_protection/static/description/assets/screenshots/scrn_001.png differ diff --git a/pdf_report_password_protection/static/description/assets/screenshots/scrn_002.png b/pdf_report_password_protection/static/description/assets/screenshots/scrn_002.png new file mode 100644 index 000000000..fdc5e7816 Binary files /dev/null and b/pdf_report_password_protection/static/description/assets/screenshots/scrn_002.png differ diff --git a/pdf_report_password_protection/static/description/assets/screenshots/scrn_003.png b/pdf_report_password_protection/static/description/assets/screenshots/scrn_003.png new file mode 100644 index 000000000..a790cea44 Binary files /dev/null and b/pdf_report_password_protection/static/description/assets/screenshots/scrn_003.png differ diff --git a/pdf_report_password_protection/static/description/assets/screenshots/scrn_004.png b/pdf_report_password_protection/static/description/assets/screenshots/scrn_004.png new file mode 100644 index 000000000..e2b3c46a8 Binary files /dev/null and b/pdf_report_password_protection/static/description/assets/screenshots/scrn_004.png differ diff --git a/pdf_report_password_protection/static/description/assets/screenshots/scrn_005.png b/pdf_report_password_protection/static/description/assets/screenshots/scrn_005.png new file mode 100644 index 000000000..02f93176e Binary files /dev/null and b/pdf_report_password_protection/static/description/assets/screenshots/scrn_005.png differ diff --git a/pdf_report_password_protection/static/description/assets/screenshots/scrn_006.png b/pdf_report_password_protection/static/description/assets/screenshots/scrn_006.png new file mode 100644 index 000000000..fe186b822 Binary files /dev/null and b/pdf_report_password_protection/static/description/assets/screenshots/scrn_006.png differ diff --git a/pdf_report_password_protection/static/description/banner.png b/pdf_report_password_protection/static/description/banner.png new file mode 100644 index 000000000..4822ac20b Binary files /dev/null and b/pdf_report_password_protection/static/description/banner.png differ diff --git a/pdf_report_password_protection/static/description/icon.png b/pdf_report_password_protection/static/description/icon.png new file mode 100644 index 000000000..8bba0ed17 Binary files /dev/null and b/pdf_report_password_protection/static/description/icon.png differ diff --git a/pdf_report_password_protection/static/description/index.html b/pdf_report_password_protection/static/description/index.html new file mode 100644 index 000000000..47e2d0713 --- /dev/null +++ b/pdf_report_password_protection/static/description/index.html @@ -0,0 +1,616 @@ +
+
+
+
+ +
+
+
+ Community +
+
+ Enterprise +
+ +
+
+
+
+ +
+
+
+
+

+ Password protection in PDF Reports

+
+

+ Enables Password Protection In PDF Reports. +

+ +
+
+
+ +
+
+

+ Explore this module

+ +
+
+
+ +
+
+

+ Overview

+
+

+ Module provides an option to set a password for opening the PDF report and ensure document security +

+
+
+ +
+
+

+ Features

+
+
+
+
+ + Provides an option to set a password for opening the PDF report. + +
+ +
+ + Ensure document security. + +
+
+
+
+
+ + +
+
+

+ Screenshots

+
+ +
+
+ +

Navigate to Reports under Technical in General Settings. +

+ +
+ +
+
+ +

Select the PDF report to which you want to add the password. +

+ +
+
+ +
+
+ +

Go to the Advanced Properties tab and enable the Enable Password field. +

+
+ +
+ +
+
+ +

Add the Password here and Save. +

+ +
+
+
+
+ +

Take the corresponding report, in which the password is given. +

+ +
+
+
+
+ +

After Downloading the report, Need to type the password to open the pdf report. +

+ +
+
+
+
+
+ + +
+
+

+ 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?

+
+
+
+ + +
+ +
+ + +
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+
+
+ + +
diff --git a/pdf_report_password_protection/views/ir_actions_report_views.xml b/pdf_report_password_protection/views/ir_actions_report_views.xml new file mode 100644 index 000000000..c59870072 --- /dev/null +++ b/pdf_report_password_protection/views/ir_actions_report_views.xml @@ -0,0 +1,17 @@ + + + + + ir.actions.report.view.form.inherit.pdf.report.password.protection + ir.actions.report + + + + + + + + + + +