From 3a815342f147bd7062babb68ce503b576963134a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Kh=C3=B4i=20=28Ki=C3=AAn=20Kim=29?=
Date: Tue, 15 Oct 2024 17:35:19 +0700
Subject: [PATCH] [IMP] base_report_to_label_printer: pre-commit auto fixes
---
base_report_to_label_printer/README.rst | 25 ++++++++++---------
base_report_to_label_printer/pyproject.toml | 3 +++
.../readme/CONTRIBUTORS.md | 1 +
.../readme/CONTRIBUTORS.rst | 1 -
.../readme/DESCRIPTION.md | 7 ++++++
.../readme/DESCRIPTION.rst | 6 -----
.../static/description/index.html | 20 +++++++++------
7 files changed, 36 insertions(+), 27 deletions(-)
create mode 100644 base_report_to_label_printer/pyproject.toml
create mode 100644 base_report_to_label_printer/readme/CONTRIBUTORS.md
delete mode 100644 base_report_to_label_printer/readme/CONTRIBUTORS.rst
create mode 100644 base_report_to_label_printer/readme/DESCRIPTION.md
delete mode 100644 base_report_to_label_printer/readme/DESCRIPTION.rst
diff --git a/base_report_to_label_printer/README.rst b/base_report_to_label_printer/README.rst
index 0ce22b33bfe..ab3e7ef439f 100644
--- a/base_report_to_label_printer/README.rst
+++ b/base_report_to_label_printer/README.rst
@@ -17,23 +17,24 @@ Report to label printer
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Freport--print--send-lightgray.png?logo=github
- :target: https://github.com/OCA/report-print-send/tree/16.0/base_report_to_label_printer
+ :target: https://github.com/OCA/report-print-send/tree/18.0/base_report_to_label_printer
:alt: OCA/report-print-send
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
- :target: https://translation.odoo-community.org/projects/report-print-send-16-0/report-print-send-16-0-base_report_to_label_printer
+ :target: https://translation.odoo-community.org/projects/report-print-send-18-0/report-print-send-18-0-base_report_to_label_printer
: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/report-print-send&target_branch=16.0
+ :target: https://runboat.odoo-community.org/builds?repo=OCA/report-print-send&target_branch=18.0
:alt: Try me on Runboat
|badge1| |badge2| |badge3| |badge4| |badge5|
-This module makes it possible to print specific reports to a label printer that is configured on the user.
+This module makes it possible to print specific reports to a label
+printer that is configured on the user.
To do this, the following must be configured:
-* Flag the report as a label report
-* Define a label printer for the user
+- Flag the report as a label report
+- Define a label printer for the user
**Table of contents**
@@ -46,7 +47,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.
@@ -54,17 +55,17 @@ Credits
=======
Authors
-~~~~~~~
+-------
* Raumschmiede GmbH - Christopher Hansen
Contributors
-~~~~~~~~~~~~
+------------
-* Hughes Damry
+- Hughes Damry
Maintainers
-~~~~~~~~~~~
+-----------
This module is maintained by the OCA.
@@ -76,6 +77,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/report-print-send `_ project on GitHub.
+This module is part of the `OCA/report-print-send `_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/base_report_to_label_printer/pyproject.toml b/base_report_to_label_printer/pyproject.toml
new file mode 100644
index 00000000000..4231d0cccb3
--- /dev/null
+++ b/base_report_to_label_printer/pyproject.toml
@@ -0,0 +1,3 @@
+[build-system]
+requires = ["whool"]
+build-backend = "whool.buildapi"
diff --git a/base_report_to_label_printer/readme/CONTRIBUTORS.md b/base_report_to_label_printer/readme/CONTRIBUTORS.md
new file mode 100644
index 00000000000..25a068f4f9f
--- /dev/null
+++ b/base_report_to_label_printer/readme/CONTRIBUTORS.md
@@ -0,0 +1 @@
+- Hughes Damry \<\>
diff --git a/base_report_to_label_printer/readme/CONTRIBUTORS.rst b/base_report_to_label_printer/readme/CONTRIBUTORS.rst
deleted file mode 100644
index abe377cff49..00000000000
--- a/base_report_to_label_printer/readme/CONTRIBUTORS.rst
+++ /dev/null
@@ -1 +0,0 @@
-* Hughes Damry
diff --git a/base_report_to_label_printer/readme/DESCRIPTION.md b/base_report_to_label_printer/readme/DESCRIPTION.md
new file mode 100644
index 00000000000..20657f6ae7e
--- /dev/null
+++ b/base_report_to_label_printer/readme/DESCRIPTION.md
@@ -0,0 +1,7 @@
+This module makes it possible to print specific reports to a label
+printer that is configured on the user.
+
+To do this, the following must be configured:
+
+- Flag the report as a label report
+- Define a label printer for the user
diff --git a/base_report_to_label_printer/readme/DESCRIPTION.rst b/base_report_to_label_printer/readme/DESCRIPTION.rst
deleted file mode 100644
index 5b4738843b2..00000000000
--- a/base_report_to_label_printer/readme/DESCRIPTION.rst
+++ /dev/null
@@ -1,6 +0,0 @@
-This module makes it possible to print specific reports to a label printer that is configured on the user.
-
-To do this, the following must be configured:
-
-* Flag the report as a label report
-* Define a label printer for the user
diff --git a/base_report_to_label_printer/static/description/index.html b/base_report_to_label_printer/static/description/index.html
index 59865978a24..3ed5e2e9e1c 100644
--- a/base_report_to_label_printer/static/description/index.html
+++ b/base_report_to_label_printer/static/description/index.html
@@ -8,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.
@@ -274,7 +275,7 @@
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 }
@@ -300,7 +301,7 @@
span.pre {
white-space: pre }
-span.problematic {
+span.problematic, pre.problematic {
color: red }
span.section-subtitle {
@@ -368,8 +369,9 @@ Report to label printer
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:4bf684cbc8b3611e4978597bb436aa423426d49b0eb4c55c79d26353343077e9
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
-
-This module makes it possible to print specific reports to a label printer that is configured on the user.
+
+This module makes it possible to print specific reports to a label
+printer that is configured on the user.
To do this, the following must be configured:
- Flag the report as a label report
@@ -392,7 +394,7 @@
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.
@@ -412,11 +414,13 @@
This module is maintained by the OCA.
-
+
+
+
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/report-print-send project on GitHub.
+
This module is part of the OCA/report-print-send project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.