Skip to content

Commit

Permalink
[IMP] helpdesk_mgmt_sale: pre-commit auto fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
victoralmau committed Jan 15, 2025
1 parent 74dd250 commit 91383b1
Show file tree
Hide file tree
Showing 9 changed files with 52 additions and 41 deletions.
39 changes: 21 additions & 18 deletions helpdesk_mgmt_sale/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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**

Expand All @@ -43,38 +43,41 @@ 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
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/helpdesk/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 <https://github.com/OCA/helpdesk/issues/new?body=module:%20helpdesk_mgmt_sale%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
`feedback <https://github.com/OCA/helpdesk/issues/new?body=module:%20helpdesk_mgmt_sale%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

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

Credits
=======

Authors
~~~~~~~
-------

* Tecnativa

Contributors
~~~~~~~~~~~~
------------

* `Tecnativa <https://www.tecnativa.com>`_:
- `Tecnativa <https://www.tecnativa.com>`__:

* Pilar Vargas
- Pilar Vargas

Maintainers
~~~~~~~~~~~
-----------

This module is maintained by the OCA.

Expand All @@ -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 <https://github.com/OCA/helpdesk/tree/15.0/helpdesk_mgmt_sale>`_ project on GitHub.
This module is part of the `OCA/helpdesk <https://github.com/OCA/helpdesk/tree/17.0/helpdesk_mgmt_sale>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions helpdesk_mgmt_sale/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
2 changes: 2 additions & 0 deletions helpdesk_mgmt_sale/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- [Tecnativa](https://www.tecnativa.com):
- Pilar Vargas
3 changes: 0 additions & 3 deletions helpdesk_mgmt_sale/readme/CONTRIBUTORS.rst

This file was deleted.

4 changes: 4 additions & 0 deletions helpdesk_mgmt_sale/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -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.
4 changes: 0 additions & 4 deletions helpdesk_mgmt_sale/readme/DESCRIPTION.rst

This file was deleted.

9 changes: 9 additions & 0 deletions helpdesk_mgmt_sale/readme/USAGE.md
Original file line number Diff line number Diff line change
@@ -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.
6 changes: 0 additions & 6 deletions helpdesk_mgmt_sale/readme/USAGE.rst

This file was deleted.

23 changes: 13 additions & 10 deletions helpdesk_mgmt_sale/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -369,11 +369,11 @@ <h1 class="title">Helpdesk Sale Order</h1>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:9058b48ff43b86b6c8dd426fccf2d6ccf02d75989c508e82bee02b5bfe550bcf
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/helpdesk/tree/15.0/helpdesk_mgmt_sale"><img alt="OCA/helpdesk" src="https://img.shields.io/badge/github-OCA%2Fhelpdesk-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/helpdesk-15-0/helpdesk-15-0-helpdesk_mgmt_sale"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/helpdesk&amp;target_branch=15.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>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.</p>
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/helpdesk/tree/17.0/helpdesk_mgmt_sale"><img alt="OCA/helpdesk" src="https://img.shields.io/badge/github-OCA%2Fhelpdesk-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/helpdesk-17-0/helpdesk-17-0-helpdesk_mgmt_sale"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/helpdesk&amp;target_branch=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>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.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
Expand All @@ -392,17 +392,20 @@ <h1><a class="toc-backref" href="#toc-entry-1">Usage</a></h1>
<p>To associate orders to Helpdesk tickets:</p>
<ol class="arabic simple">
<li>Create or modify a Helpdesk ticket.</li>
<li>In the ticket view, you will find a <strong>Sales Order</strong> Smartbutton which will show the number of orders associated to the ticket.</li>
<li>Clicking on the Smartbutton will open a view with all the sales orders related to the current ticket.</li>
<li>To create an order associated to the ticket click on the <strong>Create</strong> button.</li>
<li>In the ticket view, you will find a <strong>Sales Order</strong> Smartbutton which
will show the number of orders associated to the ticket.</li>
<li>Clicking on the Smartbutton will open a view with all the sales
orders related to the current ticket.</li>
<li>To create an order associated to the ticket click on the <strong>Create</strong>
button.</li>
</ol>
</div>
<div class="section" id="bug-tracker">
<h1><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/helpdesk/issues">GitHub Issues</a>.
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
<a class="reference external" href="https://github.com/OCA/helpdesk/issues/new?body=module:%20helpdesk_mgmt_sale%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<a class="reference external" href="https://github.com/OCA/helpdesk/issues/new?body=module:%20helpdesk_mgmt_sale%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
Expand Down Expand Up @@ -431,7 +434,7 @@ <h2><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h2>
<p>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.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/helpdesk/tree/15.0/helpdesk_mgmt_sale">OCA/helpdesk</a> project on GitHub.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/helpdesk/tree/17.0/helpdesk_mgmt_sale">OCA/helpdesk</a> project on GitHub.</p>
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
</div>
</div>
Expand Down

0 comments on commit 91383b1

Please sign in to comment.