From 609747f0d008772fc5e64fefecb06e687737318b Mon Sep 17 00:00:00 2001 From: Carlos Lopez Date: Mon, 30 Dec 2024 12:30:17 -0500 Subject: [PATCH] [IMP] mail_print: pre-commit auto fixes --- mail_print/README.rst | 20 ++++++++++--------- mail_print/pyproject.toml | 3 +++ .../{DESCRIPTION.rst => DESCRIPTION.md} | 3 ++- mail_print/readme/USAGE.md | 7 +++++++ mail_print/readme/USAGE.rst | 6 ------ mail_print/static/description/index.html | 12 ++++++----- 6 files changed, 30 insertions(+), 21 deletions(-) create mode 100644 mail_print/pyproject.toml rename mail_print/readme/{DESCRIPTION.rst => DESCRIPTION.md} (82%) create mode 100644 mail_print/readme/USAGE.md delete mode 100644 mail_print/readme/USAGE.rst diff --git a/mail_print/README.rst b/mail_print/README.rst index 24399e80f9..a139cace6c 100644 --- a/mail_print/README.rst +++ b/mail_print/README.rst @@ -17,18 +17,19 @@ Mail Print Message :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsocial-lightgray.png?logo=github - :target: https://github.com/OCA/social/tree/15.0/mail_print + :target: https://github.com/OCA/social/tree/17.0/mail_print :alt: OCA/social .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/social-15-0/social-15-0-mail_print + :target: https://translation.odoo-community.org/projects/social-17-0/social-17-0-mail_print :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/social&target_branch=15.0 + :target: https://runboat.odoo-community.org/builds?repo=OCA/social&target_branch=17.0 :alt: Try me on Runboat |badge1| |badge2| |badge3| |badge4| |badge5| -This module allows users to print messages from the chatter of any document. +This module allows users to print messages from the chatter of any +document. **Table of contents** @@ -41,7 +42,8 @@ Usage To use this module, follow these steps: 1. Navigate to the chatter of any document. -2. Hover the mouse over any message in the chatter (excluding internal notes). +2. Hover the mouse over any message in the chatter (excluding internal + notes). 3. A print icon will appear next to the message. 4. Click the print icon to generate a printable version of the message. @@ -51,7 +53,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. @@ -59,12 +61,12 @@ Credits ======= Authors -~~~~~~~ +------- * Tecnativa Maintainers -~~~~~~~~~~~ +----------- This module is maintained by the OCA. @@ -76,6 +78,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/social `_ project on GitHub. +This module is part of the `OCA/social `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/mail_print/pyproject.toml b/mail_print/pyproject.toml new file mode 100644 index 0000000000..4231d0cccb --- /dev/null +++ b/mail_print/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/mail_print/readme/DESCRIPTION.rst b/mail_print/readme/DESCRIPTION.md similarity index 82% rename from mail_print/readme/DESCRIPTION.rst rename to mail_print/readme/DESCRIPTION.md index 59ad80d1dc..d1c1a9be8f 100644 --- a/mail_print/readme/DESCRIPTION.rst +++ b/mail_print/readme/DESCRIPTION.md @@ -1 +1,2 @@ -This module allows users to print messages from the chatter of any document. +This module allows users to print messages from the chatter of any +document. diff --git a/mail_print/readme/USAGE.md b/mail_print/readme/USAGE.md new file mode 100644 index 0000000000..9dcc56bc60 --- /dev/null +++ b/mail_print/readme/USAGE.md @@ -0,0 +1,7 @@ +To use this module, follow these steps: + +1. Navigate to the chatter of any document. +2. Hover the mouse over any message in the chatter (excluding internal + notes). +3. A print icon will appear next to the message. +4. Click the print icon to generate a printable version of the message. diff --git a/mail_print/readme/USAGE.rst b/mail_print/readme/USAGE.rst deleted file mode 100644 index 65b8cb5d02..0000000000 --- a/mail_print/readme/USAGE.rst +++ /dev/null @@ -1,6 +0,0 @@ -To use this module, follow these steps: - -1. Navigate to the chatter of any document. -2. Hover the mouse over any message in the chatter (excluding internal notes). -3. A print icon will appear next to the message. -4. Click the print icon to generate a printable version of the message. diff --git a/mail_print/static/description/index.html b/mail_print/static/description/index.html index 72e196e8ea..94d377b01b 100644 --- a/mail_print/static/description/index.html +++ b/mail_print/static/description/index.html @@ -369,8 +369,9 @@

Mail Print Message

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:0cd861f29fc0a68aebccb18a4db08b607f68edca8c3672e499e013ed99f8fda6 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

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

-

This module allows users to print messages from the chatter of any document.

+

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

+

This module allows users to print messages from the chatter of any +document.

Table of contents

    @@ -388,7 +389,8 @@

    Usage

    To use this module, follow these steps:

    1. Navigate to the chatter of any document.
    2. -
    3. Hover the mouse over any message in the chatter (excluding internal notes).
    4. +
    5. Hover the mouse over any message in the chatter (excluding internal +notes).
    6. A print icon will appear next to the message.
    7. Click the print icon to generate a printable version of the message.
    @@ -398,7 +400,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.

@@ -418,7 +420,7 @@

Maintainers

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/social project on GitHub.

+

This module is part of the OCA/social project on GitHub.

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