From a6ec9d9a5d9d839b4b64c88c27c7e43217337dd8 Mon Sep 17 00:00:00 2001 From: David Ramia Date: Sat, 18 Nov 2023 09:09:35 +0100 Subject: [PATCH] [IMP] report_qweb_parameter: pre-commit auto fixes --- report_qweb_parameter/README.rst | 47 +- report_qweb_parameter/pyproject.toml | 3 + report_qweb_parameter/readme/CONTRIBUTORS.md | 7 + report_qweb_parameter/readme/CONTRIBUTORS.rst | 7 - report_qweb_parameter/readme/DESCRIPTION.md | 7 + report_qweb_parameter/readme/DESCRIPTION.rst | 7 - report_qweb_parameter/readme/USAGE.md | 6 + report_qweb_parameter/readme/USAGE.rst | 3 - .../static/description/index.html | 895 +++++++++--------- 9 files changed, 497 insertions(+), 485 deletions(-) create mode 100644 report_qweb_parameter/pyproject.toml create mode 100644 report_qweb_parameter/readme/CONTRIBUTORS.md delete mode 100644 report_qweb_parameter/readme/CONTRIBUTORS.rst create mode 100644 report_qweb_parameter/readme/DESCRIPTION.md delete mode 100644 report_qweb_parameter/readme/DESCRIPTION.rst create mode 100644 report_qweb_parameter/readme/USAGE.md delete mode 100644 report_qweb_parameter/readme/USAGE.rst diff --git a/report_qweb_parameter/README.rst b/report_qweb_parameter/README.rst index 899c56f9e..a87851e23 100644 --- a/report_qweb_parameter/README.rst +++ b/report_qweb_parameter/README.rst @@ -17,24 +17,24 @@ Report QWeb Parameter :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/16.0/report_qweb_parameter + :target: https://github.com/OCA/reporting-engine/tree/17.0/report_qweb_parameter :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-16-0/reporting-engine-16-0-report_qweb_parameter + :target: https://translation.odoo-community.org/projects/reporting-engine-17-0/reporting-engine-17-0-report_qweb_parameter :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=16.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 allows you to add new parameters on QWeb reports. -Currently, we have defined a field maximum on a report and a validation of -maximal and minimal size. -It is useful on xml reports in order to validate length. -XML are sometimes XSD dependant and we must validate its format. -For example, in spanish facturae (http://www.facturae.gob.es/Paginas/Index.aspx), where -length and format must be validated in several fields in order to send an invoice. +This module allows you to add new parameters on QWeb reports. Currently, +we have defined a field maximum on a report and a validation of maximal +and minimal size. It is useful on xml reports in order to validate +length. XML are sometimes XSD dependant and we must validate its format. +For example, in spanish facturae +(http://www.facturae.gob.es/Paginas/Index.aspx), where length and format +must be validated in several fields in order to send an invoice. **Table of contents** @@ -44,9 +44,12 @@ length and format must be validated in several fields in order to send an invoic Usage ===== -#. Add a t-length attribute on report templates fields that will truncate the field -#. Add a t-minlength attribute on report template fields that will check the min length -#. Add a t-maxlength attribute on report template fields that will check the max length +1. Add a t-length attribute on report templates fields that will + truncate the field +2. Add a t-minlength attribute on report template fields that will check + the min length +3. Add a t-maxlength attribute on report template fields that will check + the max length Bug Tracker =========== @@ -54,7 +57,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. @@ -62,23 +65,23 @@ Credits ======= Authors -~~~~~~~ +------- * Creu Blanca Contributors -~~~~~~~~~~~~ +------------ -* Enric Tobella +- Enric Tobella -* `Tecnativa `_: +- `Tecnativa `__: - * Carlos Roca + - Carlos Roca -* Iván Antón +- Iván Antón Maintainers -~~~~~~~~~~~ +----------- This module is maintained by the OCA. @@ -90,6 +93,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_qweb_parameter/pyproject.toml b/report_qweb_parameter/pyproject.toml new file mode 100644 index 000000000..4231d0ccc --- /dev/null +++ b/report_qweb_parameter/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/report_qweb_parameter/readme/CONTRIBUTORS.md b/report_qweb_parameter/readme/CONTRIBUTORS.md new file mode 100644 index 000000000..79e4ef0f2 --- /dev/null +++ b/report_qweb_parameter/readme/CONTRIBUTORS.md @@ -0,0 +1,7 @@ +- Enric Tobella \<\> + +- [Tecnativa](https://www.tecnativa.com): + + > - Carlos Roca + +- Iván Antón \<\> diff --git a/report_qweb_parameter/readme/CONTRIBUTORS.rst b/report_qweb_parameter/readme/CONTRIBUTORS.rst deleted file mode 100644 index 784b880ff..000000000 --- a/report_qweb_parameter/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1,7 +0,0 @@ -* Enric Tobella - -* `Tecnativa `_: - - * Carlos Roca - -* Iván Antón diff --git a/report_qweb_parameter/readme/DESCRIPTION.md b/report_qweb_parameter/readme/DESCRIPTION.md new file mode 100644 index 000000000..edd6608ee --- /dev/null +++ b/report_qweb_parameter/readme/DESCRIPTION.md @@ -0,0 +1,7 @@ +This module allows you to add new parameters on QWeb reports. Currently, +we have defined a field maximum on a report and a validation of maximal +and minimal size. It is useful on xml reports in order to validate +length. XML are sometimes XSD dependant and we must validate its format. +For example, in spanish facturae +(), where length and +format must be validated in several fields in order to send an invoice. diff --git a/report_qweb_parameter/readme/DESCRIPTION.rst b/report_qweb_parameter/readme/DESCRIPTION.rst deleted file mode 100644 index a738afa66..000000000 --- a/report_qweb_parameter/readme/DESCRIPTION.rst +++ /dev/null @@ -1,7 +0,0 @@ -This module allows you to add new parameters on QWeb reports. -Currently, we have defined a field maximum on a report and a validation of -maximal and minimal size. -It is useful on xml reports in order to validate length. -XML are sometimes XSD dependant and we must validate its format. -For example, in spanish facturae (http://www.facturae.gob.es/Paginas/Index.aspx), where -length and format must be validated in several fields in order to send an invoice. diff --git a/report_qweb_parameter/readme/USAGE.md b/report_qweb_parameter/readme/USAGE.md new file mode 100644 index 000000000..2c13b8c91 --- /dev/null +++ b/report_qweb_parameter/readme/USAGE.md @@ -0,0 +1,6 @@ +1. Add a t-length attribute on report templates fields that will + truncate the field +2. Add a t-minlength attribute on report template fields that will + check the min length +3. Add a t-maxlength attribute on report template fields that will + check the max length diff --git a/report_qweb_parameter/readme/USAGE.rst b/report_qweb_parameter/readme/USAGE.rst deleted file mode 100644 index 80469d005..000000000 --- a/report_qweb_parameter/readme/USAGE.rst +++ /dev/null @@ -1,3 +0,0 @@ -#. Add a t-length attribute on report templates fields that will truncate the field -#. Add a t-minlength attribute on report template fields that will check the min length -#. Add a t-maxlength attribute on report template fields that will check the max length diff --git a/report_qweb_parameter/static/description/index.html b/report_qweb_parameter/static/description/index.html index c5c8f37ce..d281a4713 100644 --- a/report_qweb_parameter/static/description/index.html +++ b/report_qweb_parameter/static/description/index.html @@ -1,446 +1,449 @@ - - - - - - -Report QWeb Parameter - - - -
-

Report QWeb Parameter

- - -

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

-

This module allows you to add new parameters on QWeb reports. -Currently, we have defined a field maximum on a report and a validation of -maximal and minimal size. -It is useful on xml reports in order to validate length. -XML are sometimes XSD dependant and we must validate its format. -For example, in spanish facturae (http://www.facturae.gob.es/Paginas/Index.aspx), where -length and format must be validated in several fields in order to send an invoice.

-

Table of contents

- -
-

Usage

-
    -
  1. Add a t-length attribute on report templates fields that will truncate the field
  2. -
  3. Add a t-minlength attribute on report template fields that will check the min length
  4. -
  5. Add a t-maxlength attribute on report template fields that will check the max length
  6. -
-
-
-

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

-
    -
  • Creu Blanca
  • -
-
-
-

Contributors

- -
-
-

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.

-

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.

-
-
-
- - + + + + + + +Report QWeb Parameter + + + +
+

Report QWeb Parameter

+ + +

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

+

This module allows you to add new parameters on QWeb reports. Currently, +we have defined a field maximum on a report and a validation of maximal +and minimal size. It is useful on xml reports in order to validate +length. XML are sometimes XSD dependant and we must validate its format. +For example, in spanish facturae +(http://www.facturae.gob.es/Paginas/Index.aspx), where length and format +must be validated in several fields in order to send an invoice.

+

Table of contents

+ +
+

Usage

+
    +
  1. Add a t-length attribute on report templates fields that will +truncate the field
  2. +
  3. Add a t-minlength attribute on report template fields that will check +the min length
  4. +
  5. Add a t-maxlength attribute on report template fields that will check +the max length
  6. +
+
+
+

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

+
    +
  • Creu Blanca
  • +
+
+
+

Contributors

+ +
+
+

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.

+

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.

+
+
+
+ +