Skip to main content

Account Financial Reports Block PDF

Beta License: AGPL-3 sygel-technology/sy-account-financial-reporting

This module allows to block the generation of financial reports in PDF format. It is possible to configure the list of financial reports that have to be blocked.

Table of contents

Configuration

To configure the list of financial reports that cannot be printed in PDF you need to:

  • Go to Settings > Technical > System Parameters.

  • Find or create a system parameter called “forbidden.pdf.financial.reports”.

  • Introduce the technical name of the wizard generator models that need to be blocked separated by commas. The link between the financial reports in the module account_financial_report and the technical name of their wizards is as follows:

    • General Ledger: general.ledger.report.wizard

    • Journal Ledger: journal.ledger.report.wizard

    • Trial Balance: trial.balance.report.wizard

    • Open Items: open.items.report.wizard

    • Aged Partner Balance: aged.partner.balance.report.wizard

    • VAT Report: vat.report.wizard

For instance, if the PDF generation of the General Ledger and Trial Balance reports have to be blocked, the “forbidden.pdf.financial.reports” system parameter should contain the value “general.ledger.report.wizard,trial.balance.report.wizard” (with no quotes).

Keep in mind that all the PDF reports are blocked by default when this module is installed.

If a new report that inherits the abstract class account_financial_report_abstract_wizard is developed, its PDF report can also be blocked by adding the name of its own wizard in the “forbidden.pdf.financial.reports” system parameter list.

Usage

When a user tries to generate the PDF file of a financial report whose PDF file have been blocked, an error message appears.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Sygel

Contributors

  • Sygel:

    • Manuel Regidor

    • Valentín Vinagre

Maintainers

This module is part of the sygel-technology/sy-account-financial-reporting project on GitHub.

You are welcome to contribute.

Metadata

Release files for odoo-addon-account-financial-report-block-pdf 18.0.1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo-addon-account-financial-report-block-pdf 18.0.1.0.0
File Interpreter ABI Platform
odoo_addon_account_financial_report_block_pdf-18.0.1.0.0-py3-none-any.whl Python 3 none any Details

Release files / odoo_addon_account_financial_report_block_pdf-18.0.1.0.0-py3-none-any.whl

Download URL odoo_addon_account_financial_report_block_pdf-18.0.1.0.0-py3-none-any.whl
Size 42.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
782bb56259e7630628e36439c55c901470f5dfe02a55ed4cbeb9c5352d453e6f
BLAKE2b-256 checksum
How to use checksums
4b71bace0b54c2418b1cbd603edff3ed1f9edd1a781979d2bb5ddf388966cea1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.3

Release history Release notifications | RSS feed

This release

18.0.1.0.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page