From a64062b76f41edf1b4cfda419c0dc918ddd2b7a5 Mon Sep 17 00:00:00 2001 From: Carlos Roca Date: Wed, 29 May 2024 11:01:10 +0200 Subject: [PATCH] [ADD] account_invoice_report_header_repeater: New module to repeat the header in all pages of the invoice report --- .../README.rst | 91 ++++ .../__init__.py | 0 .../__manifest__.py | 23 + ...account_invoice_report_header_repeater.pot | 15 + .../readme/CONTRIBUTORS.rst | 4 + .../readme/DESCRIPTION.rst | 2 + .../static/description/index.html | 430 ++++++++++++++++++ .../views/report_invoice.xml | 70 +++ .../account_invoice_report_header_repeater | 1 + .../setup.py | 6 + 10 files changed, 642 insertions(+) create mode 100644 account_invoice_report_header_repeater/README.rst create mode 100644 account_invoice_report_header_repeater/__init__.py create mode 100644 account_invoice_report_header_repeater/__manifest__.py create mode 100644 account_invoice_report_header_repeater/i18n/account_invoice_report_header_repeater.pot create mode 100644 account_invoice_report_header_repeater/readme/CONTRIBUTORS.rst create mode 100644 account_invoice_report_header_repeater/readme/DESCRIPTION.rst create mode 100644 account_invoice_report_header_repeater/static/description/index.html create mode 100644 account_invoice_report_header_repeater/views/report_invoice.xml create mode 120000 setup/account_invoice_report_header_repeater/odoo/addons/account_invoice_report_header_repeater create mode 100644 setup/account_invoice_report_header_repeater/setup.py diff --git a/account_invoice_report_header_repeater/README.rst b/account_invoice_report_header_repeater/README.rst new file mode 100644 index 000000000..c9dc09673 --- /dev/null +++ b/account_invoice_report_header_repeater/README.rst @@ -0,0 +1,91 @@ +====================================== +Account Invoice Report Header Repeater +====================================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:250ad016f62e25a561f117eb95f0a74afaa86dab02f5d26ccbb260dbf31e5897 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Faccount--invoice--reporting-lightgray.png?logo=github + :target: https://github.com/OCA/account-invoice-reporting/tree/16.0/account_invoice_report_header_repeater + :alt: OCA/account-invoice-reporting +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/account-invoice-reporting-16-0/account-invoice-reporting-16-0-account_invoice_report_header_repeater + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/account-invoice-reporting&target_branch=16.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module edits report_invoice_document to repeat the header in all the pages +of the report. + +**Table of contents** + +.. contents:: + :local: + +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 +~~~~~~~ + +* Tecnativa + +Contributors +~~~~~~~~~~~~ + +* `Tecnativa `_ + + * Sergio Teruel + * Carlos Roca + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +.. |maintainer-CarlosRoca13| image:: https://github.com/CarlosRoca13.png?size=40px + :target: https://github.com/CarlosRoca13 + :alt: CarlosRoca13 +.. |maintainer-sergio-teruel| image:: https://github.com/sergio-teruel.png?size=40px + :target: https://github.com/sergio-teruel + :alt: sergio-teruel + +Current `maintainers `__: + +|maintainer-CarlosRoca13| |maintainer-sergio-teruel| + +This module is part of the `OCA/account-invoice-reporting `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/account_invoice_report_header_repeater/__init__.py b/account_invoice_report_header_repeater/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/account_invoice_report_header_repeater/__manifest__.py b/account_invoice_report_header_repeater/__manifest__.py new file mode 100644 index 000000000..06230febe --- /dev/null +++ b/account_invoice_report_header_repeater/__manifest__.py @@ -0,0 +1,23 @@ +# Copyright 2017 Sergio Teruel - Tecnativa +# Copyright 2024 Carlos Roca - Tecnativa +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + "name": "Account Invoice Report Header Repeater", + "version": "16.0.1.0.0", + "author": "Tecnativa, Odoo Community Association (OCA)", + "website": "https://github.com/OCA/account-invoice-reporting", + "category": "Accounting", + "license": "AGPL-3", + "depends": [ + "account", + ], + "data": [ + "views/report_invoice.xml", + ], + "maintainers": [ + "CarlosRoca13", + "sergio-teruel", + ], + "installable": True, +} diff --git a/account_invoice_report_header_repeater/i18n/account_invoice_report_header_repeater.pot b/account_invoice_report_header_repeater/i18n/account_invoice_report_header_repeater.pot new file mode 100644 index 000000000..9555e1e68 --- /dev/null +++ b/account_invoice_report_header_repeater/i18n/account_invoice_report_header_repeater.pot @@ -0,0 +1,15 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-05-29 09:02+0000\n" +"PO-Revision-Date: 2024-05-29 09:02+0000\n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" diff --git a/account_invoice_report_header_repeater/readme/CONTRIBUTORS.rst b/account_invoice_report_header_repeater/readme/CONTRIBUTORS.rst new file mode 100644 index 000000000..99c1e6df5 --- /dev/null +++ b/account_invoice_report_header_repeater/readme/CONTRIBUTORS.rst @@ -0,0 +1,4 @@ +* `Tecnativa `_ + + * Sergio Teruel + * Carlos Roca diff --git a/account_invoice_report_header_repeater/readme/DESCRIPTION.rst b/account_invoice_report_header_repeater/readme/DESCRIPTION.rst new file mode 100644 index 000000000..a8d196fba --- /dev/null +++ b/account_invoice_report_header_repeater/readme/DESCRIPTION.rst @@ -0,0 +1,2 @@ +This module edits report_invoice_document to repeat the header in all the pages +of the report. \ No newline at end of file diff --git a/account_invoice_report_header_repeater/static/description/index.html b/account_invoice_report_header_repeater/static/description/index.html new file mode 100644 index 000000000..6f8720527 --- /dev/null +++ b/account_invoice_report_header_repeater/static/description/index.html @@ -0,0 +1,430 @@ + + + + + +Account Invoice Report Header Repeater + + + +
+

Account Invoice Report Header Repeater

+ + +

Beta License: AGPL-3 OCA/account-invoice-reporting Translate me on Weblate Try me on Runboat

+

This module edits report_invoice_document to repeat the header in all the pages +of the report.

+

Table of contents

+ +
+

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

+
    +
  • Tecnativa
  • +
+
+
+

Contributors

+
    +
  • Tecnativa
      +
    • Sergio Teruel
    • +
    • Carlos Roca
    • +
    +
  • +
+
+
+

Maintainers

+

This module is maintained by the OCA.

+ +Odoo Community Association + +

OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

+

Current maintainers:

+

CarlosRoca13 sergio-teruel

+

This module is part of the OCA/account-invoice-reporting project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/account_invoice_report_header_repeater/views/report_invoice.xml b/account_invoice_report_header_repeater/views/report_invoice.xml new file mode 100644 index 000000000..f809f1255 --- /dev/null +++ b/account_invoice_report_header_repeater/views/report_invoice.xml @@ -0,0 +1,70 @@ + + + + + + diff --git a/setup/account_invoice_report_header_repeater/odoo/addons/account_invoice_report_header_repeater b/setup/account_invoice_report_header_repeater/odoo/addons/account_invoice_report_header_repeater new file mode 120000 index 000000000..e99e0a66c --- /dev/null +++ b/setup/account_invoice_report_header_repeater/odoo/addons/account_invoice_report_header_repeater @@ -0,0 +1 @@ +../../../../account_invoice_report_header_repeater \ No newline at end of file diff --git a/setup/account_invoice_report_header_repeater/setup.py b/setup/account_invoice_report_header_repeater/setup.py new file mode 100644 index 000000000..28c57bb64 --- /dev/null +++ b/setup/account_invoice_report_header_repeater/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +)