From 91383b1b0f3e3bbc3bfe550de7891e87a09bc72f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Mart=C3=ADnez?= Date: Wed, 15 Jan 2025 17:05:24 +0100 Subject: [PATCH] [IMP] helpdesk_mgmt_sale: pre-commit auto fixes --- helpdesk_mgmt_sale/README.rst | 39 ++++++++++--------- helpdesk_mgmt_sale/pyproject.toml | 3 ++ helpdesk_mgmt_sale/readme/CONTRIBUTORS.md | 2 + helpdesk_mgmt_sale/readme/CONTRIBUTORS.rst | 3 -- helpdesk_mgmt_sale/readme/DESCRIPTION.md | 4 ++ helpdesk_mgmt_sale/readme/DESCRIPTION.rst | 4 -- helpdesk_mgmt_sale/readme/USAGE.md | 9 +++++ helpdesk_mgmt_sale/readme/USAGE.rst | 6 --- .../static/description/index.html | 23 ++++++----- 9 files changed, 52 insertions(+), 41 deletions(-) create mode 100644 helpdesk_mgmt_sale/pyproject.toml create mode 100644 helpdesk_mgmt_sale/readme/CONTRIBUTORS.md delete mode 100644 helpdesk_mgmt_sale/readme/CONTRIBUTORS.rst create mode 100644 helpdesk_mgmt_sale/readme/DESCRIPTION.md delete mode 100644 helpdesk_mgmt_sale/readme/DESCRIPTION.rst create mode 100644 helpdesk_mgmt_sale/readme/USAGE.md delete mode 100644 helpdesk_mgmt_sale/readme/USAGE.rst diff --git a/helpdesk_mgmt_sale/README.rst b/helpdesk_mgmt_sale/README.rst index 9c72614ada..cccca9c1a5 100644 --- a/helpdesk_mgmt_sale/README.rst +++ b/helpdesk_mgmt_sale/README.rst @@ -17,21 +17,21 @@ Helpdesk Sale Order :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fhelpdesk-lightgray.png?logo=github - :target: https://github.com/OCA/helpdesk/tree/15.0/helpdesk_mgmt_sale + :target: https://github.com/OCA/helpdesk/tree/17.0/helpdesk_mgmt_sale :alt: OCA/helpdesk .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/helpdesk-15-0/helpdesk-15-0-helpdesk_mgmt_sale + :target: https://translation.odoo-community.org/projects/helpdesk-17-0/helpdesk-17-0-helpdesk_mgmt_sale :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/helpdesk&target_branch=15.0 + :target: https://runboat.odoo-community.org/builds?repo=OCA/helpdesk&target_branch=17.0 :alt: Try me on Runboat |badge1| |badge2| |badge3| |badge4| |badge5| -This module extends the Helpdesk functionality in Odoo to allow an integration between -Helpdesk tickets and sales orders. A ticket can have several sales orders associated -with it, which in turn will have the ticket associated with it, allowing tickets and -sales to be related. +This module extends the Helpdesk functionality in Odoo to allow an +integration between Helpdesk tickets and sales orders. A ticket can have +several sales orders associated with it, which in turn will have the +ticket associated with it, allowing tickets and sales to be related. **Table of contents** @@ -43,10 +43,13 @@ Usage To associate orders to Helpdesk tickets: -#. Create or modify a Helpdesk ticket. -#. In the ticket view, you will find a **Sales Order** Smartbutton which will show the number of orders associated to the ticket. -#. Clicking on the Smartbutton will open a view with all the sales orders related to the current ticket. -#. To create an order associated to the ticket click on the **Create** button. +1. Create or modify a Helpdesk ticket. +2. In the ticket view, you will find a **Sales Order** Smartbutton which + will show the number of orders associated to the ticket. +3. Clicking on the Smartbutton will open a view with all the sales + orders related to the current ticket. +4. To create an order associated to the ticket click on the **Create** + button. 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,19 +65,19 @@ Credits ======= Authors -~~~~~~~ +------- * Tecnativa Contributors -~~~~~~~~~~~~ +------------ -* `Tecnativa `_: +- `Tecnativa `__: - * Pilar Vargas + - Pilar Vargas Maintainers -~~~~~~~~~~~ +----------- This module is maintained by the OCA. @@ -86,6 +89,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/helpdesk `_ project on GitHub. +This module is part of the `OCA/helpdesk `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/helpdesk_mgmt_sale/pyproject.toml b/helpdesk_mgmt_sale/pyproject.toml new file mode 100644 index 0000000000..4231d0cccb --- /dev/null +++ b/helpdesk_mgmt_sale/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/helpdesk_mgmt_sale/readme/CONTRIBUTORS.md b/helpdesk_mgmt_sale/readme/CONTRIBUTORS.md new file mode 100644 index 0000000000..df940da7c6 --- /dev/null +++ b/helpdesk_mgmt_sale/readme/CONTRIBUTORS.md @@ -0,0 +1,2 @@ +- [Tecnativa](https://www.tecnativa.com): + - Pilar Vargas diff --git a/helpdesk_mgmt_sale/readme/CONTRIBUTORS.rst b/helpdesk_mgmt_sale/readme/CONTRIBUTORS.rst deleted file mode 100644 index 44075b9f25..0000000000 --- a/helpdesk_mgmt_sale/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1,3 +0,0 @@ -* `Tecnativa `_: - - * Pilar Vargas diff --git a/helpdesk_mgmt_sale/readme/DESCRIPTION.md b/helpdesk_mgmt_sale/readme/DESCRIPTION.md new file mode 100644 index 0000000000..c5cdd99ad8 --- /dev/null +++ b/helpdesk_mgmt_sale/readme/DESCRIPTION.md @@ -0,0 +1,4 @@ +This module extends the Helpdesk functionality in Odoo to allow an +integration between Helpdesk tickets and sales orders. A ticket can have +several sales orders associated with it, which in turn will have the +ticket associated with it, allowing tickets and sales to be related. diff --git a/helpdesk_mgmt_sale/readme/DESCRIPTION.rst b/helpdesk_mgmt_sale/readme/DESCRIPTION.rst deleted file mode 100644 index af71e8d0c7..0000000000 --- a/helpdesk_mgmt_sale/readme/DESCRIPTION.rst +++ /dev/null @@ -1,4 +0,0 @@ -This module extends the Helpdesk functionality in Odoo to allow an integration between -Helpdesk tickets and sales orders. A ticket can have several sales orders associated -with it, which in turn will have the ticket associated with it, allowing tickets and -sales to be related. diff --git a/helpdesk_mgmt_sale/readme/USAGE.md b/helpdesk_mgmt_sale/readme/USAGE.md new file mode 100644 index 0000000000..af3580e3e4 --- /dev/null +++ b/helpdesk_mgmt_sale/readme/USAGE.md @@ -0,0 +1,9 @@ +To associate orders to Helpdesk tickets: + +1. Create or modify a Helpdesk ticket. +2. In the ticket view, you will find a **Sales Order** Smartbutton + which will show the number of orders associated to the ticket. +3. Clicking on the Smartbutton will open a view with all the sales + orders related to the current ticket. +4. To create an order associated to the ticket click on the **Create** + button. diff --git a/helpdesk_mgmt_sale/readme/USAGE.rst b/helpdesk_mgmt_sale/readme/USAGE.rst deleted file mode 100644 index 2628bcdec6..0000000000 --- a/helpdesk_mgmt_sale/readme/USAGE.rst +++ /dev/null @@ -1,6 +0,0 @@ -To associate orders to Helpdesk tickets: - -#. Create or modify a Helpdesk ticket. -#. In the ticket view, you will find a **Sales Order** Smartbutton which will show the number of orders associated to the ticket. -#. Clicking on the Smartbutton will open a view with all the sales orders related to the current ticket. -#. To create an order associated to the ticket click on the **Create** button. diff --git a/helpdesk_mgmt_sale/static/description/index.html b/helpdesk_mgmt_sale/static/description/index.html index 1ab3458965..cc332323b4 100644 --- a/helpdesk_mgmt_sale/static/description/index.html +++ b/helpdesk_mgmt_sale/static/description/index.html @@ -369,11 +369,11 @@

Helpdesk Sale Order

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:9058b48ff43b86b6c8dd426fccf2d6ccf02d75989c508e82bee02b5bfe550bcf !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

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

-

This module extends the Helpdesk functionality in Odoo to allow an integration between -Helpdesk tickets and sales orders. A ticket can have several sales orders associated -with it, which in turn will have the ticket associated with it, allowing tickets and -sales to be related.

+

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

+

This module extends the Helpdesk functionality in Odoo to allow an +integration between Helpdesk tickets and sales orders. A ticket can have +several sales orders associated with it, which in turn will have the +ticket associated with it, allowing tickets and sales to be related.

Table of contents

    @@ -392,9 +392,12 @@

    Usage

    To associate orders to Helpdesk tickets:

    1. Create or modify a Helpdesk ticket.
    2. -
    3. In the ticket view, you will find a Sales Order Smartbutton which will show the number of orders associated to the ticket.
    4. -
    5. Clicking on the Smartbutton will open a view with all the sales orders related to the current ticket.
    6. -
    7. To create an order associated to the ticket click on the Create button.
    8. +
    9. In the ticket view, you will find a Sales Order Smartbutton which +will show the number of orders associated to the ticket.
    10. +
    11. Clicking on the Smartbutton will open a view with all the sales +orders related to the current ticket.
    12. +
    13. To create an order associated to the ticket click on the Create +button.
@@ -402,7 +405,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.

@@ -431,7 +434,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/helpdesk project on GitHub.

+

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

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