From c83845a387e5218b12a32d1e919475ddb11cfae1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Duy=20=28=C4=90=E1=BB=97=20Anh=29?= <¨duyda@trobz.com¨> Date: Fri, 17 May 2024 12:02:29 +0700 Subject: [PATCH] [IMP] report_layout_config: pre-commit auto fixes --- report_layout_config/README.rst | 33 ++++++++++--------- .../migrations/14.0.1.0.0/pre-migrate.py | 1 - report_layout_config/pyproject.toml | 3 ++ report_layout_config/readme/CONTRIBUTORS.md | 2 ++ report_layout_config/readme/CONTRIBUTORS.rst | 2 -- report_layout_config/readme/DESCRIPTION.md | 2 ++ report_layout_config/readme/DESCRIPTION.rst | 2 -- report_layout_config/readme/USAGE.md | 4 +++ report_layout_config/readme/USAGE.rst | 4 --- .../static/description/index.html | 30 ++++++++--------- 10 files changed, 42 insertions(+), 41 deletions(-) create mode 100644 report_layout_config/pyproject.toml create mode 100644 report_layout_config/readme/CONTRIBUTORS.md delete mode 100644 report_layout_config/readme/CONTRIBUTORS.rst create mode 100644 report_layout_config/readme/DESCRIPTION.md delete mode 100644 report_layout_config/readme/DESCRIPTION.rst create mode 100644 report_layout_config/readme/USAGE.md delete mode 100644 report_layout_config/readme/USAGE.rst diff --git a/report_layout_config/README.rst b/report_layout_config/README.rst index 17b8ebbce..8f36d4a36 100644 --- a/report_layout_config/README.rst +++ b/report_layout_config/README.rst @@ -17,19 +17,19 @@ Report layout configuration :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Freporting--engine-lightgray.png?logo=github - :target: https://github.com/OCA/reporting-engine/tree/14.0/report_layout_config + :target: https://github.com/OCA/reporting-engine/tree/17.0/report_layout_config :alt: OCA/reporting-engine .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/reporting-engine-14-0/reporting-engine-14-0-report_layout_config + :target: https://translation.odoo-community.org/projects/reporting-engine-17-0/reporting-engine-17-0-report_layout_config :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/reporting-engine&target_branch=14.0 + :target: https://runboat.odoo-community.org/builds?repo=OCA/reporting-engine&target_branch=17.0 :alt: Try me on Runboat |badge1| |badge2| |badge3| |badge4| |badge5| -This module provides new report template -with possibility to add image to replace header and footer. +This module provides new report template with possibility to add image +to replace header and footer. **Table of contents** @@ -39,10 +39,11 @@ with possibility to add image to replace header and footer. Usage ===== -* In Setting/General Setting/Business Documents: - * Click on Configure Document Layout - * On the wizard choose Layout images - * Set the `Full header image` + `Full footer image` +- In Setting/General Setting/Business Documents: + + - Click on Configure Document Layout + - On the wizard choose Layout images + - Set the Full header image + Full footer image Bug Tracker =========== @@ -50,7 +51,7 @@ 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 `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -58,18 +59,18 @@ Credits ======= Authors -~~~~~~~ +------- * Camptocamp Contributors -~~~~~~~~~~~~ +------------ -* Thomas Nowicki -* Iryna Vyshnevska +- Thomas Nowicki +- Iryna Vyshnevska Maintainers -~~~~~~~~~~~ +----------- This module is maintained by the OCA. @@ -81,6 +82,6 @@ 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. -This module is part of the `OCA/reporting-engine `_ project on GitHub. +This module is part of the `OCA/reporting-engine `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/report_layout_config/migrations/14.0.1.0.0/pre-migrate.py b/report_layout_config/migrations/14.0.1.0.0/pre-migrate.py index fd4459fee..1b412e34c 100644 --- a/report_layout_config/migrations/14.0.1.0.0/pre-migrate.py +++ b/report_layout_config/migrations/14.0.1.0.0/pre-migrate.py @@ -6,7 +6,6 @@ from openupgradelib.openupgrade import rename_xmlids def migrate(cr, version): - rename_xmlids( cr, [ diff --git a/report_layout_config/pyproject.toml b/report_layout_config/pyproject.toml new file mode 100644 index 000000000..4231d0ccc --- /dev/null +++ b/report_layout_config/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/report_layout_config/readme/CONTRIBUTORS.md b/report_layout_config/readme/CONTRIBUTORS.md new file mode 100644 index 000000000..e9ed7be5f --- /dev/null +++ b/report_layout_config/readme/CONTRIBUTORS.md @@ -0,0 +1,2 @@ +- Thomas Nowicki \<\> +- Iryna Vyshnevska \<\> diff --git a/report_layout_config/readme/CONTRIBUTORS.rst b/report_layout_config/readme/CONTRIBUTORS.rst deleted file mode 100644 index 429d07530..000000000 --- a/report_layout_config/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1,2 +0,0 @@ -* Thomas Nowicki -* Iryna Vyshnevska diff --git a/report_layout_config/readme/DESCRIPTION.md b/report_layout_config/readme/DESCRIPTION.md new file mode 100644 index 000000000..a92921192 --- /dev/null +++ b/report_layout_config/readme/DESCRIPTION.md @@ -0,0 +1,2 @@ +This module provides new report template with possibility to add image +to replace header and footer. diff --git a/report_layout_config/readme/DESCRIPTION.rst b/report_layout_config/readme/DESCRIPTION.rst deleted file mode 100644 index 1283e67d0..000000000 --- a/report_layout_config/readme/DESCRIPTION.rst +++ /dev/null @@ -1,2 +0,0 @@ -This module provides new report template -with possibility to add image to replace header and footer. diff --git a/report_layout_config/readme/USAGE.md b/report_layout_config/readme/USAGE.md new file mode 100644 index 000000000..50af3fb45 --- /dev/null +++ b/report_layout_config/readme/USAGE.md @@ -0,0 +1,4 @@ +- In Setting/General Setting/Business Documents: + - Click on Configure Document Layout + - On the wizard choose Layout images + - Set the Full header image + Full footer image diff --git a/report_layout_config/readme/USAGE.rst b/report_layout_config/readme/USAGE.rst deleted file mode 100644 index 32584e7b9..000000000 --- a/report_layout_config/readme/USAGE.rst +++ /dev/null @@ -1,4 +0,0 @@ -* In Setting/General Setting/Business Documents: - * Click on Configure Document Layout - * On the wizard choose Layout images - * Set the `Full header image` + `Full footer image` diff --git a/report_layout_config/static/description/index.html b/report_layout_config/static/description/index.html index 0851759c2..d518f0374 100644 --- a/report_layout_config/static/description/index.html +++ b/report_layout_config/static/description/index.html @@ -1,4 +1,3 @@ - @@ -9,10 +8,11 @@ /* :Author: David Goodger (goodger@python.org) -:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $ +:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $ :Copyright: This stylesheet has been placed in the public domain. Default cascading style sheet for the HTML output of Docutils. +Despite the name, some widely supported CSS2 features are used. See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to customize this style sheet. @@ -275,7 +275,7 @@ pre.literal-block, pre.doctest-block, pre.math, pre.code { margin-left: 2em ; margin-right: 2em } -pre.code .ln { color: grey; } /* line numbers */ +pre.code .ln { color: gray; } /* line numbers */ pre.code, code { background-color: #eeeeee } pre.code .comment, code .comment { color: #5C6576 } pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold } @@ -301,7 +301,7 @@ span.option { span.pre { white-space: pre } -span.problematic { +span.problematic, pre.problematic { color: red } span.section-subtitle { @@ -369,9 +369,9 @@ ul.auto-toc { !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:5e26a3df0955bafce9cef3d6f197f35708c03a8308311ccbaba7a14ecb9b5e84 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

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

-

This module provides new report template -with possibility to add image to replace header and footer.

+

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

+

This module provides new report template with possibility to add image +to replace header and footer.

Table of contents

    @@ -388,15 +388,11 @@ with possibility to add image to replace header and footer.

    Usage

      -
    • -
      In Setting/General Setting/Business Documents:
      -
        +
      • In Setting/General Setting/Business Documents:
        • Click on Configure Document Layout
        • On the wizard choose Layout images
        • -
        • Set the Full header image + Full footer image
        • +
        • Set the Full header image + Full footer image
        -
      -
    @@ -405,7 +401,7 @@ with possibility to add image to replace header and footer.

    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.

    +feedback.

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

@@ -426,11 +422,13 @@ If you spotted it first, help us to smash it by providing a detailed and welcome

Maintainers

This module is maintained by the OCA.

-Odoo Community Association + +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.

-

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

+

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

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