|
1 | | -.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg |
2 | | - :target: http://www.gnu.org/licenses/agpl |
3 | | - :alt: License: AGPL-3 |
4 | | - |
5 | 1 | =================================== |
6 | 2 | Account Financial Reports Block PDF |
7 | 3 | =================================== |
8 | 4 |
|
9 | | -This module allows to block the generation of financial reports in PDF format. |
10 | | -It is possible to configure the list of financial reports that have to be blocked. |
| 5 | +.. |
| 6 | + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
| 7 | + !! This file is generated by oca-gen-addon-readme !! |
| 8 | + !! changes will be overwritten. !! |
| 9 | + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
| 10 | + !! source digest: sha256:242dd12a53539a8cec4ec373c14c65cb762d10e1f1d5bde4844c6c5019536419 |
| 11 | + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
| 12 | +
|
| 13 | +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png |
| 14 | + :target: https://odoo-community.org/page/development-status |
| 15 | + :alt: Beta |
| 16 | +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png |
| 17 | + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html |
| 18 | + :alt: License: AGPL-3 |
| 19 | +.. |badge3| image:: https://img.shields.io/badge/github-sygel--technology%2Fsy--account--financial--reporting-lightgray.png?logo=github |
| 20 | + :target: https://github.com/sygel-technology/sy-account-financial-reporting/tree/18.0/account_financial_report_block_pdf |
| 21 | + :alt: sygel-technology/sy-account-financial-reporting |
| 22 | + |
| 23 | +|badge1| |badge2| |badge3| |
11 | 24 |
|
| 25 | +This module allows to block the generation of financial reports in PDF |
| 26 | +format. It is possible to configure the list of financial reports that |
| 27 | +have to be blocked. |
| 28 | + |
| 29 | +**Table of contents** |
| 30 | + |
| 31 | +.. contents:: |
| 32 | + :local: |
12 | 33 |
|
13 | 34 | Configuration |
14 | 35 | ============= |
15 | 36 |
|
16 | | -To configure the list of financial reports that cannot be printed in PDF you need to: |
| 37 | +To configure the list of financial reports that cannot be printed in PDF |
| 38 | +you need to: |
| 39 | + |
| 40 | +- Go to Settings > Technical > System Parameters. |
17 | 41 |
|
18 | | -* Go to Settings > Technical > System Parameters. |
19 | | -* Find or create a system parameter called "forbidden.pdf.financial.reports". |
20 | | -* Introduce the technical name of the wizard generator models that need to be blocked |
21 | | - separated by commas. The link between the financial reports in the module |
22 | | - account_financial_report and the technical name of their wizards is as follows: |
| 42 | +- Find or create a system parameter called |
| 43 | + "forbidden.pdf.financial.reports". |
23 | 44 |
|
24 | | - * General Ledger: general.ledger.report.wizard |
25 | | - * Journal Ledger: journal.ledger.report.wizard |
26 | | - * Trial Balance: trial.balance.report.wizard |
27 | | - * Open Items: open.items.report.wizard |
28 | | - * Aged Partner Balance: aged.partner.balance.report.wizard |
29 | | - * VAT Report: vat.report.wizard |
| 45 | +- Introduce the technical name of the wizard generator models that need |
| 46 | + to be blocked separated by commas. The link between the financial |
| 47 | + reports in the module account_financial_report and the technical name |
| 48 | + of their wizards is as follows: |
30 | 49 |
|
31 | | -For instance, if the PDF generation of the General Ledger and Trial Balance reports have |
32 | | -to be blocked, the "forbidden.pdf.financial.reports" system parameter should contain the |
33 | | -value "general.ledger.report.wizard,trial.balance.report.wizard" (with no quotes). |
| 50 | + - General Ledger: general.ledger.report.wizard |
| 51 | + - Journal Ledger: journal.ledger.report.wizard |
| 52 | + - Trial Balance: trial.balance.report.wizard |
| 53 | + - Open Items: open.items.report.wizard |
| 54 | + - Aged Partner Balance: aged.partner.balance.report.wizard |
| 55 | + - VAT Report: vat.report.wizard |
34 | 56 |
|
35 | | -Keep in mind that all the PDF reports are blocked by default when this module is |
36 | | -installed. |
| 57 | +For instance, if the PDF generation of the General Ledger and Trial |
| 58 | +Balance reports have to be blocked, the |
| 59 | +"forbidden.pdf.financial.reports" system parameter should contain the |
| 60 | +value "general.ledger.report.wizard,trial.balance.report.wizard" (with |
| 61 | +no quotes). |
37 | 62 |
|
38 | | -If a new report that inherits the abstract class account_financial_report_abstract_wizard |
39 | | -is developed, its PDF report can also be blocked by adding the name of its own wizard |
40 | | -in the "forbidden.pdf.financial.reports" system parameter list. |
| 63 | +Keep in mind that all the PDF reports are blocked by default when this |
| 64 | +module is installed. |
41 | 65 |
|
| 66 | +If a new report that inherits the abstract class |
| 67 | +account_financial_report_abstract_wizard is developed, its PDF report |
| 68 | +can also be blocked by adding the name of its own wizard in the |
| 69 | +"forbidden.pdf.financial.reports" system parameter list. |
42 | 70 |
|
43 | 71 | Usage |
44 | 72 | ===== |
45 | 73 |
|
46 | | -When a user tries to generate the PDF file of a financial report whose PDF file have |
47 | | -been blocked, an error message appears. |
48 | | - |
| 74 | +When a user tries to generate the PDF file of a financial report whose |
| 75 | +PDF file have been blocked, an error message appears. |
49 | 76 |
|
50 | 77 | Bug Tracker |
51 | 78 | =========== |
52 | 79 |
|
53 | | -Bugs and errors are managed in `issues of GitHub <https://github.com/sygel-technology/sy-account-financial-reporting/issues>`_. |
54 | | -In case of problems, please check if your problem has already been |
55 | | -reported. If you are the first to discover it, help us solving it by indicating |
56 | | -a detailed description `here <https://github.com/sygel-technology/sy-account-financial-reporting/issues/new>`_. |
| 80 | +Bugs are tracked on `GitHub Issues <https://github.com/sygel-technology/sy-account-financial-reporting/issues>`_. |
| 81 | +In case of trouble, please check there if your issue has already been reported. |
| 82 | +If you spotted it first, help us to smash it by providing a detailed and welcomed |
| 83 | +`feedback <https://github.com/sygel-technology/sy-account-financial-reporting/issues/new?body=module:%20account_financial_report_block_pdf%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. |
57 | 84 |
|
58 | 85 | Do not contact contributors directly about support or help with technical issues. |
59 | 86 |
|
60 | | - |
61 | 87 | Credits |
62 | 88 | ======= |
63 | 89 |
|
64 | 90 | Authors |
65 | | -~~~~~~~ |
66 | | - |
67 | | -* Sygel, Odoo Community Association (OCA) |
| 91 | +------- |
68 | 92 |
|
| 93 | +* Sygel |
69 | 94 |
|
70 | 95 | Contributors |
71 | | -~~~~~~~~~~~~ |
72 | | - |
73 | | -* `Sygel <https://www.sygel.es>`__: |
74 | | - |
75 | | - * Manuel Regidor <manuel.regidor@sygel.es> |
76 | | - * Valentin Vinagre <valentin.vinagre@sygel.es> |
77 | | - |
| 96 | +------------ |
78 | 97 |
|
79 | | -Maintainer |
80 | | -~~~~~~~~~~ |
| 98 | +- `Sygel <https://www.sygel.es>`__: |
81 | 99 |
|
82 | | -This module is maintained by Sygel. |
| 100 | + - Manuel Regidor |
| 101 | + - Valentín Vinagre |
83 | 102 |
|
84 | | -.. image:: https://www.sygel.es/logo.png |
85 | | - :alt: Sygel |
86 | | - :target: https://www.sygel.es |
| 103 | +Maintainers |
| 104 | +----------- |
87 | 105 |
|
88 | | -This module is part of the `Sygel/sy-account-financial-reporting <https://github.com/sygel-technology/sy-account-financial-reporting>`_. |
| 106 | +This module is part of the `sygel-technology/sy-account-financial-reporting <https://github.com/sygel-technology/sy-account-financial-reporting/tree/18.0/account_financial_report_block_pdf>`_ project on GitHub. |
89 | 107 |
|
90 | | -To contribute to this module, please visit https://github.com/sygel-technology/. |
| 108 | +You are welcome to contribute. |
0 commit comments