Skip to content

Commit

Permalink
[IMP] sale_cancel_reason: pre-commit auto fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
maciej-wichowski committed Apr 9, 2024
1 parent a816be1 commit e3a3e53
Show file tree
Hide file tree
Showing 9 changed files with 48 additions and 43 deletions.
43 changes: 22 additions & 21 deletions sale_cancel_reason/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@ Sale Cancel Reason
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsale--workflow-lightgray.png?logo=github
:target: https://github.com/OCA/sale-workflow/tree/16.0/sale_cancel_reason
:target: https://github.com/OCA/sale-workflow/tree/17.0/sale_cancel_reason
:alt: OCA/sale-workflow
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_cancel_reason
:target: https://translation.odoo-community.org/projects/sale-workflow-17-0/sale-workflow-17-0-sale_cancel_reason
: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/sale-workflow&target_branch=16.0
:target: https://runboat.odoo-community.org/builds?repo=OCA/sale-workflow&target_branch=17.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

When a sale order is canceled, a reason must be given,
it is chosen from a configured list.
When a sale order is canceled, a reason must be given, it is chosen from
a configured list.

**Table of contents**

Expand All @@ -41,42 +41,43 @@ Usage

To use this module, you need to:

* Click at "Cancel Order" button from a sales order which state equal
to Draft, Quotation or Sales Order
* A wizard will show a list of cancel reasons
* Choose a reason and confirm cancellation, the reason will be stamped in the sales order
- Click at "Cancel Order" button from a sales order which state equal
to Draft, Quotation or Sales Order
- A wizard will show a list of cancel reasons
- Choose a reason and confirm cancellation, the reason will be stamped
in the sales order

Bug Tracker
===========

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

* Camptocamp

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

* Guewen Baconnier, Camptocamp SA
* Kitti U. <[email protected]>
* Victor M.M Torres <[email protected]>
* Bhavesh Odedra <[email protected]>
* Alan Ramos <[email protected]>
* Aritz Olea <[email protected]>, Landoo SL
* Hugo Córdoba <[email protected]>
- Guewen Baconnier, Camptocamp SA
- Kitti U. <[email protected]>
- Victor M.M Torres <[email protected]>
- Bhavesh Odedra <[email protected]>
- Alan Ramos <[email protected]>
- Aritz Olea <[email protected]>, Landoo SL
- Hugo Córdoba <[email protected]>

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

This module is maintained by the OCA.

Expand All @@ -88,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/sale-workflow <https://github.com/OCA/sale-workflow/tree/16.0/sale_cancel_reason>`_ project on GitHub.
This module is part of the `OCA/sale-workflow <https://github.com/OCA/sale-workflow/tree/17.0/sale_cancel_reason>`_ 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 sale_cancel_reason/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
7 changes: 7 additions & 0 deletions sale_cancel_reason/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
- Guewen Baconnier, Camptocamp SA
- Kitti U. \<<[email protected]>\>
- Victor M.M Torres \<<[email protected]>\>
- Bhavesh Odedra \<<[email protected]>\>
- Alan Ramos \<<[email protected]>\>
- Aritz Olea \<<[email protected]>\>, Landoo SL
- Hugo Córdoba \<<[email protected]>\>
7 changes: 0 additions & 7 deletions sale_cancel_reason/readme/CONTRIBUTORS.rst

This file was deleted.

2 changes: 2 additions & 0 deletions sale_cancel_reason/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
When a sale order is canceled, a reason must be given, it is chosen from
a configured list.
2 changes: 0 additions & 2 deletions sale_cancel_reason/readme/DESCRIPTION.rst

This file was deleted.

7 changes: 7 additions & 0 deletions sale_cancel_reason/readme/USAGE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
To use this module, you need to:

- Click at "Cancel Order" button from a sales order which state equal to
Draft, Quotation or Sales Order
- A wizard will show a list of cancel reasons
- Choose a reason and confirm cancellation, the reason will be stamped
in the sales order
6 changes: 0 additions & 6 deletions sale_cancel_reason/readme/USAGE.rst

This file was deleted.

14 changes: 7 additions & 7 deletions sale_cancel_reason/static/description/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
Expand Down Expand Up @@ -369,9 +368,9 @@ <h1 class="title">Sale Cancel Reason</h1>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:354c878d0d76a11dbb7ad6028731a633c6e9229bd2bac18697c78159f413fb39
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<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/sale-workflow/tree/16.0/sale_cancel_reason"><img alt="OCA/sale-workflow" src="https://img.shields.io/badge/github-OCA%2Fsale--workflow-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_cancel_reason"><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/sale-workflow&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>When a sale order is canceled, a reason must be given,
it is chosen from a configured list.</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/sale-workflow/tree/17.0/sale_cancel_reason"><img alt="OCA/sale-workflow" src="https://img.shields.io/badge/github-OCA%2Fsale--workflow-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/sale-workflow-17-0/sale-workflow-17-0-sale_cancel_reason"><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/sale-workflow&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>When a sale order is canceled, a reason must be given, it is chosen from
a configured list.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
Expand All @@ -392,15 +391,16 @@ <h1><a class="toc-backref" href="#toc-entry-1">Usage</a></h1>
<li>Click at “Cancel Order” button from a sales order which state equal
to Draft, Quotation or Sales Order</li>
<li>A wizard will show a list of cancel reasons</li>
<li>Choose a reason and confirm cancellation, the reason will be stamped in the sales order</li>
<li>Choose a reason and confirm cancellation, the reason will be stamped
in the sales order</li>
</ul>
</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/sale-workflow/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/sale-workflow/issues/new?body=module:%20sale_cancel_reason%0Aversion:%2016.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/sale-workflow/issues/new?body=module:%20sale_cancel_reason%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 @@ -430,7 +430,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/sale-workflow/tree/16.0/sale_cancel_reason">OCA/sale-workflow</a> project on GitHub.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/sale-workflow/tree/17.0/sale_cancel_reason">OCA/sale-workflow</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 e3a3e53

Please sign in to comment.