Skip to content

Commit

Permalink
[IMP] website_sale_order_type: pre-commit auto fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
david-s73 committed Sep 17, 2024
1 parent 9800442 commit d2446e7
Show file tree
Hide file tree
Showing 9 changed files with 73 additions and 48 deletions.
49 changes: 28 additions & 21 deletions website_sale_order_type/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,28 @@ Website sale order type
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fe--commerce-lightgray.png?logo=github
:target: https://github.com/OCA/e-commerce/tree/16.0/website_sale_order_type
:target: https://github.com/OCA/e-commerce/tree/17.0/website_sale_order_type
:alt: OCA/e-commerce
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/e-commerce-16-0/e-commerce-16-0-website_sale_order_type
:target: https://translation.odoo-community.org/projects/e-commerce-17-0/e-commerce-17-0-website_sale_order_type
: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/e-commerce&target_branch=16.0
:target: https://runboat.odoo-community.org/builds?repo=OCA/e-commerce&target_branch=17.0
:alt: Try me on Runboat

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

This module allows `sale_order_type <https://github.com/OCA/sale-workflow/tree/14.0/sale_order_type>`__ to work with website_sale.
This module allows
`sale_order_type <https://github.com/OCA/sale-workflow/tree/14.0/sale_order_type>`__
to work with website_sale.

This module is useful for users having a sale order type defined in their Partner form:
when these users buy a product in the e-commerce, the sale order generated will have the same sale order type that is defined in their Partner form.
This module is useful for users having a sale order type defined in
their Partner form: when these users buy a product in the e-commerce,
the sale order generated will have the same sale order type that is
defined in their Partner form.

Note that the sale order type is defined contact by contact and not at Company level.
Note that the sale order type is defined contact by contact and not at
Company level.

**Table of contents**

Expand All @@ -43,42 +48,44 @@ Note that the sale order type is defined contact by contact and not at Company l
Usage
=====

#. In the backend (Sales -> Customers) set a sale order type in any contact;
#. Log in with the associated user in the e-commerce website and buy a product;
#. Check that the created sale oder has the same sale order type that has been set in the contact.
1. In the backend (Sales -> Customers) set a sale order type in any
contact;
2. Log in with the associated user in the e-commerce website and buy a
product;
3. Check that the created sale oder has the same sale order type that
has been set in the contact.

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

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

* Agile Business Group

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

* Simone Rubino <[email protected]>
- Simone Rubino <[email protected]>

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

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

* João Marques
* Pilar Vargas
* Stefan Ungureanu
- João Marques
- Pilar Vargas
- Stefan Ungureanu

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

This module is maintained by the OCA.

Expand All @@ -98,6 +105,6 @@ Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-pilarvargas-tecnativa|

This module is part of the `OCA/e-commerce <https://github.com/OCA/e-commerce/tree/16.0/website_sale_order_type>`_ project on GitHub.
This module is part of the `OCA/e-commerce <https://github.com/OCA/e-commerce/tree/17.0/website_sale_order_type>`_ 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 website_sale_order_type/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 website_sale_order_type/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
- Simone Rubino \<<[email protected]>\>

- [Tecnativa](https://www.tecnativa.com):

> - João Marques
> - Pilar Vargas
> - Stefan Ungureanu
8 changes: 0 additions & 8 deletions website_sale_order_type/readme/CONTRIBUTORS.rst

This file was deleted.

11 changes: 11 additions & 0 deletions website_sale_order_type/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
This module allows
[sale_order_type](https://github.com/OCA/sale-workflow/tree/14.0/sale_order_type)
to work with website_sale.

This module is useful for users having a sale order type defined in
their Partner form: when these users buy a product in the e-commerce,
the sale order generated will have the same sale order type that is
defined in their Partner form.

Note that the sale order type is defined contact by contact and not at
Company level.
6 changes: 0 additions & 6 deletions website_sale_order_type/readme/DESCRIPTION.rst

This file was deleted.

6 changes: 6 additions & 0 deletions website_sale_order_type/readme/USAGE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
1. In the backend (Sales -\> Customers) set a sale order type in any
contact;
2. Log in with the associated user in the e-commerce website and buy a
product;
3. Check that the created sale oder has the same sale order type that
has been set in the contact.
3 changes: 0 additions & 3 deletions website_sale_order_type/readme/USAGE.rst

This file was deleted.

28 changes: 18 additions & 10 deletions website_sale_order_type/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -368,11 +368,16 @@ <h1 class="title">Website sale order type</h1>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:bf716c0a1ed188504ef08edc461d9eeacc64ef6f1f0bf80305cf463a7db2128a
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<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/e-commerce/tree/16.0/website_sale_order_type"><img alt="OCA/e-commerce" src="https://img.shields.io/badge/github-OCA%2Fe--commerce-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/e-commerce-16-0/e-commerce-16-0-website_sale_order_type"><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/e-commerce&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>This module allows <a class="reference external" href="https://github.com/OCA/sale-workflow/tree/14.0/sale_order_type">sale_order_type</a> to work with website_sale.</p>
<p>This module is useful for users having a sale order type defined in their Partner form:
when these users buy a product in the e-commerce, the sale order generated will have the same sale order type that is defined in their Partner form.</p>
<p>Note that the sale order type is defined contact by contact and not at Company level.</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/e-commerce/tree/17.0/website_sale_order_type"><img alt="OCA/e-commerce" src="https://img.shields.io/badge/github-OCA%2Fe--commerce-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/e-commerce-17-0/e-commerce-17-0-website_sale_order_type"><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/e-commerce&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 allows
<a class="reference external" href="https://github.com/OCA/sale-workflow/tree/14.0/sale_order_type">sale_order_type</a>
to work with website_sale.</p>
<p>This module is useful for users having a sale order type defined in
their Partner form: when these users buy a product in the e-commerce,
the sale order generated will have the same sale order type that is
defined in their Partner form.</p>
<p>Note that the sale order type is defined contact by contact and not at
Company level.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
Expand All @@ -389,17 +394,20 @@ <h1 class="title">Website sale order type</h1>
<div class="section" id="usage">
<h1><a class="toc-backref" href="#toc-entry-1">Usage</a></h1>
<ol class="arabic simple">
<li>In the backend (Sales -&gt; Customers) set a sale order type in any contact;</li>
<li>Log in with the associated user in the e-commerce website and buy a product;</li>
<li>Check that the created sale oder has the same sale order type that has been set in the contact.</li>
<li>In the backend (Sales -&gt; Customers) set a sale order type in any
contact;</li>
<li>Log in with the associated user in the e-commerce website and buy a
product;</li>
<li>Check that the created sale oder has the same sale order type that
has been set in the contact.</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/e-commerce/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/e-commerce/issues/new?body=module:%20website_sale_order_type%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/e-commerce/issues/new?body=module:%20website_sale_order_type%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 @@ -435,7 +443,7 @@ <h2><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h2>
promote its widespread use.</p>
<p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainer</a>:</p>
<p><a class="reference external image-reference" href="https://github.com/pilarvargas-tecnativa"><img alt="pilarvargas-tecnativa" src="https://github.com/pilarvargas-tecnativa.png?size=40px" /></a></p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/e-commerce/tree/16.0/website_sale_order_type">OCA/e-commerce</a> project on GitHub.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/e-commerce/tree/17.0/website_sale_order_type">OCA/e-commerce</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 d2446e7

Please sign in to comment.